Hi, On Mon, 27 Mar 2017 14:04:01 +0200 Andreas Tille <andreas@an3as.eu> wrote: > I try to package pftools[1]. Unfortunately autoreconf throws the > following error: > > dh_autoreconf -O--no-parallel > configure.ac:6: error: possibly undefined macro: AC_MSG_NOTICE > If this token and others are legitimate, please use > m4_pattern_allow. See the Autoconf documentation. > configure.ac:51: error: possibly undefined macro: AC_SUBST > autoreconf: /usr/bin/autoconf failed with exit status: 1 > dh_autoreconf: autoreconf -f -i returned exit code 1 > debian/rules:8: recipe for target 'build' failed > > > Websearches resulted in adding pkg-config to Build-Depends but I > admit I do not understand why this should help to find macros that > are in autoconf doc - and it actually does not help. Any other hints > to get this working? configure.ac uses the AX_PTHREAD macro, you need to build depend on autoconf-archive (which contains /usr/share/aclocal/ax_pthread.m4). Btw, brackets in lines 98-101 of configure.ac, where AX_PTHREAD is used, look really wrong (though I'm not an autoconf expert). Regards Lukas
Attachment:
pgp35hfCVhoH0.pgp
Description: OpenPGP digital signature