diff options
author | Thomas Fitzsimmons <fitzsim@redhat.com> | 2002-04-22 18:34:39 +0000 |
---|---|---|
committer | Thomas Fitzsimmons <fitzsim@redhat.com> | 2002-04-22 18:34:39 +0000 |
commit | 7394edbb2e16196a3a67160732b58764f24ea7b1 (patch) | |
tree | ac45409beea433733f1abba29768e1e1786fe16c /newlib/libc/machine/sh/configure | |
parent | cb699ad770a17131a3c0b57a1f7af88e0a1e526e (diff) | |
download | cygnal-7394edbb2e16196a3a67160732b58764f24ea7b1.tar.gz cygnal-7394edbb2e16196a3a67160732b58764f24ea7b1.tar.bz2 cygnal-7394edbb2e16196a3a67160732b58764f24ea7b1.zip |
* acinclude.m4 (newlib_cflags): Remove include directories that
are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
Diffstat (limited to 'newlib/libc/machine/sh/configure')
-rwxr-xr-x | newlib/libc/machine/sh/configure | 28 |
1 files changed, 8 insertions, 20 deletions
diff --git a/newlib/libc/machine/sh/configure b/newlib/libc/machine/sh/configure index e4565cbde..e9ebc0d12 100755 --- a/newlib/libc/machine/sh/configure +++ b/newlib/libc/machine/sh/configure @@ -1403,18 +1403,6 @@ fi . ${newlib_basedir}/configure.host -case ${newlib_basedir} in -/* | A-Za-z:/\\*) newlib_flagbasedir=${newlib_basedir} ;; -*) newlib_flagbasedir='$(top_builddir)/'${newlib_basedir} ;; -esac - -newlib_cflags="${newlib_cflags} -I"'$(top_builddir)'"/../../../targ-include -I${newlib_flagbasedir}/libc/include" -case "${host}" in - *-*-cygwin*) - newlib_cflags="${newlib_cflags} -I${newlib_flagbasedir}/../winsup/cygwin/include -I${newlib_flagbasedir}/../winsup/w32api/include" - ;; -esac - newlib_cflags="${newlib_cflags} -fno-builtin" NEWLIB_CFLAGS=${newlib_cflags} @@ -1441,7 +1429,7 @@ fi echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 -echo "configure:1445: checking how to run the C preprocessor" >&5 +echo "configure:1433: checking how to run the C preprocessor" >&5 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= @@ -1456,13 +1444,13 @@ else # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. cat > conftest.$ac_ext <<EOF -#line 1460 "configure" +#line 1448 "configure" #include "confdefs.h" #include <assert.h> Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1466: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1454: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then : @@ -1473,13 +1461,13 @@ else rm -rf conftest* CPP="${CC-cc} -E -traditional-cpp" cat > conftest.$ac_ext <<EOF -#line 1477 "configure" +#line 1465 "configure" #include "confdefs.h" #include <assert.h> Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1483: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1471: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then : @@ -1490,13 +1478,13 @@ else rm -rf conftest* CPP="${CC-cc} -nologo -E" cat > conftest.$ac_ext <<EOF -#line 1494 "configure" +#line 1482 "configure" #include "confdefs.h" #include <assert.h> Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1500: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1488: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then : @@ -1521,7 +1509,7 @@ fi echo "$ac_t""$CPP" 1>&6 cat > conftest.$ac_ext <<EOF -#line 1525 "configure" +#line 1513 "configure" #include "confdefs.h" #if __SH5__ |