diff options
author | Andrew Bartlett <abartlet@samba.org> | 2002-11-13 01:22:25 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2002-11-13 01:22:25 +0000 |
commit | db7377977c6a9dddc49ee4ef02c9e12e85632ff3 (patch) | |
tree | c704bb36aa6f7d4d5b999e4f6e67a7adabff1f02 /source3 | |
parent | 250c9801197ea1c949bd94c1c891f81ab118b130 (diff) | |
download | samba-db7377977c6a9dddc49ee4ef02c9e12e85632ff3.tar.gz samba-db7377977c6a9dddc49ee4ef02c9e12e85632ff3.tar.bz2 samba-db7377977c6a9dddc49ee4ef02c9e12e85632ff3.zip |
- Add some more warning flags for --enable-developer.
- patch from SUSE for hiemdal headers in /usr/include/heimdal
(This used to be commit 1dbc9eff149ca976ff5edb5c256fa2fe6b409617)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/configure.in | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/source3/configure.in b/source3/configure.in index 47856eaec3..3f36cb87f1 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -161,12 +161,12 @@ 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 - CFLAGS="${CFLAGS} -g -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -DDEBUG_PASSWORD -DDEVELOPER" + CFLAGS="${CFLAGS} -g -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wfloat-equal -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations -Wmissing-format-attribute -Wdisabled-optimization -DDEBUG_PASSWORD -DDEVELOPER" fi]) AC_ARG_ENABLE(krb5developer, [ --enable-krb5developer Turn on developer warnings and debugging, except -Wstrict-prototypes (default=no)], [if eval "test x$enable_krb5developer = xyes"; then - CFLAGS="${CFLAGS} -g -Wall -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -DDEBUG_PASSWORD -DDEVELOPER" + CFLAGS="${CFLAGS} -g -Wall -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wfloat-equal -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations -Wmissing-format-attribute -Wdisabled-optimization -DDEBUG_PASSWORD -DDEVELOPER" fi]) AC_ARG_ENABLE(dmalloc, [ --enable-dmalloc Enable heap debugging [default=no]]) @@ -1989,6 +1989,20 @@ if test x"$with_ads_support" = x"yes"; then if test x$FOUND_KRB5 = x"no"; then ################################################# +# see if this box has the SuSE location for the heimdal kerberos implementation +AC_MSG_CHECKING(for /usr/include/heimdal) +if test -d /usr/include/heimdal; then + CFLAGS="$CFLAGS -I/usr/heimdal/include" + CPPFLAGS="$CPPFLAGS -I/usr/heimdal/include" + AC_MSG_RESULT(yes) +else + AC_MSG_RESULT(no) +fi +fi + + +if test x$FOUND_KRB5 = x"no"; then +################################################# # see if this box has the RedHat location for kerberos AC_MSG_CHECKING(for /usr/kerberos) if test -d /usr/kerberos; then |