summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-03-02 00:33:40 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:55:50 -0500
commit8193036e6104771fa9e7fa050001b3daed29d2f2 (patch)
tree1887397c36fa828bed6fcf29c27ff08c9699b4c1
parenta5e671e867bcf6bd61d68bcf8a1732cf02647843 (diff)
downloadsamba-8193036e6104771fa9e7fa050001b3daed29d2f2.tar.gz
samba-8193036e6104771fa9e7fa050001b3daed29d2f2.tar.bz2
samba-8193036e6104771fa9e7fa050001b3daed29d2f2.zip
r5612: Add -Wdeclaration-after-statement to CFLAGS for --enable-developer.
(This used to be commit f952da9efbd11d2c84d9fe4993f70e4ceda7d9ae)
-rw-r--r--source3/configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 40aa263c7a..54499292c5 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -238,7 +238,7 @@ AC_ARG_ENABLE(debug,
AC_ARG_ENABLE(developer, [ --enable-developer Turn on developer warnings and debugging (default=no)],
[if eval "test x$enable_developer = xyes"; then
developer=yes
- CFLAGS="${CFLAGS} -gstabs -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -DDEBUG_PASSWORD -DDEVELOPER"
+ CFLAGS="${CFLAGS} -gstabs -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wdeclaration-after-statement -DDEBUG_PASSWORD -DDEVELOPER"
fi])
AC_ARG_ENABLE(krb5developer, [ --enable-krb5developer Turn on developer warnings and debugging, except -Wstrict-prototypes (default=no)],