From 8a3ac8a0c0a49e37c8f68c737da8eaf193766c5d Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Wed, 28 Apr 2004 22:51:27 +0000 Subject: FreeBSD fixes --- configure.in | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 6ab2633..b3ecf3d 100644 --- a/configure.in +++ b/configure.in @@ -37,7 +37,7 @@ dnl dnl Process this file with autoconf to produce a configure script. AC_INIT(httpauth, 0.1, nielsen@memberwebs.com) -AM_INIT_AUTOMAKE(httpauth, 0.8.1) +AM_INIT_AUTOMAKE(httpauth, 0.1) LDFLAGS="$LDFLAGS -L/usr/local/lib" CFLAGS="$CFLAGS -I/usr/local/include -g -O0" @@ -65,9 +65,11 @@ fi # TODO: Make SMB support an option # TODO: Make LDAP support an option -# Check for libraries -AC_CHECK_LIB([pthread], [pthread_create], , - [ echo "ERROR: Pthread libraries required."; exit 1] ) +# TODO: Figure out why we need this wierd hack +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] ) -- cgit v1.2.3