OSDN Git Service

* toplev.c (compile_file): Call allocate_reg_info to free register
[pf3gnuchains/gcc-fork.git] / libf2c / configure.in
index f5a9427..dbe069a 100644 (file)
@@ -30,6 +30,9 @@ if test "${srcdir}" = "."  ; then
 else
   topsrcdir=${srcdir}/..
 fi
+dnl This is needed for a multilibbed build in the source tree so
+dnl that install-sh and config.sub get found.
+AC_CONFIG_AUX_DIR($topsrcdir)
 
 dnl Checks for programs.
 # For g77 we'll set CC to point at the built gcc, but this will get it into
@@ -171,11 +174,12 @@ fi
 
 AC_SUBST(gcc_version)
 AC_SUBST(gcc_version_trigger)
-dnl AC_CANONICAL_SYSTEM
+AC_CANONICAL_SYSTEM
 AC_SUBST(target_alias)
 AC_CONFIG_SUBDIRS(libU77 libI77 libF77)
 # Do Makefile first since g2c.h depends on it and shouldn't get an
-# earlier timestamp.
+# earlier timestamp.  Of course, it does when the multilib gunk below
+# edits Makefile, sigh; see additional touch below.
 AC_OUTPUT(Makefile g2c.h:g2c.hin,
  [test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
 if test -n "$CONFIG_FILES"; then
@@ -183,6 +187,7 @@ if test -n "$CONFIG_FILES"; then
     # FIXME: We shouldn't need to set ac_file
     ac_file=Makefile
     . ${topsrcdir}/config-ml.in
+    touch g2c.h   # to keep it more recent than Makefile
   fi
 fi],
 srcdir=${srcdir}