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 | |
parent | 40ce7368d9b8915323c59691110fcfe95e88fcc1 (diff) | |
download | newlib-2955fd7669437cb13d2b228b5f1b6c1dda58fa34.zip newlib-2955fd7669437cb13d2b228b5f1b6c1dda58fa34.tar.gz newlib-2955fd7669437cb13d2b228b5f1b6c1dda58fa34.tar.bz2 |
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.
-rw-r--r-- | newlib/ChangeLog | 7 | ||||
-rw-r--r-- | newlib/Makefile.in | 6 | ||||
-rwxr-xr-x | newlib/configure | 3 | ||||
-rw-r--r-- | newlib/configure.in | 3 |
4 files changed, 14 insertions, 5 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 8d5df9f..9cc8bfe 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,10 @@ +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. + 2002-11-22 Vijay L. Khuspe <vijayk1@kpit.com> * libc/sys/h8300hms/read.c: Add support for normal mode diff --git a/newlib/Makefile.in b/newlib/Makefile.in index 461cb46..d8e388b 100644 --- a/newlib/Makefile.in +++ b/newlib/Makefile.in @@ -1,6 +1,6 @@ -# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am +# Makefile.in generated automatically by automake 1.4 from Makefile.am -# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. +# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -496,7 +496,7 @@ maintainer-clean-recursive: dot_seen=no; \ rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \ rev="$$subdir $$rev"; \ - test "$$subdir" != "." || dot_seen=yes; \ + test "$$subdir" = "." && dot_seen=yes; \ done; \ test "$$dot_seen" = "no" && rev=". $$rev"; \ target=`echo $@ | sed s/-recursive//`; \ diff --git a/newlib/configure b/newlib/configure index c55a6b9..eeb9886 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}" diff --git a/newlib/configure.in b/newlib/configure.in index 99a4b40..2558027 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}" |