diff options
author | Stu Grossman <grossman@cygnus> | 1995-10-27 16:39:10 +0000 |
---|---|---|
committer | Stu Grossman <grossman@cygnus> | 1995-10-27 16:39:10 +0000 |
commit | 2f9bfdfa15f1074828d547b27aed4445a83003d9 (patch) | |
tree | 91e25d82d63b6edb611fbe9bb78822eed826ee16 /configure.in | |
parent | 7391e11c40b9da998dff885c2b0268c6d551cd38 (diff) | |
download | gdb-2f9bfdfa15f1074828d547b27aed4445a83003d9.zip gdb-2f9bfdfa15f1074828d547b27aed4445a83003d9.tar.gz gdb-2f9bfdfa15f1074828d547b27aed4445a83003d9.tar.bz2 |
* configure.in: Make sure that CC is undefined (as opposed to
null) if toplevel/config/mh-{host} doesn't define it. Fixes a
problem with autoconf trying to configure on a host without GCC.
* config.sub: Add `magic' as an OS target for General Magic.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 8f5d5fb..12e5068 100644 --- a/configure.in +++ b/configure.in @@ -131,7 +131,10 @@ 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}` + xx=`sed -n -e 's/^[ ]*CC[ ]*=[ ]*\(.*\)$/\1/p' < ${srcdir}/${host_makefile_frag}` + if [ -n "${xx}" ] ; then + CC=$xx + fi fi fi |