summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-02-13 13:02:23 +0100
committerMichael Adam <obnox@samba.org>2009-02-17 18:21:52 +0100
commit08bef5bba042843cbfc41f1ed701243140dcf298 (patch)
treebfbeea79b6e9209042e261e7837c79531b40c0db /source3
parent64cec9984346ce1c8aeb170cd55be6e7e6784919 (diff)
downloadsamba-08bef5bba042843cbfc41f1ed701243140dcf298.tar.gz
samba-08bef5bba042843cbfc41f1ed701243140dcf298.tar.bz2
samba-08bef5bba042843cbfc41f1ed701243140dcf298.zip
s3:build: improve the check for a working krb5-config.
Not only check if it exists and is executable, but also check whether it accepts the command line "krb5-config --libs gssapi". Chris Hoogendyk <hoogendyk@bio.umass.edu> has reported configure failing on a Solaris machine due to krb5-config raising errors on these options. Michael
Diffstat (limited to 'source3')
-rw-r--r--source3/configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 4a8d594dfa..691d0a80bc 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -3185,7 +3185,7 @@ if test x"$with_ads_support" != x"no"; then
# check for krb5-config from recent MIT and Heimdal kerberos 5
AC_PATH_PROG(KRB5CONFIG, krb5-config)
AC_MSG_CHECKING(for working krb5-config)
- if test -x "$KRB5CONFIG"; then
+ if test -x "$KRB5CONFIG" && $KRB5CONFIG --libs gssapi > /dev/null ; then
ac_save_CFLAGS=$CFLAGS
CFLAGS="";export CFLAGS
ac_save_LDFLAGS=$LDFLAGS