git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@5262 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Michael Silva 1999-11-22 21:48:03 +00:00
parent 4737b5f498
commit 0056c7226a
2 changed files with 6 additions and 6 deletions

6
configure vendored
View file

@ -1307,9 +1307,9 @@ fi
fi
elif test "`echo $host_os|sed 's/[0-9].*//'|sed s/elf//`" = freebsd; then
LIBS="-pthread -lobjc"
LIBS="-lobjc -lpthread"
if test "$cross_compiling" = yes; then
objc_threaded="-pthread"
objc_threaded="-lpthread"
else
cat > conftest.$ac_ext <<EOF
#line 1316 "configure"
@ -1318,7 +1318,7 @@ else
EOF
if { (eval echo configure:1320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
objc_threaded="-pthread"
objc_threaded="-lpthread"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5

View file

@ -202,9 +202,9 @@ if test $host_os = linux-gnu; then
objc_threaded="", objc_threaded="-lpcthread")
fi
elif test "`echo $host_os|sed 's/[[0-9]].*//'|sed s/elf//`" = freebsd; then
LIBS="-pthread -lobjc"
AC_TRY_RUN([#include "config/config_thread.m"], objc_threaded="-pthread",
objc_threaded="", objc_threaded="-pthread")
LIBS="-lobjc -lpthread"
AC_TRY_RUN([#include "config/config_thread.m"], objc_threaded="-lpthread",
objc_threaded="", objc_threaded="-lpthread")
else
LIBS="-lobjc $LIBS $extra_LIBS"
AC_TRY_RUN([#include "config/config_thread.m"], objc_threaded="-lthread",