diff options
author | Simo Sorce <ssorce@redhat.com> | 2007-12-07 19:59:27 -0500 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2007-12-07 19:59:27 -0500 |
commit | 441e9206b5769ae9c86efd36e95b30a67886c843 (patch) | |
tree | 705dc3036342fc9b5639520faeaba976ba255117 /ipa-server/configure.ac | |
parent | 647063253e31f543246e271ba07ddbf9e1dd74ed (diff) | |
download | freeipa-441e9206b5769ae9c86efd36e95b30a67886c843.tar.gz freeipa-441e9206b5769ae9c86efd36e95b30a67886c843.tar.xz freeipa-441e9206b5769ae9c86efd36e95b30a67886c843.zip |
We need the OpenSSL Crypto lib for the DES and MD4 functions to generate NT
and LM hashes.
Diffstat (limited to 'ipa-server/configure.ac')
-rw-r--r-- | ipa-server/configure.ac | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ipa-server/configure.ac b/ipa-server/configure.ac index 7492d4cf7..ec448c42d 100644 --- a/ipa-server/configure.ac +++ b/ipa-server/configure.ac @@ -131,6 +131,15 @@ dnl --------------------------------------------------------------------------- PKG_CHECK_MODULES(MOZLDAP, mozldap > 6) dnl --------------------------------------------------------------------------- +dnl - Check for OpenSSL Crypto library +dnl --------------------------------------------------------------------------- +dnl This is a very simple check, we should probably check also for MD4_Init and +dnl probably also the version we are using is recent enough +SSL_LIBS= +AC_CHECK_LIB(crypto, DES_set_key_unchecked, [SSL_LIBS="-lcrypto"]) +AC_SUBST(SSL_LIBS) + +dnl --------------------------------------------------------------------------- dnl - Check for Python dnl --------------------------------------------------------------------------- @@ -251,5 +260,6 @@ echo " cflags: ${CFLAGS} LDAP libs: ${LDAP_LIBS} KRB5 libs: ${KRB5_LIBS} + OpenSSL libs: ${SSL_LIBS} Maintainer mode: ${USE_MAINTAINER_MODE} " |