summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-09-25 09:37:18 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-09-25 09:37:18 +0000
commitc0925b6352ff6135da03edff44e0bbd72c949a20 (patch)
treed5092444f87aae7e3be4d055d1bcb8f69d5303cd /source
parentd9a91a41441c156223760cb356fa997ea7bdbc1a (diff)
downloadsamba-c0925b6352ff6135da03edff44e0bbd72c949a20.tar.gz
samba-c0925b6352ff6135da03edff44e0bbd72c949a20.tar.xz
samba-c0925b6352ff6135da03edff44e0bbd72c949a20.zip
Actually pick up the kerberos libs in RedHat - the previous shell construct
didn't seem to work properly. Andrew Bartlett
Diffstat (limited to 'source')
-rwxr-xr-xsource/configure8
-rw-r--r--source/configure.in8
2 files changed, 8 insertions, 8 deletions
diff --git a/source/configure b/source/configure
index 39fa8b05f07..538f44621c8 100755
--- a/source/configure
+++ b/source/configure
@@ -12077,11 +12077,11 @@ fi
echo "$ac_t""$with_ads_support" 1>&6
+FOUND_KRB5=no
if test x"$with_ads_support" = x"yes"; then
#################################################
# check for location of Kerberos 5 install
-FOUND_KRB5=0
echo $ac_n "checking for kerberos 5 install path""... $ac_c" 1>&6
echo "configure:12087: checking for kerberos 5 install path" >&5
# Check whether --with-krb5 or --without-krb5 was given.
@@ -12097,7 +12097,7 @@ if test "${with_krb5+set}" = set; then
CFLAGS="$CFLAGS -I$withval/include"
CPPFLAGS="$CPPFLAGS -I$withval/include"
LDFLAGS="$LDFLAGS -L$withval/lib"
- FOUND_KRB5=1
+ FOUND_KRB5=yes
;;
esac
else
@@ -12107,7 +12107,7 @@ fi
-if $FOUND_KRB5 = 0 ; then
+if test x$FOUND_KRB5 = x"no"; then
#################################################
# see if this box has the RedHat location for kerberos
echo $ac_n "checking for /usr/kerberos""... $ac_c" 1>&6
@@ -12768,7 +12768,7 @@ fi
###############################################
# test for where we get crypt() from, but only
# if not using PAM
-if test $with_pam_for_crypt = no; then
+if test x"$with_pam_for_crypt" = x"no"; then
for ac_func in crypt
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
diff --git a/source/configure.in b/source/configure.in
index 07cf6e88cdb..5221b8ec2b4 100644
--- a/source/configure.in
+++ b/source/configure.in
@@ -1961,11 +1961,11 @@ fi
AC_MSG_RESULT($with_ads_support)
+FOUND_KRB5=no
if test x"$with_ads_support" = x"yes"; then
#################################################
# check for location of Kerberos 5 install
-FOUND_KRB5=0
AC_MSG_CHECKING(for kerberos 5 install path)
AC_ARG_WITH(krb5,
[ --with-krb5=base-dir Locate Kerberos 5 support (default=/usr)],
@@ -1979,14 +1979,14 @@ FOUND_KRB5=0
CFLAGS="$CFLAGS -I$withval/include"
CPPFLAGS="$CPPFLAGS -I$withval/include"
LDFLAGS="$LDFLAGS -L$withval/lib"
- FOUND_KRB5=1
+ FOUND_KRB5=yes
;;
esac ],
AC_MSG_RESULT(no)
)
-if [ $FOUND_KRB5 = 0 ]; then
+if test x$FOUND_KRB5 = x"no"; then
#################################################
# see if this box has the RedHat location for kerberos
AC_MSG_CHECKING(for /usr/kerberos)
@@ -2168,7 +2168,7 @@ AC_ARG_WITH(pam_smbpass,
###############################################
# test for where we get crypt() from, but only
# if not using PAM
-if test $with_pam_for_crypt = no; then
+if test x"$with_pam_for_crypt" = x"no"; then
AC_CHECK_FUNCS(crypt)
if test x"$ac_cv_func_crypt" = x"no"; then
AC_CHECK_LIB(crypt, crypt, [LIBS="$LIBS -lcrypt";