aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2002-06-19 23:53:30 +0000
committerDJ Delorie <dj@redhat.com>2002-06-19 23:53:30 +0000
commit8ee424c07175a10db820f75089b2aafc970d114a (patch)
tree9899095480d7c563522b98bde460b5d2bd0bda3e
parenta32d391c219c79f69c32a412300a455ab9eabcde (diff)
downloadgdb-8ee424c07175a10db820f75089b2aafc970d114a.zip
gdb-8ee424c07175a10db820f75089b2aafc970d114a.tar.gz
gdb-8ee424c07175a10db820f75089b2aafc970d114a.tar.bz2
* configure.in: Move definition of libstdcxx_flags
right above usage, rather than waaay earlier.
-rw-r--r--ChangeLog3
-rw-r--r--configure.in6
2 files changed, 6 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index cb89c2b..5afa570 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2002-06-19 Nathanael Nerode <neroden@twcny.rr.com>
+ * configure.in: Move definition of libstdcxx_flags
+ right above usage, rather than waaay earlier.
+
* configure.in: Pull definition of is_cross_compiler earlier.
* configure.in: Rearrange a little.
diff --git a/configure.in b/configure.in
index 334fc70..4919402 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