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/ChangeLog | 7 +++++++ newlib/Makefile.in | 6 +++--- newlib/configure | 3 ++- newlib/configure.in | 3 ++- 4 files changed, 14 insertions(+), 5 deletions(-) (limited to 'newlib') diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 8d5df9f26..9cc8bfec4 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,10 @@ +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. + 2002-11-22 Vijay L. Khuspe * libc/sys/h8300hms/read.c: Add support for normal mode diff --git a/newlib/Makefile.in b/newlib/Makefile.in index 461cb4603..d8e388bc3 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 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}" 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}" -- cgit v1.2.3