diff options
author | Jim McDonough <jmcd@samba.org> | 2003-02-04 01:39:06 +0000 |
---|---|---|
committer | Jim McDonough <jmcd@samba.org> | 2003-02-04 01:39:06 +0000 |
commit | d74edbb4837b62cd43332cbe24d46c0a1b7a2598 (patch) | |
tree | 0ad941c4c2d1fdc3e90bf5ec13eb8b4a3a7a52f4 /source3/configure.in | |
parent | 3e822dd2c6fe22df38a070a0fe5fe1b0834b2a76 (diff) | |
download | samba-d74edbb4837b62cd43332cbe24d46c0a1b7a2598.tar.gz samba-d74edbb4837b62cd43332cbe24d46c0a1b7a2598.tar.bz2 samba-d74edbb4837b62cd43332cbe24d46c0a1b7a2598.zip |
Try to allow old and new heimdal installs
(This used to be commit 29d25382ac394707da372d4af2b828bfcd0d6874)
Diffstat (limited to 'source3/configure.in')
-rw-r--r-- | source3/configure.in | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/source3/configure.in b/source3/configure.in index 87f2e0d0ac..9285b42c10 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -2107,11 +2107,20 @@ 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 -a -f /usr/lib/heimdal/lib/libkrb5.a; then - LIBS="$LIBS -lkrb5" - CFLAGS="$CFLAGS -I/usr/include/heimdal" - CPPFLAGS="$CPPFLAGS -I/usr/include/heimdal" - AC_MSG_RESULT(yes) +if test -d /usr/include/heimdal; then + if test -f /usr/lib/heimdal/lib/libkrb5.a; then + LIBS="$LIBS -lkrb5" + CFLAGS="$CFLAGS -I/usr/include/heimdal" + CPPFLAGS="$CPPFLAGS -I/usr/include/heimdal" + LDFLAGS="$LDFLAGS -L/usr/lib/heimdal/lib" + AC_MSG_RESULT(yes) + else + LIBS="$LIBS -lkrb5" + CFLAGS="$CFLAGS -I/usr/include/heimdal" + CPPFLAGS="$CPPFLAGS -I/usr/include/heimdal" + AC_MSG_RESULT(yes) + + fi else AC_MSG_RESULT(no) fi |