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
This commit is contained in:
Thomas Vander Stichele 2005-07-08 14:35:57 +00:00
parent f627c78fa6
commit 6ea7234947
4 changed files with 10 additions and 13 deletions

View file

@ -1,3 +1,10 @@
2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
* configure.ac:
use GST_SET_ERROR_CFLAGS
* docs/faq/cvs.xml:
change to ERROR_CFLAGS
2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org> 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
* configure.ac: * configure.ac:

2
common

@ -1 +1 @@
Subproject commit 221ac8abacb46858382a9f8c924152ae588f4a2e Subproject commit ac7272b7af934c2294a44ac1c0f3fac3f8d17ec6

View file

@ -56,17 +56,7 @@ AS_AC_EXPAND(LIBDIR, $libdir)
AC_DEFINE_UNQUOTED([LIBDIR], "$LIBDIR", AC_DEFINE_UNQUOTED([LIBDIR], "$LIBDIR",
[library dir]) [library dir])
dnl decide on error flags GST_SET_ERROR_CFLAGS($GST_CVS)
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)
dnl We disable static building for development, for time savings dnl We disable static building for development, for time savings
dnl *NOTE*: dnl this line before release, so release does static too dnl *NOTE*: dnl this line before release, so release does static too

View file

@ -125,7 +125,7 @@ CVS and prereleases so that people actually notice and fix problems found by
<para> <para>
If for any reason you want to bypass these flags and you are certain it's the If for any reason you want to bypass these flags and you are certain it's the
right thing to do, you can run right thing to do, you can run
<programlisting>make GST_ERROR_CFLAGS="</programlisting> <programlisting>make ERROR_CFLAGS="</programlisting>
to clear the CFLAGS for error checking. to clear the CFLAGS for error checking.
</para> </para>
</answer> </answer>