* configure.in (libstdcxx_flags): Use libstdc++-v3/src/INCLUDES.

This commit is contained in:
Alexandre Oliva 2000-08-15 08:01:29 +00:00
parent 6d529a974b
commit 9776b6ec98
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2000-08-15 Alexandre Oliva <aoliva@redhat.com>
* configure.in (libstdcxx_flags): Use libstdc++-v3/src/INCLUDES.
2000-08-11 Jason Merrill <jason@redhat.com> 2000-08-11 Jason Merrill <jason@redhat.com>
* configure.in (CC_FOR_TARGET, CHILL_FOR_TARGET, * configure.in (CC_FOR_TARGET, CHILL_FOR_TARGET,

View File

@ -51,7 +51,7 @@ fi
if [ "${enable_libstdcxx_v3}" = "yes" ] && test -d $srcdir/libstdc++-v3; then if [ "${enable_libstdcxx_v3}" = "yes" ] && test -d $srcdir/libstdc++-v3; then
libstdcxx_version="target-libstdc++-v3" libstdcxx_version="target-libstdc++-v3"
# Don't use libstdc++-v3's flags to configure/build itself. # 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 else
libstdcxx_version="target-libio target-libstdc++" 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++' 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++'