From cd1a26b87e22831c0ec1a2b9c2cbc6b1c4995731 Mon Sep 17 00:00:00 2001 From: Jim McDonough Date: Mon, 3 Feb 2003 18:20:54 +0000 Subject: [PATCH] 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) --- source3/configure.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source3/configure.in b/source3/configure.in index 394c940dc37..3ea21a20232 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" -- 2.11.4.GIT