diff options
| author | aoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-08-25 07:04:49 +0000 |
|---|---|---|
| committer | aoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-08-25 07:04:49 +0000 |
| commit | 681dbe98612209aa9731cede577fe6d1c4c2f206 (patch) | |
| tree | d0162bc246393d99a09518ae8bf9d7342cfde15b | |
| parent | a49a35239fe4742dfa5d97f1ea8f7afc92f3d605 (diff) | |
| download | ppe42-gcc-681dbe98612209aa9731cede577fe6d1c4c2f206.tar.gz ppe42-gcc-681dbe98612209aa9731cede577fe6d1c4c2f206.zip | |
* configure.in (FLAGS_FOR_TARGET): Use $target_configdirs and
$targargs to tell whether newlib is going to be built.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35969 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | ChangeLog | 3 | ||||
| -rw-r--r-- | configure.in | 8 |
2 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index af4d7608e4d..9d832c6bddc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2000-08-25 Alexandre Oliva <aoliva@redhat.com> + * configure.in (FLAGS_FOR_TARGET): Use $target_configdirs and + $targargs to tell whether newlib is going to be built. + * configure.in [disable-libstdcxx-v3] (libstdcxx_flags): Search $$r/TARGET_SUBDIR/libio for _G_config.h. diff --git a/configure.in b/configure.in index 5313258b402..55b853c3914 100644 --- a/configure.in +++ b/configure.in @@ -1235,6 +1235,10 @@ FLAGS_FOR_TARGET= case " $skipdirs " in *" target-newlib "*) ;; *) + case " $target_configdirs " in + *" newlib "*) + case " $targargs " in + *" --with-newlib "*) case "$target" in *-cygwin*) FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -L$$r/$(TARGET_SUBDIR)/winsup/w32api/lib -isystem $$s/winsup/include -isystem $$s/winsup/cygwin/include -isystem $$s/winsup/w32api/include -isystem $$s/newlib/libc/sys/cygwin -isystem $$s/newlib/libc/sys/cygwin32' ;; @@ -1252,6 +1256,10 @@ case " $skipdirs " in # switch). FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include' ;; + esac + ;; + esac + ;; esac # On Canadian crosses, we'll be searching the right directories for |

