summaryrefslogtreecommitdiff
path: root/source4/libads/config.m4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-08-25 10:21:14 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:58:23 -0500
commit367fe84c8f4cf097b9dccfdfdcdbbbb99686b086 (patch)
treedeee73d200efae92892776326c587b4bc585f752 /source4/libads/config.m4
parent1795dfd4549767bb5920eee0d5af2588d4a8b8ec (diff)
downloadsamba-367fe84c8f4cf097b9dccfdfdcdbbbb99686b086.tar.gz
samba-367fe84c8f4cf097b9dccfdfdcdbbbb99686b086.tar.bz2
samba-367fe84c8f4cf097b9dccfdfdcdbbbb99686b086.zip
r2062: Fix a couple more of the printf warnings (real bugs).
You should never pass a non-constant string as a format for a printf() function - it could contain printf macros, and these need to be checked. Andrew Bartlett (This used to be commit 183622c9f4dfe858564bbcb8c1a930d69b37f7fa)
Diffstat (limited to 'source4/libads/config.m4')
-rw-r--r--source4/libads/config.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/libads/config.m4 b/source4/libads/config.m4
index 8c0cc5c121..c48b185728 100644
--- a/source4/libads/config.m4
+++ b/source4/libads/config.m4
@@ -201,6 +201,9 @@ if test x"$with_ads_support" != x"no"; then
ac_save_CPPFLAGS=$CPPFLAGS
ac_save_LDFLAGS=$LDFLAGS
+#MIT needs this, to let us see 'internal' parts of the headers we use
+ KRB5_CFLAGS="${KRB5_CFLAGS} -DKRB5_PRIVATE -DKRB5_DEPRECATED"
+
CFLAGS="$CFLAGS $KRB5_CFLAGS"
CPPFLAGS="$CPPFLAGS $KRB5_CPPFLAGS"
LDFLAGS="$LDFLAGS $KRB5_LDFLAGS"