From 302452bd460fc9a364ea4b92ad87afd3f37ee635 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Thu, 4 Apr 2002 19:36:57 +0000 Subject: [PATCH] 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 --- configure.ac | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 16f36d0..6df133a 100644 --- a/configure.ac +++ b/configure.ac @@ -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) -- 2.7.4