aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorJason Molenda <crash@cygnus>1995-10-05 05:03:55 +0000
committerJason Molenda <crash@cygnus>1995-10-05 05:03:55 +0000
commit4caf3f7d0ec772da6f419b5e0cb20e687298537a (patch)
tree21a14580fbe88660753d271f566481916081d95e /configure.in
parentabf85a722cea9195e0426b02acd2c1f8ae04e8f1 (diff)
downloadgdb-4caf3f7d0ec772da6f419b5e0cb20e687298537a.zip
gdb-4caf3f7d0ec772da6f419b5e0cb20e687298537a.tar.gz
gdb-4caf3f7d0ec772da6f419b5e0cb20e687298537a.tar.bz2
* configure.in (CC): Try to get CC from
${srcdir}/${host_makefile_frag}, not ${host_makefile_frag}.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 2 insertions, 2 deletions
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