summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2003-09-04 22:59:44 +0000
committerDavid Schleef <ds@schleef.org>2003-09-04 22:59:44 +0000
commit0b82063bed4109e4552a8456b896ffcf81144f13 (patch)
tree8df17a743389762f4210b3dd35495a5e0eca2d65
parent2960ad0444e53ab56a1ff0a6ce94c88a9ec3516b (diff)
downloadgstreamer-plugins-bad-0b82063bed4109e4552a8456b896ffcf81144f13.tar.gz
Use AS_COMPILER_FLAG() to check -Wall and -Werror (#121165). Bump version number.
Original commit message from CVS: Use AS_COMPILER_FLAG() to check -Wall and -Werror (#121165). Bump version number.
-rw-r--r--configure.ac7
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 819627225..42396ec03 100644
--- a/configure.ac
+++ b/configure.ac
@@ -12,7 +12,7 @@ AM_MAINTAINER_MODE
dnl when going to/from release please set the nano (fourth number) right !
dnl releases only do Wall, cvs and prerelease does Werror too
-AS_VERSION(gst-plugins, GST_PLUGINS_VERSION, 0, 6, 3, 0, GST_ERROR="-Wall", GST_ERROR="-Wall -Werror")
+AS_VERSION(gst-plugins, GST_PLUGINS_VERSION, 0, 6, 3, 1, GST_CVS="yes", GST_CVS="no")
AM_INIT_AUTOMAKE($PACKAGE,$VERSION)
dnl our libraries and install dirs use major.minor as a version
@@ -49,6 +49,11 @@ AC_ISC_POSIX
AC_HEADER_STDC([])
+AS_COMPILER_FLAG("-Wall", GST_ERROR="$GST_ERROR -Wall")
+if test "x$GST_CVS" = xyes ; then
+ AS_COMPILER_FLAG("-Werror", GST_ERROR="$GST_ERROR -Werror")
+fi
+
dnl ############################################
dnl # Super Duper options for plug-in building #
dnl ############################################