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 /configure.in | |
parent | a49a35239fe4742dfa5d97f1ea8f7afc92f3d605 (diff) | |
download | gcc-681dbe98612209aa9731cede577fe6d1c4c2f206.tar.gz |
* 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
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 8 |
1 files changed, 8 insertions, 0 deletions
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 |