aboutsummaryrefslogtreecommitdiff
path: root/bfd/aclocal.m4
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/aclocal.m4
parente881afb8ba9aecfcdba459844388d682a64ac01b (diff)
downloadfsf-binutils-gdb-4c2e4d0e014910abda6675ca82021cd735bf7199.zip
fsf-binutils-gdb-4c2e4d0e014910abda6675ca82021cd735bf7199.tar.gz
fsf-binutils-gdb-4c2e4d0e014910abda6675ca82021cd735bf7199.tar.bz2
* aclocal.m4: Don't try to grep ../Makefile if it doesn't exist.
* configure: Rebuild.
Diffstat (limited to 'bfd/aclocal.m4')
-rw-r--r--bfd/aclocal.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/aclocal.m4 b/bfd/aclocal.m4
index dabc963..f08dd35 100644
--- a/bfd/aclocal.m4
+++ b/bfd/aclocal.m4
@@ -14,7 +14,7 @@ dnl The ugly bit...
dnl
AC_MSG_CHECKING([for CC])
dnl Don't bother with cache.
-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
AC_MSG_RESULT(setting CC to $CC)
AC_SUBST(CC)