+2002-07-18 Akim Demaille <akim@epita.fr>,
+ Alexandre Duret-Lutz <duret_g@epita.fr>
+
+ * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
+ _AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
+
2002-07-17 Russ Allbery <rra@stanford.edu>
* doc/autoconf.texi (Initializing configure): Clarify the
[m4_append([AC_OUTPUT_COMMANDS_PRE], [$1
])])
-# Initialize.
-m4_define([AC_OUTPUT_COMMANDS_PRE])
+
+# AC_OUTPUT_COMMANDS_PRE
+# ----------------------
+m4_define([AC_OUTPUT_COMMANDS_PRE],
+[])
# AC_CONFIG_COMMANDS_POST(CMDS)
cat $tmp/config.h
rm -f $tmp/config.h
fi
+dnl If running for Automake, be ready to perform additional
+dnl commands to set up the timestamp files.
+m4_ifdef([_AC_AM_CONFIG_HEADER_HOOK],
+ [_AC_AM_CONFIG_HEADER_HOOK([$ac_file])
+])dnl
m4_ifset([AC_LIST_HEADERS_COMMANDS],
[ # Run the commands associated with the file.
case $ac_file in