Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/configure.in')
-rw-r--r--newlib/configure.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/newlib/configure.in b/newlib/configure.in
index 99a4b40b3..255802798 100644
--- a/newlib/configure.in
+++ b/newlib/configure.in
@@ -55,7 +55,8 @@ AC_SUBST(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}"