summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2003-04-12 17:12:12 +0000
committerJelmer Vernooij <jelmer@samba.org>2003-04-12 17:12:12 +0000
commite8ef094df381f491f869c175f1e63704c06487be (patch)
treee836068f8e7e1204b4d65f44c51538efd2c1ec5d
parent7b338a49e3402d9176dbfce7c8fb22e0ceb2e21c (diff)
downloadsamba-e8ef094df381f491f869c175f1e63704c06487be.tar.gz
samba-e8ef094df381f491f869c175f1e63704c06487be.tar.bz2
samba-e8ef094df381f491f869c175f1e63704c06487be.zip
Patch from Armijn Hemel <armijn@nl.linux.org> to fix build on
FreeBSD 5 systems with a broken krb5-config (This used to be commit 741d5c3cd8870b3d06ba0225e5b24a82403eb142)
-rw-r--r--source3/configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/configure.in b/source3/configure.in
index ce53358d09..d1ca1e494b 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -2086,8 +2086,8 @@ LIBS=""
AC_MSG_CHECKING(for working krb5-config)
if test -x "$KRB5_CONFIG"; then
LIBS="$LIBS `$KRB5_CONFIG --libs`"
- CFLAGS="$CFLAGS `$KRB5_CONFIG --cflags`"
- CPPFLAGS="$CPPFLAGS `$KRB5_CONFIG --cflags`"
+ CFLAGS="$CFLAGS `$KRB5_CONFIG --cflags | sed s/@INCLUDE_des@//`"
+ CPPFLAGS="$CPPFLAGS `$KRB5_CONFIG --cflags | sed s/@INCLUDE_des@//`"
FOUND_KRB5=yes
AC_MSG_RESULT(yes)
else