summaryrefslogtreecommitdiffstats
path: root/source3/configure.in
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-05-20 08:39:45 +0200
committerVolker Lendecke <vl@samba.org>2009-05-20 08:41:57 +0200
commit8811aa1376b44e1d43c4e428ed0c8d3d405c88fa (patch)
tree2f804f82e0c156f6b6f536242315f1d3848d134c /source3/configure.in
parentac65ae9b1d0bba2420847dae48f5b07ed072b030 (diff)
downloadsamba-8811aa1376b44e1d43c4e428ed0c8d3d405c88fa.tar.gz
samba-8811aa1376b44e1d43c4e428ed0c8d3d405c88fa.tar.xz
samba-8811aa1376b44e1d43c4e428ed0c8d3d405c88fa.zip
Only build the krb5 locator when building shared libs
Diffstat (limited to 'source3/configure.in')
-rw-r--r--source3/configure.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 0393a75b501..e505253a522 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -3327,7 +3327,9 @@ if test x"$with_ads_support" != x"no"; then
AC_CHECK_HEADERS(krb5/locate_plugin.h)
if test x"$ac_cv_header_krb5_locate_plugin_h" = x"yes"; then
WINBIND_KRB5_LOCATOR="bin/winbind_krb5_locator.$SHLIBEXT"
- EXTRA_ALL_TARGETS="$EXTRA_ALL_TARGETS $WINBIND_KRB5_LOCATOR"
+ if test x"$BLDSHARED" = x"true" ; then
+ EXTRA_ALL_TARGETS="$EXTRA_ALL_TARGETS $WINBIND_KRB5_LOCATOR"
+ fi
fi
fi