aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2000-08-25 07:04:49 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2000-08-25 07:04:49 +0000
commit7965440a9bfda6f1cdfde23007e437db8d3e0e66 (patch)
treed0162bc246393d99a09518ae8bf9d7342cfde15b /configure.in
parentdb310af088615f5c467d087029ca100e6f03080d (diff)
downloadgcc-7965440a9bfda6f1cdfde23007e437db8d3e0e66.zip
gcc-7965440a9bfda6f1cdfde23007e437db8d3e0e66.tar.gz
gcc-7965440a9bfda6f1cdfde23007e437db8d3e0e66.tar.bz2
configure.in (FLAGS_FOR_TARGET): Use $target_configdirs and $targargs to tell whether newlib is going to be built.
* configure.in (FLAGS_FOR_TARGET): Use $target_configdirs and $targargs to tell whether newlib is going to be built. From-SVN: r35969
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 5313258..55b853c 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