diff options
author | Andreas Barth <aba@ayous.org> | 2020-06-29 16:51:08 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2020-06-29 17:08:26 -0700 |
commit | 9019c72d8fec5e29366f6065bb9d6429aa3d397d (patch) | |
tree | 88203319bc61801c03e2cae21e2324383ef9956e | |
parent | 8a09003664733eb6bef031f56ef9cd575e403023 (diff) | |
download | autoconf-9019c72d8fec5e29366f6065bb9d6429aa3d397d.tar.gz |
Look for AM_PROG_LIBTOOL too
This helps out dh-autoreconf on Debian
<https://bugs.debian.org/759739>.
* bin/autoreconf.in (autoreconf_current_directory):
* lib/autom4te.in (args): Look for AM_PROG_LIBTOOL too.
Copyright-paperwork-exempt: Yes
-rw-r--r-- | bin/autoreconf.in | 2 | ||||
-rw-r--r-- | lib/autom4te.in | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/bin/autoreconf.in b/bin/autoreconf.in index cceb2358..12806d3a 100644 --- a/bin/autoreconf.in +++ b/bin/autoreconf.in @@ -398,6 +398,7 @@ sub autoreconf_current_directory () 'AC_CONFIG_SUBDIRS', 'AC_INIT', 'AC_PROG_LIBTOOL', + 'AM_PROG_LIBTOOL', 'LT_INIT', 'LT_CONFIG_LTDL_DIR', 'AM_GNU_GETTEXT', @@ -412,6 +413,7 @@ sub autoreconf_current_directory () $uses_autoconf = 1 if $macro eq "AC_INIT"; $uses_gettext_via_traces = 1 if $macro eq "AM_GNU_GETTEXT"; $uses_libtool = 1 if $macro eq "AC_PROG_LIBTOOL" + || $macro eq "AM_PROG_LIBTOOL" || $macro eq "LT_INIT"; $uses_libltdl = 1 if $macro eq "LT_CONFIG_LTDL_DIR"; $uses_autoheader = 1 if $macro eq "AC_CONFIG_HEADERS"; diff --git a/lib/autom4te.in b/lib/autom4te.in index 3a45125a..65d42ebd 100644 --- a/lib/autom4te.in +++ b/lib/autom4te.in @@ -98,6 +98,7 @@ args: --preselect AC_CONFIG_MACRO_DIR_TRACE args: --preselect AC_CONFIG_SUBDIRS args: --preselect AC_INIT args: --preselect AC_PROG_LIBTOOL +args: --preselect AM_PROG_LIBTOOL args: --preselect LT_INIT args: --preselect LT_CONFIG_LTDL_DIR args: --preselect AM_GNU_GETTEXT |