From 871fa7cfae38947ed52b540e16bd38c6e29002dc Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Wed, 25 Mar 2009 18:28:57 +0000 Subject: Fix build on MAC OS --- configure.in | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index b72a359..516d69a 100644 --- a/configure.in +++ b/configure.in @@ -36,8 +36,8 @@ dnl Stef Walter dnl dnl Process this file with autoconf to produce a configure script. -AC_INIT(httpauth, 0.9.4, stef@memberwebs.com) -AM_INIT_AUTOMAKE(httpauth, 0.9.4) +AC_INIT(httpauth, 0.9.4.90, stef@memberwebs.com) +AM_INIT_AUTOMAKE(httpauth, 0.9.4.90) LDFLAGS="$LDFLAGS -L/usr/local/lib" CFLAGS="$CFLAGS -I/usr/local/include -g -O0" @@ -63,9 +63,11 @@ ACX_PTHREAD( , [echo "ERROR: Pthread support not found."; exit 1] ) LIBS="$PTHREAD_LIBS $LIBS" CFLAGS="$CFLAGS $PTHREAD_CFLAGS" -AC_CHECK_LIB([crypt_r], [crypt], , [ - AC_CHECK_LIB([crypt], [crypt], , - [ echo "ERROR: Crypt library required."; exit 1] ) +AC_CHECK_LIB([c], [crypt], , [ + AC_CHECK_LIB([crypt_r], [crypt], , [ + AC_CHECK_LIB([crypt], [crypt], , + [ echo "ERROR: Crypt library required."; exit 1] ) + ]) ]) # Checks for header files. -- cgit v1.2.3