aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2000-08-15 08:01:29 +0000
committerAlexandre Oliva <aoliva@redhat.com>2000-08-15 08:01:29 +0000
commit9776b6ec984ca9fe2fa0d2b56249e4d57830cc38 (patch)
tree0c62d48e1ceb5da4929efd54d1dbd7b546a11a16 /configure.in
parent6d529a974bebc6155495549ee92ea0a608774e02 (diff)
downloadnewlib-9776b6ec984ca9fe2fa0d2b56249e4d57830cc38.zip
newlib-9776b6ec984ca9fe2fa0d2b56249e4d57830cc38.tar.gz
newlib-9776b6ec984ca9fe2fa0d2b56249e4d57830cc38.tar.bz2
* configure.in (libstdcxx_flags): Use libstdc++-v3/src/INCLUDES.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 88c6b17..bde0d16 100644
--- a/configure.in
+++ b/configure.in
@@ -51,7 +51,7 @@ fi
if [ "${enable_libstdcxx_v3}" = "yes" ] && test -d $srcdir/libstdc++-v3; then
libstdcxx_version="target-libstdc++-v3"
# Don't use libstdc++-v3's flags to configure/build itself.
- libstdcxx_flags='`case $$dir in libstdc++-v3) ;; *) test -f $$r/$(TARGET_SUBDIR)/libstdc++-v3/mkcheck && $(SHELL) $$r/$(TARGET_SUBDIR)/libstdc++-v3/mkcheck 2 $$r/$(TARGET_SUBDIR)/libstdc++-v3 $$s/libstdc++-v3 | sed -e '"'s/-I/-isystem /g'"' ;; esac` -L$$r/$(TARGET_SUBDIR)/libstd++-v3/src -L$$r/$(TARGET_SUBDIR)/libstd++-v3/src/.libs'
+ libstdcxx_flags='`case $$dir in libstdc++-v3) ;; *) cat $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/INCLUDES 2>/dev/null || : ;; esac` -L$$r/$(TARGET_SUBDIR)/libstd++-v3/src -L$$r/$(TARGET_SUBDIR)/libstd++-v3/src/.libs'
else
libstdcxx_version="target-libio target-libstdc++"
libstdcxx_flags='-isystem $$s/libstdc++ -isystem $$s/libstdc++/std -isystem $$s/libstdc++/stl -isystem $$s/libio/ -isystem $$s/libio/stdio -L$$r/$(TARGET_SUBDIR)/libstdc++'