Linux LTDL v3-v7 macros assume the autoconf 2.62 variable top_build_prefix
is defined. But from autoconf 2.64 it's called ac_top_build_prefix and not
automatically added to the Makefile.
There seems to be no harm with sustituting it manually under autoconf 2.61 and 2.62
AC_LIBTOOL_DLOPEN
if test $use_loadable_modules = yes;
then
+ dnl Linux LTDL v3-v7 macros assume the autoconf 2.62 variable top_build_prefix is defined
+ dnl But from autoconf 2.64 its called ac_top_build_prefix and not automatically added to the Makefile
+ top_build_prefix=${ac_top_build_prefix}
+ AC_SUBST(top_build_prefix)
+
AC_LIBLTDL_CONVENIENCE(lib/libLtdl)
fi
AC_PROG_LIBTOOL
# Default configuration options.
# - Nothing special configured. Just whatever is found by "./configure"
#
-OPTS="--disable-loadable-modules"
+OPTS=""
# Fix the distclean testing.
export DISTCHECK_CONFIGURE_FLAGS="${OPTS}"
#
#
OPTS=" \
- --disable-loadable-modules \
+ --enable-loadable-modules \
--enable-gnuregex \
--enable-optimizations \
--enable-inline \
\
--disable-maintainer-mode \
--disable-dependency-tracking \
- --disable-loadable-modules \
--enable-inline \
--enable-async-io=8 \
--enable-storeio="ufs,aufs,coss,diskd,null" \