From: Alexandre Duret-Lutz Date: Mon, 25 Aug 2003 06:38:39 +0000 (+0000) Subject: * bin/autoreconf.in (parse_args): Do not pass --no-force to X-Git-Tag: AUTOCONF-2.57c~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6feb338dd087cdedc1f786e5df5db6a9cfb63a9d;p=thirdparty%2Fautoconf.git * bin/autoreconf.in (parse_args): Do not pass --no-force to Automake versions prior to 1.8. --- diff --git a/ChangeLog b/ChangeLog index c0126250..d61cc7d4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-08-25 Alexandre Duret-Lutz + + * bin/autoreconf.in (parse_args): Do not pass --no-force to + Automake versions prior to 1.8. + 2003-08-25 Akim Demaille * doc/autoconf.texi (Header Portability): netinet/if_ether.h. diff --git a/bin/autoreconf.in b/bin/autoreconf.in index 6880cdd3..aa0f2e28 100644 --- a/bin/autoreconf.in +++ b/bin/autoreconf.in @@ -200,7 +200,12 @@ sub parse_args () } else { - $automake .= ' --no-force'; + # The implementation of --no-force is bogus in all implementations + # of Automake up to 1.8, so we avoid it in these cases. (Automake + # 1.8 is the first version where aclocal supports force, hence + # the condition.) + $automake .= ' --no-force' + if $aclocal_supports_force; } # --debug; if ($debug)