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')
-rwxr-xr-xnewlib/configure3
1 files changed, 2 insertions, 1 deletions
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}"