30 March 2012

AC_PROG_RANLIB needed?

Several users reported problems running "./configure" and that only adding "AC_PROG_RANLIB" to configure.ac helped to solve the issue. The blog statistics show some searches on this too. It is not yet clear what causes this problem. Still adding "AC_PROG_RANLIB" shouldn't be neceesary as we have "LT_INIT" in configure.ac. And according to the libtool documentation
— Macro: LT_INIT (options)
— Macro: AC_PROG_LIBTOOL
— Macro: AM_PROG_LIBTOOL

   Add support for the --enable-shared, --disable-shared,
--enable-static, --disable-static, --with-pic, and --without-pic
configure flags.1 AC_PROG_LIBTOOL and AM_PROG_LIBTOOL are deprecated
names for older versions of this macro; autoupdate will upgrade your
configure.ac files.
Does anyone reading knows a solution to this problem?

No comments: