summaryrefslogtreecommitdiffstats
path: root/libobjc/configure
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-01-05 00:40:22 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-01-05 00:40:22 +0000
commit5ed09c3bef070a2eebeee04fd8ef78feb60f9190 (patch)
tree5bbac729dd9eebacf9be5667828794c2cae844ec /libobjc/configure
parent5f8a7c119aff0c3fa505ba617b2e2f6bb534cb2b (diff)
downloadppe42-gcc-5ed09c3bef070a2eebeee04fd8ef78feb60f9190.tar.gz
ppe42-gcc-5ed09c3bef070a2eebeee04fd8ef78feb60f9190.zip
* configure.in (thread_file): Correct and simplify code to find
the thread file. * configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24494 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libobjc/configure')
-rwxr-xr-xlibobjc/configure13
1 files changed, 3 insertions, 10 deletions
diff --git a/libobjc/configure b/libobjc/configure
index 2efba0c5e08..4de20137d93 100755
--- a/libobjc/configure
+++ b/libobjc/configure
@@ -1063,21 +1063,14 @@ 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:1075: checking for thread file" >&5
+echo "configure:1068: 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 $gccobjdir/Makefile
+ if test -f "$r"/gcc/Makefile
then
- objc_cv_thread_file=`grep \^GCC_THREAD_FILE $gccobjdir/Makefile | awk -F= '{ print $2 }'`
+ objc_cv_thread_file=`grep \^GCC_THREAD_FILE "$r"/gcc/Makefile | awk -F= '{ print $2 }'`
else
{ echo "configure: error: not found" 1>&2; exit 1; }
fi
OpenPOWER on IntegriCloud