* aclocal.m4: Don't try to grep ../Makefile if it doesn't exist.
authorIan Lance Taylor <ian@airs.com>
Wed, 6 Sep 1995 00:02:00 +0000 (00:02 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 6 Sep 1995 00:02:00 +0000 (00:02 +0000)
* configure: Rebuild.

bfd/ChangeLog
bfd/aclocal.m4
bfd/configure

index 3d6d1f3c0dc26f586c508c3891a76600aa3c65e9..e8f9f72feb34ebf6eb9c2da785a0f2b91c442b26 100644 (file)
@@ -1,5 +1,8 @@
 Tue Sep  5 19:35:28 1995  Ian Lance Taylor  <ian@cygnus.com>
 
+       * aclocal.m4: Don't try to grep ../Makefile if it doesn't exist.
+       * configure: Rebuild.
+
        * coff-sparc.c (CALC_ADDEND): Don't set the addend to the value of
        a global symbol.
 
index dabc963f4dd7eccedc4bed83a9947b7977bf2fb0..f08dd35129d5a0b16d6860f219c59683d56ef1e5 100644 (file)
@@ -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)
index ca119e09ab26ed7f58e455d7fe70ec39bf28816d..ac19834ddd1d2975b68dbf5f4c9112309cf40faa 100755 (executable)
@@ -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
 
This page took 0.030405 seconds and 4 git commands to generate.