summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2004-05-05 22:34:15 +0000
committerStef Walter <stef@memberwebs.com>2004-05-05 22:34:15 +0000
commitaa3b52a5f318e49344d7260333c241f51df1f740 (patch)
tree4bbd09a21c992bd984f640413ebc0056ff977e2d /configure.in
parent72a9cafc3864e6abd6826d43982c9cbf6ab76329 (diff)
- Build process fixes
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index c70ae2b..9937e2f 100644
--- a/configure.in
+++ b/configure.in
@@ -71,8 +71,10 @@ ACX_PTHREAD( , [echo "ERROR: Pthread support not found."; exit 1] )
LIBS="$PTHREAD_LIBS $LIBS"
CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
-AC_CHECK_LIB([crypt], [crypt], ,
- [ echo "ERROR: Crypt library required."; exit 1] )
+AC_CHECK_LIB([crypt_r], [crypt], , [
+ AC_CHECK_LIB([crypt], [crypt], ,
+ [ echo "ERROR: Crypt library required."; exit 1] )
+ ])
AC_CHECK_LIB([ldap], [ldap_init], ,
[ echo "ERROR: Open LDAP 2.x library required."; exit 1] )