OSDN Git Service

* configure: Rebuilt.
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 May 2001 21:31:23 +0000 (21:31 +0000)
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 May 2001 21:31:23 +0000 (21:31 +0000)
* configure.in: Only add multilib support code if we just rebuilt
top-level Makefile.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42693 138bc75d-0d04-0410-961f-82ee72b054a4

libjava/ChangeLog
libjava/configure
libjava/configure.in

index 2e88c1b..ba8529e 100644 (file)
@@ -1,3 +1,9 @@
+2001-05-29  Tom Tromey  <tromey@redhat.com>
+
+       * configure: Rebuilt.
+       * configure.in: Only add multilib support code if we just rebuilt
+       top-level Makefile.
+
 2001-05-29  Andrew Haley  <aph@redhat.com>
 
         * include/i386-signal.h (MAKE_THROW_FRAME): Don't fix up frame
index 9576bfc..770ff68 100755 (executable)
@@ -7299,9 +7299,12 @@ for am_file in include/config.h gcj/libgcj-config.h; do
   esac
   am_indx=`expr "$am_indx" + 1`
 done
-if test -n "$CONFIG_FILES"; then
-  ac_file=Makefile . ${libgcj_basedir}/../config-ml.in
-fi
+# Only add multilib support code if we just rebuilt top-level Makefile.
+case " $CONFIG_FILES " in
+ *" Makefile "*)
+   ac_file=Makefile . ${libgcj_basedir}/../config-ml.in
+   ;;
+esac
 
 # Make subdirectories and `.d' files.  Look in both srcdir and
 # builddir for the .java files.
index 0c36ee1..bdd9339 100644 (file)
@@ -820,9 +820,12 @@ AC_SUBST(here)
 AC_SUBST(GCJFLAGS)
 
 AC_OUTPUT(Makefile libgcj.spec libgcj-test.spec gnu/classpath/Configuration.java gcj/Makefile include/Makefile testsuite/Makefile,
-[if test -n "$CONFIG_FILES"; then
-  ac_file=Makefile . ${libgcj_basedir}/../config-ml.in
-fi
+[# Only add multilib support code if we just rebuilt top-level Makefile.
+case " $CONFIG_FILES " in
+ *" Makefile "*)
+   ac_file=Makefile . ${libgcj_basedir}/../config-ml.in
+   ;;
+esac
 
 # Make subdirectories and `.d' files.  Look in both srcdir and
 # builddir for the .java files.