From 1df0735128eaa4d43ee3ea0b488e87b380bcf74a Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 14 Apr 1999 18:00:04 +0000 Subject: 1999-04-14 Roland McGrath * 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. --- mig.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'mig.in') diff --git a/mig.in b/mig.in index d0d6231..fa5e21e 100644 --- a/mig.in +++ b/mig.in @@ -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= -- cgit v1.2.3