Touch g2c.h in AC_OUTPUT after multilib disturbance.
authorDave Love <fx@gcc.gnu.org>
Sat, 24 Oct 1998 09:01:49 +0000 (09:01 +0000)
committerDave Love <fx@gcc.gnu.org>
Sat, 24 Oct 1998 09:01:49 +0000 (09:01 +0000)
From-SVN: r23270

libf2c/configure.in

index aedd742..dbe069a 100644 (file)
@@ -178,7 +178,8 @@ 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
@@ -186,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}