From aa3b52a5f318e49344d7260333c241f51df1f740 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Wed, 5 May 2004 22:34:15 +0000 Subject: - Build process fixes --- configure.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'configure.in') 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] ) -- cgit v1.2.3