Commit 8e58009d authored by David Schleef's avatar David Schleef

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.
parent fd469437
......@@ -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 ############################################
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment