* aclocal.m4: Don't try to grep ../Makefile if it doesn't exist.

* configure: Rebuild.
This commit is contained in:
Ian Lance Taylor 1995-09-06 00:02:00 +00:00
parent e881afb8ba
commit 4c2e4d0e01
3 changed files with 5 additions and 2 deletions

View 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.

2
bfd/aclocal.m4 vendored
View 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)

2
bfd/configure vendored
View File

@ -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