aboutsummaryrefslogtreecommitdiff
path: root/bfd/configure
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-09-06 00:02:00 +0000
committerIan Lance Taylor <ian@airs.com>1995-09-06 00:02:00 +0000
commit4c2e4d0e014910abda6675ca82021cd735bf7199 (patch)
treefd52c8a2d05968c5c93689cc2e37f99d00e924e9 /bfd/configure
parente881afb8ba9aecfcdba459844388d682a64ac01b (diff)
downloadgdb-4c2e4d0e014910abda6675ca82021cd735bf7199.zip
gdb-4c2e4d0e014910abda6675ca82021cd735bf7199.tar.gz
gdb-4c2e4d0e014910abda6675ca82021cd735bf7199.tar.bz2
* aclocal.m4: Don't try to grep ../Makefile if it doesn't exist.
* configure: Rebuild.
Diffstat (limited to 'bfd/configure')
-rwxr-xr-xbfd/configure2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/configure b/bfd/configure
index ca119e0..ac19834 100755
--- a/bfd/configure
+++ b/bfd/configure
@@ -562,7 +562,7 @@ HDEFINES=
. ${srcdir}/configure.host
echo $ac_n "checking for CC""... $ac_c" 1>&6
-test -z "$CC" && CC=`egrep '^CC *=' ../Makefile | tail -1 | sed 's/^CC *= *//'`
+test -z "$CC" && test -r ../Makefile && CC=`egrep '^CC *=' ../Makefile | tail -1 | sed 's/^CC *= *//'`
test -z "$CC" && CC=cc
echo "$ac_t""setting CC to $CC" 1>&6