diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2002-11-22 19:54:22 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2002-11-22 19:54:22 +0000 |
commit | 2955fd7669437cb13d2b228b5f1b6c1dda58fa34 (patch) | |
tree | 359bfeb2fdabdf9d531660f2bac58b964898f964 /newlib/configure | |
parent | 40ce7368d9b8915323c59691110fcfe95e88fcc1 (diff) | |
download | cygnal-2955fd7669437cb13d2b228b5f1b6c1dda58fa34.tar.gz cygnal-2955fd7669437cb13d2b228b5f1b6c1dda58fa34.tar.bz2 cygnal-2955fd7669437cb13d2b228b5f1b6c1dda58fa34.zip |
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.
Diffstat (limited to 'newlib/configure')
-rwxr-xr-x | newlib/configure | 3 |
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}" |