aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorJason Molenda <crash@cygnus>1995-10-05 05:39:40 +0000
committerJason Molenda <crash@cygnus>1995-10-05 05:39:40 +0000
commitc67de584449a5f863364d673e9625545c236b9bc (patch)
treeddec330a793bc54b83219e6ba5c0af7adc6ed279 /configure.in
parent3c02944a988ffb5ce4599a8013675a3ea49e538b (diff)
downloadgdb-c67de584449a5f863364d673e9625545c236b9bc.zip
gdb-c67de584449a5f863364d673e9625545c236b9bc.tar.gz
gdb-c67de584449a5f863364d673e9625545c236b9bc.tar.bz2
* configure.in (CC): Get ^CC, not just any old CC, from
${host_makefile_frag}.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 213e657..82cb6da 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