From 0a28e1feda2fdd7016ce2d42f8bea8f742c9f6aa Mon Sep 17 00:00:00 2001 From: Ron Pedde Date: Tue, 14 Dec 2004 04:27:02 +0000 Subject: [PATCH] Fixed -lpthread thing --- configure.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/configure.in b/configure.in index c0a7567e..da9c00bd 100644 --- a/configure.in +++ b/configure.in @@ -20,6 +20,7 @@ STATIC_LIBS=no CPPFLAGS="${CPPFLAGS} -g" AC_CHECK_LIB(z,compress,LDFLAGS="$LDFLAGS -lz",echo "Must have zlib";exit) +AC_CHECK_LIB(pthread,pthread_create,LDFLAGS="$LDFLAGS -lpthread") AC_ARG_ENABLE(debug,[ --enable-debug Enable debugging features], CPPFLAGS="${CPPFLAGS} -Wall") @@ -85,8 +86,6 @@ case $host in esac dnl Checks for libraries. -AC_CHECK_LIB(pthread,pthread_create,LDFLAGS="$LDFLAGS -lpthread") - AC_ARG_WITH(static-libs, [--with-static-libs[[=DIR]] use static libs in DIR],[ if test "$withval" != "no" -a "$withval" != "yes"; then