From 23b44e67df60f765417d230beb38856437409877 Mon Sep 17 00:00:00 2001 From: Robert James Kaes Date: Mon, 27 Aug 2001 17:47:25 +0000 Subject: Bumped up the version number. Added a test for FreeBSD so that it can set GCC to compile with POSIX threading. --- configure.in | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/configure.in b/configure.in index d784b88..55782f0 100644 --- a/configure.in +++ b/configure.in @@ -1,4 +1,4 @@ -dnl $Id: configure.in,v 1.18 2001-08-27 03:47:47 rjkaes Exp $ +dnl $Id: configure.in,v 1.19 2001-08-27 17:47:25 rjkaes Exp $ dnl Devlopers, please strive to achieve this order: dnl @@ -19,7 +19,7 @@ AC_INIT() AC_CANONICAL_SYSTEM AC_DEFINE_UNQUOTED(TARGET_SYSTEM, "$target") -AM_INIT_AUTOMAKE(tinyproxy,1.4.1.3) +AM_INIT_AUTOMAKE(tinyproxy,1.4.1.4) AM_CONFIG_HEADER(config.h) dnl @@ -106,7 +106,12 @@ else if test "$ac_cv_lib_pthreads_pthread_create" = "yes"; then CFLAGS="-D_REENTRANT $CFLAGS" else - AC_MSG_ERROR(You must have a POSIX compliant threading library installed) + AC_CHECK_LIB(c_r, pthread_create) + if test "$ac_cv_c_r_pthread_create" = "yes"; then + CFLAGS="-pthread -D_REENTRANT $CFLAGS" + else + AC_MSG_ERROR(You must have a POSIX compliant threading library installed) + fi fi fi -- cgit v1.2.3