* configure.in (CPP): Autoconf sets this to a shell variable

reference, which doesn't work when it's edited into a makefile.
	Expand that variable reference.
This commit is contained in:
Jim Blandy 1993-06-17 02:55:11 +00:00
parent 804962796c
commit b73fe83930

View file

@ -1106,8 +1106,8 @@ echo '
' > ${tempcname}
# The value of CPP is a quoted variable reference, so we need to do this
# to get its actual value...
foo=`eval "echo $CPP"`
eval `${foo} -Isrc ${tempcname} \
CPP=`eval "echo $CPP"`
eval `${CPP} -Isrc ${tempcname} \
| grep '@configure@' \
| sed -e 's/^@configure@ \([^=]*=\)\(.*\)$/\1"\2"/'`
rm ${tempcname}