summaryrefslogtreecommitdiff
path: root/libstdc++
diff options
context:
space:
mode:
authorJason Merrill <jason@yorick.cygnus.com>1999-05-12 08:39:23 +0000
committerJason Merrill <jason@gcc.gnu.org>1999-05-12 04:39:23 -0400
commitd960c105fc8a11322dbca07b4dd65937851916c2 (patch)
tree57611b2cd9bfed4be5ac8216aee8c05f76c03fa5 /libstdc++
parent94db2f7184544fc0cc6c625adda0c319db4a0350 (diff)
downloadgcc-d960c105fc8a11322dbca07b4dd65937851916c2.tar.gz
configure.in (compiler_name): Don't do the skip-this-dir thing if we're reconfiguring.
* configure.in (compiler_name): Don't do the skip-this-dir thing if we're reconfiguring. From-SVN: r26899
Diffstat (limited to 'libstdc++')
-rw-r--r--libstdc++/ChangeLog5
-rw-r--r--libstdc++/configure.in4
2 files changed, 8 insertions, 1 deletions
diff --git a/libstdc++/ChangeLog b/libstdc++/ChangeLog
index a75920e12ef..731a4404a2e 100644
--- a/libstdc++/ChangeLog
+++ b/libstdc++/ChangeLog
@@ -1,3 +1,8 @@
+1999-05-12 Jason Merrill <jason@yorick.cygnus.com>
+
+ * configure.in (compiler_name): Don't do the skip-this-dir thing
+ if we're reconfiguring.
+
1999-05-07 Ulrich Drepper <drepper@cygnus.com>
* std/bastring.h (class basic_string::Rep): Make release member
diff --git a/libstdc++/configure.in b/libstdc++/configure.in
index 0f556cac551..c0c701398f1 100644
--- a/libstdc++/configure.in
+++ b/libstdc++/configure.in
@@ -18,9 +18,11 @@ esac
# does, we do not build anything. Note, $r is set by the top-level Makefile.
# Note that when we look for the compiler, we search both with and without
# extension to handle cross and canadian cross builds.
+# Note that if $norecursion is set we're being called from config.status,
+# so don't check for the compiler; we might be doing a make clean.
compiler_name=cc1plus
rm -f skip-this-dir
-if test -n "$r"; then
+if test -n "$r" && [ -z "$norecursion" ] ; then
if test -d "$r"/gcc; then
if test -f "$r"/gcc/$compiler_name \
|| test -f "$r"/gcc/$compiler_name$EXEEXT; then