summaryrefslogtreecommitdiff
path: root/libf2c
diff options
context:
space:
mode:
Diffstat (limited to 'libf2c')
-rwxr-xr-xlibf2c/configure6
1 files changed, 4 insertions, 2 deletions
diff --git a/libf2c/configure b/libf2c/configure
index 628d7ca8e28..2791f66ee84 100755
--- a/libf2c/configure
+++ b/libf2c/configure
@@ -1200,6 +1200,8 @@ test "$host_alias" != "$target_alias" &&
subdirs="libU77 libI77 libF77"
+# Do Makefile first since g2c.h depends on it and shouldn't get an
+# earlier timestamp.
trap '' 1 2 15
cat > confcache <<\EOF
# This file is a shell script that caches the results of configure
@@ -1313,7 +1315,7 @@ done
ac_given_srcdir=$srcdir
ac_given_INSTALL="$INSTALL"
-trap 'rm -fr `echo "g2c.h:g2c.hin Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
+trap 'rm -fr `echo "Makefile g2c.h:g2c.hin" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
EOF
cat >> $CONFIG_STATUS <<EOF
@@ -1412,7 +1414,7 @@ EOF
cat >> $CONFIG_STATUS <<EOF
-CONFIG_FILES=\${CONFIG_FILES-"g2c.h:g2c.hin Makefile"}
+CONFIG_FILES=\${CONFIG_FILES-"Makefile g2c.h:g2c.hin"}
EOF
cat >> $CONFIG_STATUS <<\EOF
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then