+2003-11-12 Akim Demaille <akim@epita.fr>
+
+ * bin/autoreconf.in (&parse_args): Don't call automake with
+ --force-missing unless it actually supports it.
+ From Debian #219336.
+
2003-11-12 Akim Demaille <akim@epita.fr>
* configure.ac: Bump to 2.59a.
my $symlink = 0;
# Does aclocal support --force?
my $aclocal_supports_force = 0;
+# Does automake support --force-missing?
+my $automake_supports_force_missing = 0;
my @prepend_include;
my @include;
}
$aclocal_supports_force = `$aclocal --help` =~ /--force/;
+ $automake_supports_force_missing = `$automake --help` =~ /--force-missing/;
# Dispatch autoreconf's option to the tools.
# --include;
if $aclocal_supports_force;
$autoconf .= ' --force';
$autoheader .= ' --force';
- $automake .= ' --force-missing';
+ $automake .= ' --force-missing'
+ if $automake_supports_force_missing;
$autopoint .= ' --force';
$libtoolize .= ' --force';
}