# the command line like "env acver=.. amver=... ./bootstrap.sh"
acversions="${acver:-2.63 2.62 2.61}"
amversions="${amver:-1.11 1.10 1.9}"
-ltversions="${ltver:-1.5 1.4}"
+ltversions="${ltver:-2.2 1.5 1.4}"
check_version()
{
- eval $2 --version 2>/dev/null | grep -i "$1.*$3" >/dev/null
+ eval $2 --version 2>/dev/null | grep -i "$1.* $3" >/dev/null
}
show_version()
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" \