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:
3
newlib/configure
vendored
3
newlib/configure
vendored
@ -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}"
|
||||
|
Reference in New Issue
Block a user