Commit 797fbb01 authored by ivo's avatar ivo

Erik de Castro Lopo's patch to add -Wdeclaration-after-statement. Closes ticket #1232

svn path=/trunk/vorbis/; revision=14169
parent 3def62c3
......@@ -2,7 +2,7 @@
AUTOMAKE_OPTIONS = 1.6 foreign dist-zip dist-bzip2
SUBDIRS = include vq lib examples doc
SUBDIRS = m4 include vq lib examples doc
m4datadir = $(datadir)/aclocal
m4data_DATA = vorbis.m4
......
......@@ -4,6 +4,8 @@
package="vorbis"
ACLOCAL_FLAGS="-I m4"
olddir=`pwd`
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
......
......@@ -14,6 +14,9 @@ AM_CONFIG_HEADER([config.h])
AM_INIT_AUTOMAKE(libvorbis,1.2.1svn)
AM_MAINTAINER_MODE
dnl Add parameters for aclocal
AC_SUBST(ACLOCAL_AMFLAGS, "-I m4")
dnl Library versioning
V_LIB_CURRENT=4
......@@ -171,6 +174,8 @@ else
CFLAGS="-O20 -Wall -Wextra -D__NO_MATH_INLINES -fsigned-char"
PROFILE="-O20 -g -pg -D__NO_MATH_INLINES -fsigned-char" ;;
esac
AC_ADD_CFLAGS([-Wdeclaration-after-statement])
fi
CFLAGS="$CFLAGS $cflags_save"
......@@ -229,6 +234,7 @@ AC_SUBST(pthread_lib)
AC_OUTPUT([
Makefile
m4/Makefile
lib/Makefile
lib/modes/Makefile
lib/books/Makefile
......
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