diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-10-01 21:35:22 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-10-01 21:35:22 +0000 |
commit | 7ca6de5f0e60cba02c85695f9b1e60ccb8085ce0 (patch) | |
tree | 1a995daa9e2c34a86968fad4207fcd43e8edd2be /libobjc/configure | |
parent | 3e0562870dbda8443054c1df7ec6ee24ac8b73fd (diff) | |
download | gcc-7ca6de5f0e60cba02c85695f9b1e60ccb8085ce0.tar.gz |
* Makefile.in (INCLUDES): Reference gcc via $MULTIBUILDTOP.
(FLAGS_TO_PASS): Added.
(runtime-info.h): Reference cc1ibj via $MULTIBUILDTOP.
* archive.c: Change config.h to tconfig.h.
* configure.in: Find gcc's object directory even for multilibs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22725 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libobjc/configure')
-rwxr-xr-x | libobjc/configure | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/libobjc/configure b/libobjc/configure index 25cdc01509d..a7e2dcefba1 100755 --- a/libobjc/configure +++ b/libobjc/configure @@ -1033,14 +1033,21 @@ fi # Determine the name of the GCC thread file. +dir=`pwd` +if test x"${with_multisubdir}" = "x" ; then + gccobjdir=`echo $dir/../../gcc` +else + gccobjdir=`echo $dir | sed -e s:${with_multisubdir}::`/../../gcc +fi + echo $ac_n "checking for thread file""... $ac_c" 1>&6 -echo "configure:1038: checking for thread file" >&5 +echo "configure:1045: checking for thread file" >&5 if eval "test \"`echo '$''{'objc_cv_thread_file'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else - if test -f ../../gcc/Makefile + if test -f $gccobjdir/Makefile then - objc_cv_thread_file=`grep \^GCC_THREAD_FILE ../../gcc/Makefile | awk -F= '{ print $2 }'` + objc_cv_thread_file=`grep \^GCC_THREAD_FILE $gccobjdir/Makefile | awk -F= '{ print $2 }'` else { echo "configure: error: not found" 1>&2; exit 1; } fi |