From: Jason Molenda Date: Thu, 5 Oct 1995 05:03:55 +0000 (+0000) Subject: * configure.in (CC): Try to get CC from X-Git-Tag: gdb-4_18~10644 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4caf3f7d0ec772da6f419b5e0cb20e687298537a;p=platform%2Fupstream%2Fbinutils.git * configure.in (CC): Try to get CC from ${srcdir}/${host_makefile_frag}, not ${host_makefile_frag}. --- diff --git a/ChangeLog b/ChangeLog index da90747..a6ac133 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Oct 4 21:55:00 1995 Jason Molenda (crash@phydeaux.cygnus.com) + + * configure.in (CC): Try to get CC from + ${srcdir}/${host_makefile_frag}, not ${host_makefile_frag}. + Wed Oct 4 21:44:12 1995 Jason Molenda (crash@phydeaux.cygnus.com) * Makefile.in (TARGET_CONFIGDIRS): configure targetdirs diff --git a/configure.in b/configure.in index ef5be1e..213e657 100644 --- a/configure.in +++ b/configure.in @@ -133,8 +133,8 @@ fi # See if we can extract a definition of CC from the fragment. if [ -z "${CC}" ]; then - if [ -n "${host_makefile_frag}" -a -f "${host_makefile_frag}" ]; then - CC=`sed -n -e 's/CC[ ]*=[ ]*\(.*\)$/\1/p' < ${host_makefile_frag}` + if [ -n "${host_makefile_frag}" -a -f "${srcdir}/${host_makefile_frag}" ]; then + CC=`sed -n -e 's/CC[ ]*=[ ]*\(.*\)$/\1/p' < ${srcdir}/${host_makefile_frag}` fi fi