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>
+
+ * configure.ac:
make GST_ERROR_CFLAGS overridable and re-enable Werror
* docs/faq/cvs.xml:
add a note about error CFLAGS
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
<para>
If for any reason you want to bypass these flags and you are certain it's the
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.
</para>
</answer>