2002-11-22 Joe Buehler <jbuehler@hekimian.com>

* configure.in: Change check for libc/include in ${CC} to
        use an intermediate value so as to work with different shells.
        * configure: Regenerated.
        * Makefile.in: Ditto.
This commit is contained in:
Jeff Johnston
2002-11-22 19:54:22 +00:00
parent 40ce7368d9
commit 2955fd7669
4 changed files with 14 additions and 5 deletions

3
newlib/configure vendored
View File

@ -3071,7 +3071,8 @@ EXTRA_DIRS=
# These get added in the top-level configure.in, except in the case where
# newlib is being built natively.
if test -z `echo ${CC} | grep \/libc\/include`; then
LIBC_INCLUDE_GREP=`echo ${CC} | grep \/libc\/include`
if test -z "${LIBC_INCLUDE_GREP}"; then
CC_FOR_NEWLIB="${CC} -I$PWD/targ-include -I${newlib_basedir}/libc/include"
else
CC_FOR_NEWLIB="${CC}"