diff options
author | DJ Delorie <dj@delorie.com> | 2002-06-19 23:53:30 +0000 |
---|---|---|
committer | DJ Delorie <dj@delorie.com> | 2002-06-19 23:53:30 +0000 |
commit | fc784b394473303bc831bbfdca9e2ce5f79df913 (patch) | |
tree | b6dd0e25dd77a04bc0e488974e69bc14ca6d2748 /configure.in | |
parent | 750c0b13969defa2d3a17d8995c82588ef340ec5 (diff) | |
download | gdb-fc784b394473303bc831bbfdca9e2ce5f79df913.tar.gz |
* configure.in: Move definition of libstdcxx_flags
right above usage, rather than waaay earlier.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.in b/configure.in index 334fc70a3cd..49194021c45 100644 --- a/configure.in +++ b/configure.in @@ -127,9 +127,6 @@ else is_cross_compiler=yes fi -# Don't use libstdc++-v3's flags to configure/build itself. -libstdcxx_flags='`case $$dir in libstdc++-v3 | libjava) ;; *) test ! -f $$r/$(TARGET_SUBDIR)/libstdc++-v3/testsuite_flags || $(SHELL) $$r/$(TARGET_SUBDIR)/libstdc++-v3/testsuite_flags --build-includes;; esac` -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs' - # Work in distributions that contain no compiler tools, like Autoconf. tentative_cc="" if test -d ${srcdir}/config ; then @@ -1558,6 +1555,9 @@ case $GCJ_FOR_TARGET in *) GCJ_FOR_TARGET=$GCJ_FOR_TARGET' $(FLAGS_FOR_TARGET)' ;; esac +# Don't use libstdc++-v3's flags to configure/build itself. +libstdcxx_flags='`case $$dir in libstdc++-v3 | libjava) ;; *) test ! -f $$r/$(TARGET_SUBDIR)/libstdc++-v3/testsuite_flags || $(SHELL) $$r/$(TARGET_SUBDIR)/libstdc++-v3/testsuite_flags --build-includes;; esac` -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs' + if test "x${CXX_FOR_TARGET+set}" = xset; then : elif test -d ${topsrcdir}/gcc; then |