From ba4869514ed3982fd6c2b37d743dd730e194f3c5 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Sun, 21 Jul 2002 09:06:28 +0000 Subject: [PATCH] More FreeBSD build fixes. --- configure.in | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/configure.in b/configure.in index 7f2cc8de..3d921338 100644 --- a/configure.in +++ b/configure.in @@ -245,6 +245,7 @@ if test x$we_have_sed = xyes; then x=`echo $build_os |tr A-Z a-z |sed "s/.*freebsd.*/freebsd/"` if test x$x = xfreebsd; then this_is_freebsd=yes + LDFLAGS="$LDFLAGS -pthread" fi AC_MSG_RESULT([$this_is_freebsd]) @@ -269,10 +270,6 @@ AC_CHECK_FUNCS([memset strrchr]) CFLAGS="$CFLAGS -D_REENTRANT -D_THREAD_SAFE" LDFLAGS="$LDFLAGS -no-undefined" -if test x$this_is_freebsd = x$yes; then - LDFLAGS="$LDFLAGS -pthread" -fi - dnl Add Makefile conditionals AM_CONDITIONAL(BUILD_ZLIB, test x$enable_internal_zlib = xyes) AM_CONDITIONAL(BUILD_TEST_PHYSFS, test x$enable_testprog = xyes)