mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@5262 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
7ea54068cf
commit
ad9127b1a8
2 changed files with 6 additions and 6 deletions
6
configure
vendored
6
configure
vendored
|
@ -1307,9 +1307,9 @@ fi
|
||||||
|
|
||||||
fi
|
fi
|
||||||
elif test "`echo $host_os|sed 's/[0-9].*//'|sed s/elf//`" = freebsd; then
|
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
|
if test "$cross_compiling" = yes; then
|
||||||
objc_threaded="-pthread"
|
objc_threaded="-lpthread"
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 1316 "configure"
|
#line 1316 "configure"
|
||||||
|
@ -1318,7 +1318,7 @@ else
|
||||||
EOF
|
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
|
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
|
then
|
||||||
objc_threaded="-pthread"
|
objc_threaded="-lpthread"
|
||||||
else
|
else
|
||||||
echo "configure: failed program was:" >&5
|
echo "configure: failed program was:" >&5
|
||||||
cat conftest.$ac_ext >&5
|
cat conftest.$ac_ext >&5
|
||||||
|
|
|
@ -202,9 +202,9 @@ if test $host_os = linux-gnu; then
|
||||||
objc_threaded="", objc_threaded="-lpcthread")
|
objc_threaded="", objc_threaded="-lpcthread")
|
||||||
fi
|
fi
|
||||||
elif test "`echo $host_os|sed 's/[[0-9]].*//'|sed s/elf//`" = freebsd; then
|
elif test "`echo $host_os|sed 's/[[0-9]].*//'|sed s/elf//`" = freebsd; then
|
||||||
LIBS="-pthread -lobjc"
|
LIBS="-lobjc -lpthread"
|
||||||
AC_TRY_RUN([#include "config/config_thread.m"], objc_threaded="-pthread",
|
AC_TRY_RUN([#include "config/config_thread.m"], objc_threaded="-lpthread",
|
||||||
objc_threaded="", objc_threaded="-pthread")
|
objc_threaded="", objc_threaded="-lpthread")
|
||||||
else
|
else
|
||||||
LIBS="-lobjc $LIBS $extra_LIBS"
|
LIBS="-lobjc $LIBS $extra_LIBS"
|
||||||
AC_TRY_RUN([#include "config/config_thread.m"], objc_threaded="-lthread",
|
AC_TRY_RUN([#include "config/config_thread.m"], objc_threaded="-lthread",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue