mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-01 14:15:49 +08:00
Fixup crypt detection.
This commit is contained in:
parent
b279463b28
commit
cb480bce95
@ -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])])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user