From 2955fd7669437cb13d2b228b5f1b6c1dda58fa34 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Fri, 22 Nov 2002 19:54:22 +0000 Subject: 2002-11-22 Joe Buehler * 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. --- newlib/configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'newlib/configure') diff --git a/newlib/configure b/newlib/configure index c55a6b993..eeb988659 100755 --- a/newlib/configure +++ b/newlib/configure @@ -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}" -- cgit v1.2.3