]> git.sur5r.net Git - openldap/commitdiff
Fixup crypt detection.
authorKurt Zeilenga <kurt@openldap.org>
Sun, 20 Sep 1998 23:22:32 +0000 (23:22 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sun, 20 Sep 1998 23:22:32 +0000 (23:22 +0000)
configure.in

index 22156f587f8a138c1de3e8de69464c746f6276ba..939adc284abd8ac1a341741ee4480b177cc5ab93 100644 (file)
@@ -433,7 +433,7 @@ AC_SUBST(LIBTERMCAP)
 
 # FreeBSD (and others) have crypt(3) in -lcrypt
 if test $ol_enable_crypt != no ; then
-       AC_CHECK_FUNC(crypt, have_crypt=yes, [
+       AC_CHECK_FUNC(crypt, [have_crypt=yes], [
                AC_CHECK_LIB(crypt, crypt, [LUTIL_LIBS="$LUTIL_LIBS -lcrypt"
                        have_crypt=yes], [have_crypt=no])])