Commit 7965440a by Alexandre Oliva Committed by Alexandre Oliva

configure.in (FLAGS_FOR_TARGET): Use $target_configdirs and $targargs to tell…

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
parent db310af0
2000-08-25 Alexandre Oliva <aoliva@redhat.com> 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 * configure.in [disable-libstdcxx-v3] (libstdcxx_flags): Search
$$r/TARGET_SUBDIR/libio for _G_config.h. $$r/TARGET_SUBDIR/libio for _G_config.h.
......
...@@ -1235,6 +1235,10 @@ FLAGS_FOR_TARGET= ...@@ -1235,6 +1235,10 @@ FLAGS_FOR_TARGET=
case " $skipdirs " in case " $skipdirs " in
*" target-newlib "*) ;; *" target-newlib "*) ;;
*) *)
case " $target_configdirs " in
*" newlib "*)
case " $targargs " in
*" --with-newlib "*)
case "$target" in case "$target" in
*-cygwin*) *-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' ;; 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 ...@@ -1252,6 +1256,10 @@ case " $skipdirs " in
# switch). # switch).
FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include' 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 esac
# On Canadian crosses, we'll be searching the right directories for # On Canadian crosses, we'll be searching the right directories for
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment