summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-08-31 13:51:02 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:30:26 -0500
commit1f0835c362b9318042541b7bf04a43ff7c50751d (patch)
treee000cafdae68fc412fb2245da348b21610d271eb
parentb20269287545926efff02b03642b1920d3afb3e4 (diff)
downloadsamba-1f0835c362b9318042541b7bf04a43ff7c50751d.tar.gz
samba-1f0835c362b9318042541b7bf04a43ff7c50751d.tar.bz2
samba-1f0835c362b9318042541b7bf04a43ff7c50751d.zip
r24838: Now for real: build the locator, if we can.
Guenther (This used to be commit 28f9b8d98dabd9ba8e812ca01bcf4fc192fb5e44)
-rw-r--r--source3/configure.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 6997106ffb..d978a804e6 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -3756,6 +3756,10 @@ if test x"$with_ads_support" != x"no"; then
LDFLAGS=$ac_save_LDFLAGS
fi
AC_CHECK_HEADERS(krb5/locate_plugin.h)
+ if test x"$ac_cv_header_krb5_locate_plugin_h" = x"yes"; then
+ SMB_KRB5_LOCATOR="bin/smb_krb5_locator.$SHLIBEXT"
+ EXTRA_ALL_TARGETS="$EXTRA_ALL_TARGETS $SMB_KRB5_LOCATOR"
+ fi
fi
# Now we have determined whether we really want ADS support
@@ -5987,8 +5991,6 @@ WINBIND_WINS_NSS="nsswitch/libnss_wins.$SHLIBEXT"
WINBIND_NSS_LDSHFLAGS=$LDSHFLAGS
NSSSONAMEVERSIONSUFFIX=""
-SMB_KRB5_LOCATOR="bin/smb_krb5_locator.$SHLIBEXT"
-
case "$host_os" in
linux*-gnu* | gnu* | k*bsd*-gnu)
NSSSONAMEVERSIONSUFFIX=".2"