diff options
author | David Schleef <ds@schleef.org> | 2003-09-04 22:59:44 +0000 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2003-09-04 22:59:44 +0000 |
commit | 0b82063bed4109e4552a8456b896ffcf81144f13 (patch) | |
tree | 8df17a743389762f4210b3dd35495a5e0eca2d65 /configure.ac | |
parent | 2960ad0444e53ab56a1ff0a6ce94c88a9ec3516b (diff) | |
download | gst-plugins-bad-0b82063bed4109e4552a8456b896ffcf81144f13.tar.gz gst-plugins-bad-0b82063bed4109e4552a8456b896ffcf81144f13.tar.bz2 gst-plugins-bad-0b82063bed4109e4552a8456b896ffcf81144f13.zip |
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.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 81962722..42396ec0 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 ############################################ |