Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
More FreeBSD build fixes.
  • Loading branch information
icculus committed Jul 21, 2002
1 parent 80dfa72 commit ba48695
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions configure.in
Expand Up @@ -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])
Expand All @@ -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)
Expand Down

0 comments on commit ba48695

Please sign in to comment.