Thu Nov 21 22:29:30 1996 Tom Tromey <tromey@cygnus.com>
+ * automake.in (scan_configure): AC_FUNC_FNMATCH doesn't add to
+ LIBOBJS.
+ (handle_configure): Support multi-":" mode for AC_OUTPUT.
+
* m4/header.m4: New file.
* automake.in (scan_configure): Recognize AM_CONFIG_HEADER.
# Now look for other files in this directory which must be remade
# by config.status, and generate rules for them.
local (@actual_other_files) = ();
- local ($file, $local, $input);
+ local ($file, $local);
+ local (@inputs);
foreach $file (@other_input_files)
{
# Skip files not in this directory, any Makefile, and the
if ($local =~ /^(.*):(.*)$/)
{
# This is the ":" syntax of AC_OUTPUT.
- $input = $2;
+ @inputs = split (':', $2)
$local = $1;
}
else
{
# Normal usage.
- $input = $local . '.in';
+ push (@inputs, $local . '.in');
}
# FIXME: when using autoconf ":" syntax, should we set CONFIG_FILES
# to $local:$input?
$output_rules .= ($local . ': '
- . '$(top_builddir)/config.status ' . $input . "\n"
+ . '$(top_builddir)/config.status '
+ . join (' ', @inputs) . "\n"
. "\t"
. 'cd $(top_builddir) && CONFIG_FILES='
. ($relative_dir eq '.' ? '' : '$(subdir)/')