summaryrefslogtreecommitdiff
path: root/bin/autoreconf.in
diff options
context:
space:
mode:
authorAndreas Barth <aba@ayous.org>2020-06-29 16:51:08 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2020-06-29 17:08:26 -0700
commit9019c72d8fec5e29366f6065bb9d6429aa3d397d (patch)
tree88203319bc61801c03e2cae21e2324383ef9956e /bin/autoreconf.in
parent8a09003664733eb6bef031f56ef9cd575e403023 (diff)
downloadautoconf-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
Diffstat (limited to 'bin/autoreconf.in')
-rw-r--r--bin/autoreconf.in2
1 files changed, 2 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";