diff options
author | Ian Lance Taylor <ian@airs.com> | 1995-09-06 00:02:00 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1995-09-06 00:02:00 +0000 |
commit | 4c2e4d0e014910abda6675ca82021cd735bf7199 (patch) | |
tree | fd52c8a2d05968c5c93689cc2e37f99d00e924e9 /bfd/aclocal.m4 | |
parent | e881afb8ba9aecfcdba459844388d682a64ac01b (diff) | |
download | gdb-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/aclocal.m4')
-rw-r--r-- | bfd/aclocal.m4 | 2 |
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) |