More FreeBSD build fixes.
authorRyan C. Gordon <icculus@icculus.org>
Sun, 21 Jul 2002 09:06:28 +0000
changeset 353 7adb20841f11
parent 352 46065653c088
child 354 35bd3ed9cb9e
More FreeBSD build fixes.
configure.in
--- a/configure.in	Sat Jul 20 00:20:00 2002 +0000
+++ b/configure.in	Sun Jul 21 09:06:28 2002 +0000
@@ -245,6 +245,7 @@
   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 @@
 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)