aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2001-06-01 09:14:43 +0000
committerHans-Peter Nilsson <hp@gcc.gnu.org>2001-06-01 09:14:43 +0000
commit2ae5cea5b7bf65b57569eda9dfe5f896d1c46bf6 (patch)
tree8278208112c04c306a631900fa1a87f68daba853
parentab9141128272eadfa28334b5b54519da8fb0a07d (diff)
downloadgcc-2ae5cea5b7bf65b57569eda9dfe5f896d1c46bf6.zip
gcc-2ae5cea5b7bf65b57569eda9dfe5f896d1c46bf6.tar.gz
gcc-2ae5cea5b7bf65b57569eda9dfe5f896d1c46bf6.tar.bz2
configure.in (libstdcxx_flags): Do not try to execute libstdc++-v3/testsuite_flags until it exists.
* configure.in (libstdcxx_flags): Do not try to execute libstdc++-v3/testsuite_flags until it exists. From-SVN: r42772
-rw-r--r--ChangeLog5
-rw-r--r--configure.in2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 91c231a..f44d804 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-06-01 Hans-Peter Nilsson <hp@axis.com>
+
+ * configure.in (libstdcxx_flags): Do not try to execute
+ libstdc++-v3/testsuite_flags until it exists.
+
2001-06-01 Alan Modra <amodra@bigpond.net.au>
* MAINTAINERS: Update my email address.
diff --git a/configure.in b/configure.in
index f31a5bc..aeacbeb 100644
--- a/configure.in
+++ b/configure.in
@@ -50,7 +50,7 @@ fi
libstdcxx_version="target-libstdc++-v3"
# Don't use libstdc++-v3's flags to configure/build itself.
-libstdcxx_flags='`case $$dir in libstdc++-v3) ;; *) $(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'
+libstdcxx_flags='`case $$dir in libstdc++-v3) ;; *) 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'
# these tools are built for the host environment
# Note, the powerpc-eabi build depends on sim occurring before gdb in order to