Subject: c-ares 1.11.0 autoconf/libtool issue

c-ares 1.11.0 autoconf/libtool issue

From: Brad House <brad_at_mainstreetsoftworks.com>
Date: Fri, 11 Mar 2016 10:23:26 -0500

It appears there was some change made from 1.10.0 to 1.11.0 that makes
c-ares incompatible with running
   autoreconf -iv
in order to generate the configure scripts, etc. It appears you can
only successfully do that by running the "buildconf" script included
with c-ares now.

Anyone know why this change was made or if it was intentional? The
solution is to replace XC_LIBTOOL with LT_INIT in configure.ac, but
I'm not exactly what XC_LIBTOOL provides over LT_INIT and why that
change was made. Since LT_INIT isn't in configure.ac, libtool doesn't
appear to write files like ltmain.sh that the rest of the process
requires.

The output using autoreconf now is:

$ autoreconf -iv
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I m4
autoreconf: configure.ac: tracing
autoreconf: configure.ac: adding subdirectory test to autoreconf
autoreconf: Entering directory `test'
autoreconf: running: aclocal -I ../m4
autoreconf: running: libtoolize --install --copy
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `../m4'.
libtoolize: copying file `../m4/libtool.m4'
libtoolize: copying file `../m4/ltoptions.m4'
libtoolize: copying file `../m4/ltsugar.m4'
libtoolize: copying file `../m4/ltversion.m4'
libtoolize: copying file `../m4/lt~obsolete.m4'
autoreconf: running: /usr/bin/autoconf
autoreconf: running: /usr/bin/autoheader
autoreconf: running: automake --add-missing --copy --no-force
configure.ac:12: installing `../config.guess'
configure.ac:12: installing `../config.sub'
configure.ac:12: required file `../ltmain.sh' not found
configure.ac:6: installing `../missing'
Makefile.am: installing `../depcomp'
autoreconf: automake failed with exit status: 1

-Brad
Received on 2016-03-11