Do compute unexec, LIBX, system_malloc, etc

even if CPP env var was set by the user.
This commit is contained in:
Richard M. Stallman 1994-08-15 09:19:22 +00:00
parent 3d71f4b0e5
commit 12d733d066

View file

@ -1431,10 +1431,10 @@ configure___ REAL_CFLAGS=C_DEBUG_SWITCH '${CFLAGS}'
# The value of CPP is a quoted variable reference, so we need to do this
# to get its actual value...
CPP=`eval "echo $CPP"`
eval `${CPP} -Isrc ${tempcname} \
| grep 'configure___' \
| sed -e 's/^configure___ \([^=]*=\)\(.*\)$/\1"\2"/'`
if [ "x$CFLAGS" = x ]; then
eval `${CPP} -Isrc ${tempcname} \
| grep 'configure___' \
| sed -e 's/^configure___ \([^=]*=\)\(.*\)$/\1"\2"/'`
eval `${CPP} -Isrc -DTHIS_IS_CONFIGURE ${tempcname} \
| grep 'configure___' \
| sed -e 's/^configure___ \([^=]*=\)\(.*\)$/\1"\2"/'`