diff options
author | Benjamin Otte <otte@gnome.org> | 2008-09-08 12:43:23 +0200 |
---|---|---|
committer | Benjamin Otte <otte@gnome.org> | 2008-09-08 12:43:23 +0200 |
commit | 3c0825b7daab88f0b9c44e3b9773a1464694dd5a (patch) | |
tree | 66ad41b9f1bca2fb4f74d980a2cc514f6fa29565 | |
parent | 66fa8293b527079c00d486f23e696ac2b1777d59 (diff) |
apply same chirurgy here as to swfdec's configure.ac
-rw-r--r-- | configure.ac | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/configure.ac b/configure.ac index 3227a6d..9d1e123 100644 --- a/configure.ac +++ b/configure.ac @@ -1,12 +1,7 @@ AC_PREREQ([2.58]) AC_INIT(swfdec-mozilla,0.7.5) -[is_dev=$(echo $PACKAGE_VERSION | sed 's/[0-9]\.[0-9][0-9]*\.[0-9]*[13579]/1/')] -if test x"$is_dev" = x1 ; then - SWFDEC_CVS="yes" -else - SWFDEC_CVS="no" -fi +[SWFDEC_DEVEL=$(echo $PACKAGE_VERSION | sed 's/[0-9]\.[0-9][0-9]*\.[0-9]*[13579]/yes/')] AM_INIT_AUTOMAKE(1.6) dnl AC_CANONICAL_TARGET([]) @@ -24,12 +19,10 @@ dnl I want this but stupid headers don't let me dnl AS_COMPILER_FLAG(-Wshadow, GLOBAL_CFLAGS="$GLOBAL_CFLAGS -Wshadow") AS_COMPILER_FLAG(-Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wold-style-definition -Wdeclaration-after-statement -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Winline -Wformat-nonliteral -Wformat-security -Wswitch-enum -Wswitch-default, GLOBAL_CFLAGS="$GLOBAL_CFLAGS -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wold-style-definition -Wdeclaration-after-statement -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Winline -Wformat-nonliteral -Wformat-security -Wswitch-enum -Wswitch-default") dnl if we're in nano >= 1, add -Werror if supported -if test x$SWFDEC_CVS = xyes ; then +if test x$SWFDEC_DEVEL = xyes ; then AS_COMPILER_FLAG(-Werror, GLOBAL_CFLAGS="$GLOBAL_CFLAGS -Werror") fi -SWFDEC_LIBVERSION="0:0:0" -AC_SUBST(SWFDEC_LIBVERSION) AM_PROG_LIBTOOL dnl Add parameters for aclocal |