diff options
author | Volker Lendecke <vl@samba.org> | 2010-05-23 00:16:52 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-05-23 00:33:45 +0200 |
commit | 7eff96cb43587f03a6735e99492be6d775c5d7ef (patch) | |
tree | 8185e0e5c94de81bbe3a730df1c03fc3890adbf3 /source3 | |
parent | 9d1a08032bdedf6606beea55167ded615a9c657f (diff) | |
download | samba-7eff96cb43587f03a6735e99492be6d775c5d7ef.tar.gz samba-7eff96cb43587f03a6735e99492be6d775c5d7ef.tar.bz2 samba-7eff96cb43587f03a6735e99492be6d775c5d7ef.zip |
s3: Factor out compiler-independent defines
Diffstat (limited to 'source3')
-rw-r--r-- | source3/configure.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/configure.in b/source3/configure.in index 04a1c05b5b..885b086dcb 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -124,11 +124,13 @@ m4_include(../lib/util/time.m4) m4_include(m4/swat.m4) +DEVELOPER_CFLAGS="-DDEBUG_PASSWORD -DDEVELOPER" + # Probe the gcc version for extra CFLAGS. We always stash these in # DEVELOPER_CFLAGS, so that you can turn them on and off with a simple # Makefile edit, avoiding the need to re-run configure. if test x"$ac_cv_prog_gcc" = x"yes" ; then - DEVELOPER_CFLAGS="-g -Wall -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -DDEBUG_PASSWORD -DDEVELOPER" + DEVELOPER_CFLAGS="${DEVELOPER_CFLAGS} -g -Wall -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings" # Add -Wdeclaration-after-statement if compiler supports it AC_CACHE_CHECK( [that the C compiler understands -Wdeclaration-after-statement], |