summaryrefslogtreecommitdiff
path: root/libobjc/configure.in
diff options
context:
space:
mode:
authorovidiu <ovidiu@138bc75d-0d04-0410-961f-82ee72b054a4>2000-07-20 07:27:26 +0000
committerovidiu <ovidiu@138bc75d-0d04-0410-961f-82ee72b054a4>2000-07-20 07:27:26 +0000
commit6319d58ebb3f99a6e4184887081a796f488aed7c (patch)
treed58bf86c68a47e2d7676ceb24f237b52dec0b901 /libobjc/configure.in
parentc51c7b51569c6f30f5dd0a1b3add779191110cf4 (diff)
downloadgcc-6319d58ebb3f99a6e4184887081a796f488aed7c.tar.gz
Applied H.J.Lu's patch to not require -lpthread when compiling single threaded Objective-C programs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35141 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libobjc/configure.in')
-rw-r--r--libobjc/configure.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/libobjc/configure.in b/libobjc/configure.in
index 821dcd2a9de..b2d656a2773 100644
--- a/libobjc/configure.in
+++ b/libobjc/configure.in
@@ -91,17 +91,17 @@ the Objective C runtime system. If necessary, install gcc now with
AC_HEADER_STDC
-# Determine the name of the GCC thread file.
+# Determine CFLAGS for gthread.
-AC_CACHE_CHECK([for thread file],objc_cv_thread_file,
+AC_CACHE_CHECK([for gthread cflags],objc_cv_gthread_flags,
[if test -f "$r"/gcc/Makefile
then
- objc_cv_thread_file=`grep \^GCC_THREAD_FILE "$r"/gcc/Makefile | awk -F= '{ print $2 }'`
+ objc_cv_gthread_flags=`grep \^GTHREAD_FLAGS "$r"/gcc/Makefile | awk -F= '{ print $2 }'`
else
AC_MSG_ERROR([not found])
fi])
-OBJC_THREAD_FILE=$objc_cv_thread_file
-AC_SUBST(OBJC_THREAD_FILE)
+GTHREAD_FLAGS=$objc_cv_gthread_flags
+AC_SUBST(GTHREAD_FLAGS)
AC_ARG_ENABLE(objc-gc,
[ --enable-objc-gc enable the use of Boehm's garbage collector with