Package: autoconf
Version: 2.69-7
Severity: important

Hi,

during the "getting the main packages ready"-campaign for ppc64el I
noticed that dh-autoreconf doesn't work if a package uses
AM_PROG_LIBTOOL but works with AC_PROG_LIBTOOL though both makros
should behave the same (and are both deprecated) according to
http://www.gnu.org/software/libtool/manual/html_node/LT_005fINIT.html
A sample package for this is version 0.4.5+cvs20030824-7 of smpeg (I
will upload an NMU now for that package, because it prevents the build
of kde4libs).

The following patch changes this behaviour, and would save quite many
sourceful uploads, so I'd ask you to check the fix and if applicable
upload it soon. That would really be a great help for this / all
future ports of Debian (though of course packages should be fixed to
not use deprecated macros, but that's something else).

Severity set to important because it has some impact on upbringing of
the new architectures, but of course please feel free to change it as
appropriate.


Thanks,
Andi

--- autoconf-2.69~/bin/autoreconf.in    2012-04-24 22:00:28.000000000 +0000
+++ autoconf-2.69/bin/autoreconf.in     2014-08-29 20:03:37.979437002 +0000
@@ -472,6 +472,7 @@
             'AC_CONFIG_SUBDIRS',
             'AC_INIT',
             'AC_PROG_LIBTOOL',
+            'AM_PROG_LIBTOOL',
             'LT_INIT',
             'LT_CONFIG_LTDL_DIR',
             'AM_GNU_GETTEXT',
@@ -486,6 +487,7 @@
       $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 -ur autoconf-2.69~/lib/autom4te.in autoconf-2.69/lib/autom4te.in
--- autoconf-2.69~/lib/autom4te.in      2012-01-21 13:46:39.000000000 +0000
+++ autoconf-2.69/lib/autom4te.in       2014-08-29 20:04:05.891437001 +0000
@@ -93,6 +93,7 @@
 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


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to