summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--common/sock-any.c2
-rw-r--r--configure.in12
3 files changed, 12 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 8863f5d..c3aa96b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+0.9.5
+ - Build fixes for MAC OS 10.4 and 10.5
+
0.9.4 [30-07-2008]
- Rework event handling system so we don't use a full thread per
connection, but instead only use threads for active requests.
diff --git a/common/sock-any.c b/common/sock-any.c
index 581ef5b..5dc97fc 100644
--- a/common/sock-any.c
+++ b/common/sock-any.c
@@ -337,7 +337,9 @@ sock_any_pton_n (const char *string, struct sockaddr_any *addrs, int n_addrs, in
num = n_addrs;
memset (&hints, 0, sizeof (hints));
hints.ai_family = PF_UNSPEC;
+#ifdef AI_NUMERICSERV
hints.ai_flags = AI_NUMERICSERV;
+#endif
/*
* Not actually limitted to these, just need to specify these
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.