added -Werror to compile flags.
authorBenjamin Otte <otte@gnome.org>
Thu, 4 Apr 2002 19:36:57 +0000 (19:36 +0000)
committerBenjamin Otte <otte@gnome.org>
Thu, 4 Apr 2002 19:36:57 +0000 (19:36 +0000)
Original commit message from CVS:
added -Werror to compile flags.
drawback: glib >= 2.0.1 is needed to compile without warnings

configure.ac

index 16f36d0..6df133a 100644 (file)
@@ -93,7 +93,8 @@ dnl ====================================
 
 dnl === GLib 2 ===
 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)
 
 dnl Check for glib2
@@ -339,7 +340,7 @@ GST_LIBS="$GST_EXT_LIBS $XML_LIBS $GLIB_LIBS -lpopt"
 
 dnl Private vars for libgst only
 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_CFLAGS)