summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2003-02-03 18:20:54 +0000
committerJim McDonough <jmcd@samba.org>2003-02-03 18:20:54 +0000
commitcd1a26b87e22831c0ec1a2b9c2cbc6b1c4995731 (patch)
tree245ce7fcec484ed74b290ebdb000a119786cf6dd /source3
parentdf6d278785def44a7e66cdad1b5adbc691cc496d (diff)
downloadsamba-cd1a26b87e22831c0ec1a2b9c2cbc6b1c4995731.tar.gz
samba-cd1a26b87e22831c0ec1a2b9c2cbc6b1c4995731.tar.bz2
samba-cd1a26b87e22831c0ec1a2b9c2cbc6b1c4995731.zip
Try to get build working on systems with krb runtime but not devel libs.
Let's not assume that because one dir exists the whole shebang is there... (This used to be commit de8ffcad47a4e495615e0ad211316291075f3f6c)
Diffstat (limited to 'source3')
-rw-r--r--source3/configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 394c940dc3..3ea21a2023 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -2018,7 +2018,7 @@ if test x$FOUND_KRB5 = x"no"; then
#################################################
# see if this box has the SuSE location for the heimdal kerberos implementation
AC_MSG_CHECKING(for /usr/include/heimdal)
-if test -d /usr/include/heimdal; then
+if test -d /usr/include/heimdal -a -f /usr/lib/heimdal/lib/libkrb5.a; then
LIBS="$LIBS -lkrb5"
CFLAGS="$CFLAGS -I/usr/include/heimdal"
CPPFLAGS="$CPPFLAGS -I/usr/include/heimdal"
@@ -2033,7 +2033,7 @@ if test x$FOUND_KRB5 = x"no"; then
#################################################
# see if this box has the RedHat location for kerberos
AC_MSG_CHECKING(for /usr/kerberos)
-if test -d /usr/kerberos; then
+if test -d /usr/kerberos -a -f /usr/kerberos/lib/libkrb5.a ; then
LIBS="$LIBS -lkrb5"
LDFLAGS="$LDFLAGS -L/usr/kerberos/lib"
CFLAGS="$CFLAGS -I/usr/kerberos/include"