added -Werror to compile flags.

Original commit message from CVS:
added -Werror to compile flags.
drawback: glib >= 2.0.1 is needed to compile without warnings
This commit is contained in:
Benjamin Otte 2002-04-04 19:36:57 +00:00
parent 8ae7350492
commit 302452bd46

View file

@ -93,7 +93,8 @@ dnl ====================================
dnl === GLib 2 === dnl === GLib 2 ===
dnl Minimum required version of GLib2 dnl Minimum required version of GLib2
GLIB2_REQ="1.3.12" dnl required for compilation without warnings
GLIB2_REQ="2.0.1"
AC_SUBST(GLIB2_REQ) AC_SUBST(GLIB2_REQ)
dnl Check for glib2 dnl Check for glib2
@ -339,7 +340,7 @@ GST_LIBS="$GST_EXT_LIBS $XML_LIBS $GLIB_LIBS -lpopt"
dnl Private vars for libgst only dnl Private vars for libgst only
LIBGST_LIBS="$GST_LIBS" LIBGST_LIBS="$GST_LIBS"
LIBGST_CFLAGS="$GST_CFLAGS -I\$(top_srcdir) -Wall" LIBGST_CFLAGS="$GST_CFLAGS -I\$(top_srcdir) -Wall -Werror"
AC_SUBST(LIBGST_LIBS) AC_SUBST(LIBGST_LIBS)
AC_SUBST(LIBGST_CFLAGS) AC_SUBST(LIBGST_CFLAGS)