diff --git a/ChangeLog b/ChangeLog index 767654685..5950ebce4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri Sep 8 12:05:00 1999 Richard Frith-Macdonald + + * configure.in: Correct path to include file for checking thread support + (bug reported by kai@cats.ms). + Tue Sep 5 11:21:00 1999 Richard Frith-Macdonald * Source/NSUserDefaults.m: Fix for crash when reading corrupt file. diff --git a/configure b/configure index be247b3c9..8191dbc89 100755 --- a/configure +++ b/configure @@ -1291,7 +1291,7 @@ else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then @@ -1314,7 +1314,7 @@ else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then @@ -1336,7 +1336,7 @@ else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then diff --git a/configure.in b/configure.in index 965c9826d..a883a0b51 100644 --- a/configure.in +++ b/configure.in @@ -198,16 +198,16 @@ if test $host_os = linux-gnu; then objc_threaded="", objc_threaded="-lpthread") if test x"$objc_threaded" = x""; then LIBS="-lobjc -lpcthread" - AC_TRY_RUN([#include "config_thread.m"], objc_threaded="-lpcthread", + AC_TRY_RUN([#include "config/config_thread.m"], objc_threaded="-lpcthread", 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_thread.m"], objc_threaded="-pthread", + AC_TRY_RUN([#include "config/config_thread.m"], objc_threaded="-pthread", objc_threaded="", objc_threaded="-pthread") else LIBS="-lobjc $LIBS $extra_LIBS" - AC_TRY_RUN([#include "config_thread.m"], objc_threaded="-lthread", + AC_TRY_RUN([#include "config/config_thread.m"], objc_threaded="-lthread", objc_threaded="", objc_threaded="-lthread") fi LIBS="$saved_LIBS"