From c67de584449a5f863364d673e9625545c236b9bc Mon Sep 17 00:00:00 2001 From: Jason Molenda Date: Thu, 5 Oct 1995 05:39:40 +0000 Subject: [PATCH] * configure.in (CC): Get ^CC, not just any old CC, from ${host_makefile_frag}. --- ChangeLog | 5 +++++ configure.in | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a6ac1339e27..14f61238db0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Oct 4 22:05:36 1995 Jason Molenda (crash@phydeaux.cygnus.com) + + * configure.in (CC): Get ^CC, not just any old CC, from + ${host_makefile_frag}. + Wed Oct 4 21:55:00 1995 Jason Molenda (crash@phydeaux.cygnus.com) * configure.in (CC): Try to get CC from diff --git a/configure.in b/configure.in index 213e65757dc..82cb6da8158 100644 --- a/configure.in +++ b/configure.in @@ -134,7 +134,7 @@ fi # See if we can extract a definition of CC from the fragment. if [ -z "${CC}" ]; then if [ -n "${host_makefile_frag}" -a -f "${srcdir}/${host_makefile_frag}" ]; then - CC=`sed -n -e 's/CC[ ]*=[ ]*\(.*\)$/\1/p' < ${srcdir}/${host_makefile_frag}` + CC=`sed -n -e 's/^[ ]*CC[ ]*=[ ]*\(.*\)$/\1/p' < ${srcdir}/${host_makefile_frag}` fi fi -- 2.30.2