From: Thomas Vander Stichele Date: Fri, 8 Jul 2005 14:35:57 +0000 (+0000) Subject: configure.ac: use GST_SET_ERROR_CFLAGS X-Git-Tag: RELEASE-0_9_2~273 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6ea7234947313ad261e67a768f1fcab149a9ea12;p=platform%2Fupstream%2Fgstreamer.git configure.ac: use GST_SET_ERROR_CFLAGS Original commit message from CVS: * configure.ac: use GST_SET_ERROR_CFLAGS * docs/faq/cvs.xml: change to ERROR_CFLAGS --- diff --git a/ChangeLog b/ChangeLog index 95fbfe2..28d50e5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,13 @@ 2005-07-08 Thomas Vander Stichele * configure.ac: + use GST_SET_ERROR_CFLAGS + * docs/faq/cvs.xml: + change to ERROR_CFLAGS + +2005-07-08 Thomas Vander Stichele + + * configure.ac: make GST_ERROR_CFLAGS overridable and re-enable Werror * docs/faq/cvs.xml: add a note about error CFLAGS diff --git a/common b/common index 221ac8a..ac7272b 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit 221ac8abacb46858382a9f8c924152ae588f4a2e +Subproject commit ac7272b7af934c2294a44ac1c0f3fac3f8d17ec6 diff --git a/configure.ac b/configure.ac index 224613b..58496db 100644 --- a/configure.ac +++ b/configure.ac @@ -56,17 +56,7 @@ AS_AC_EXPAND(LIBDIR, $libdir) AC_DEFINE_UNQUOTED([LIBDIR], "$LIBDIR", [library dir]) -dnl decide on error flags -dnl if we support -Wall, set it unconditionally -AS_COMPILER_FLAG(-Wall, - GST_ERROR_CFLAGS="-Wall", - GST_ERROR_CFLAGS="") -dnl if we're in nano >= 1, add -Werror if supported -if test "x$GST_CVS" = "xyes" -then - AS_COMPILER_FLAG(-Werror, GST_ERROR_CFLAGS="$GST_ERROR_CFLAGS -Werror") -fi -AC_SUBST(GST_ERROR_CFLAGS) +GST_SET_ERROR_CFLAGS($GST_CVS) dnl We disable static building for development, for time savings dnl *NOTE*: dnl this line before release, so release does static too diff --git a/docs/faq/cvs.xml b/docs/faq/cvs.xml index a424e3b..738675e 100644 --- a/docs/faq/cvs.xml +++ b/docs/faq/cvs.xml @@ -125,7 +125,7 @@ CVS and prereleases so that people actually notice and fix problems found by If for any reason you want to bypass these flags and you are certain it's the right thing to do, you can run -make GST_ERROR_CFLAGS=" +make ERROR_CFLAGS=" to clear the CFLAGS for error checking.