diff options
author | Robert Lipe <robertl@dgii.com> | 1998-10-01 21:35:22 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1998-10-01 15:35:22 -0600 |
commit | 4102f62733e77afa2885292beb43a5738241c5ed (patch) | |
tree | 1a995daa9e2c34a86968fad4207fcd43e8edd2be /libobjc/configure | |
parent | 961d411902f6869f8539b9c0ef668855af08a100 (diff) | |
download | gcc-4102f62733e77afa2885292beb43a5738241c5ed.zip gcc-4102f62733e77afa2885292beb43a5738241c5ed.tar.gz gcc-4102f62733e77afa2885292beb43a5738241c5ed.tar.bz2 |
Makefile.in (INCLUDES): Reference gcc via $MULTIBUILDTOP.
* 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.
Co-Authored-By: Jeffrey A Law <law@cygnus.com>
From-SVN: r22725
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 25cdc01..a7e2dce 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 |