summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2009-03-25 18:28:57 +0000
committerStef Walter <stef@memberwebs.com>2009-03-25 18:28:57 +0000
commit871fa7cfae38947ed52b540e16bd38c6e29002dc (patch)
tree57e02609b266ca59af41d23f6d6d6f9c44fe7745 /configure.in
parentcfc362ea26967e67d676900b7d1fa5df01988017 (diff)
Fix build on MAC OS
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in12
1 files changed, 7 insertions, 5 deletions
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 <stef@memberwebs.com>
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.