From 4102f62733e77afa2885292beb43a5738241c5ed Mon Sep 17 00:00:00 2001 From: Robert Lipe Date: Thu, 1 Oct 1998 21:35:22 +0000 Subject: 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 From-SVN: r22725 --- libobjc/configure | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'libobjc/configure') 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 -- cgit v1.1