diff options
author | Roland McGrath <roland@gnu.org> | 1999-04-14 18:00:04 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1999-04-14 18:00:04 +0000 |
commit | 1df0735128eaa4d43ee3ea0b488e87b380bcf74a (patch) | |
tree | 84fad6701ffeaedeb970b80eb472036705be395a /mig.in | |
parent | bb2d6ee8495bd65b92fdb5d0dcc20c5919dfb895 (diff) | |
download | mig-1df0735128eaa4d43ee3ea0b488e87b380bcf74a.tar.gz mig-1df0735128eaa4d43ee3ea0b488e87b380bcf74a.tar.bz2 mig-1df0735128eaa4d43ee3ea0b488e87b380bcf74a.zip |
1999-04-14 Roland McGrath <roland@baalperazim.frob.com>
* mig.in (default_cpp, default_cc): New variables, @ expansions here.
(CC): Make sure it's defined, in case ${CPP} refers to ${CC}.
(cpp): Use ${default_cpp} instead of the literal multiword contents.
Diffstat (limited to 'mig.in')
-rw-r--r-- | mig.in | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -32,7 +32,12 @@ prefix=@prefix@ exec_prefix=@exec_prefix@ libexecdir=@libexecdir@ migcom=${MIGDIR-@libexecdir@}/${MIGCOM-@MIGCOM@} -cpp="${CPP-@TARGET_CC@ -E -x c}" + +# The expansion of TARGET_CC might refer to ${CC}, so make sure it is defined. +default_cc="@CC@" +default_cpp="@TARGET_CC@ -E -x c" +CC="${CC-${default_cc}}" +cpp="${CPP-${default_cpp}}" cppflags= migflags= |