From b672bdfaada52a070c5b326d0a59d8e8dceff1bd Mon Sep 17 00:00:00 2001 From: James Zern Date: Sat, 31 Mar 2018 00:24:53 -0700 Subject: [PATCH] configure: quiet glut deprecation warnings on OS X BUG=webp:187 Change-Id: Iad88b5fe417289f00dedcc32e7672fc0898e9ed1 --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index d898bc98..dff7d077 100644 --- a/configure.ac +++ b/configure.ac @@ -347,6 +347,8 @@ AS_IF([test "x$enable_gl" != "xno"], [ # override with --with-gl* glut_cflags="$glut_cflags|-framework GLUT -framework OpenGL" glut_ldflags="$glut_ldflags|-framework GLUT -framework OpenGL" + # quiet deprecation warnings for glut + TEST_AND_ADD_CFLAGS([AM_CFLAGS], [-Wno-deprecated-declarations]) ;; esac