From: Tim-Philipp Müller Date: Sun, 22 Jun 2014 21:04:31 +0000 (+0100) Subject: configure: use $ERROR_CFLAGS instead of hard-coding -Werror X-Git-Tag: 1.3.90~51 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5f00de460133945113dbba476274a1077ef72f13;p=platform%2Fupstream%2Fgst-plugins-bad.git configure: use $ERROR_CFLAGS instead of hard-coding -Werror https://bugzilla.gnome.org//show_bug.cgi?id=731692 --- diff --git a/configure.ac b/configure.ac index 214f39f..b726bd9 100644 --- a/configure.ac +++ b/configure.ac @@ -852,7 +852,7 @@ if test "x$HAVE_GL" = "xyes" -a "x$HAVE_GLES2" = "xyes"; then " AC_MSG_CHECKING([whether it is possible to include both GL and GLES2 headers]) save_CPPFLAGS="$CPPFLAGS" - CPPFLAGS="$CPPFLAGS -Werror" + CPPFLAGS="$CPPFLAGS $ERROR_CFLAGS" AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[$GL_INCLUDES]], [[ #if !defined(GL_FALSE) #error Failed to include GL headers