diff options
author | Stef Walter <stef@memberwebs.com> | 2004-04-28 22:51:27 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2004-04-28 22:51:27 +0000 |
commit | 8a3ac8a0c0a49e37c8f68c737da8eaf193766c5d (patch) | |
tree | 9da27ac1730725e2332aab0e234f17338804c845 /configure.in | |
parent | dbbf162dc9be0aef47f2d1f1fcddb7ae4e074d47 (diff) |
FreeBSD fixes
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 10 |
1 files changed, 6 insertions, 4 deletions
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] ) |