bootstrap_libtoolize() {
ltver=$1
- # TODO: when we have libtool2, tell libtoolize where to put its files
- # instead of manualy moving files from ltdl to lib/libLtdl
- if egrep -q '^[[:space:]]*AC_LIBLTDL_' configure.ac
- then
- ltdl="--ltdl"
- else
- ltdl=""
- fi
+ ltdl="--ltdl"
bootstrap libtoolize$ltver $ltdl --force --copy --automake
AC_MSG_RESULT($squid_host_os (version $squid_host_os_version))
# on windows squid_host_os is either mingw or cygwin, version is 32
+# this needs to be before any test is run, to have more standard
+# functions available on some Unix sysems (e.g. Solaris)
+if test "x$squid_host_os" = "solaris" -a "x$GCC" != "x" ; then
+ AC_USE_SYSTEM_EXTENSIONS
+fi
+
# test for programs
AC_PROG_RANLIB
AC_PROG_CPP
AR_R="$AR r"
AC_SUBST(AR_R)
-# this needs to be before any test is run, to have more standard
-# functions available on some Unix sysems (e.g. Solaris)
-if test "x$squid_host_os" = "solaris" -a "x$GCC" != "x" ; then
- AC_USE_SYSTEM_EXTENSIONS
-fi
-
AC_ARG_ENABLE(strict-error-checking,
AS_HELP_STRING([--disable-strict-error-checking],[By default squid is compiled
with all possible static compiler error-checks enabled.
AC_DISABLE_SHARED
fi
+AC_PROG_LIBTOOL
LT_INIT([dlopen],[disable-shared])
if ! test "${ac_top_build_prefix}" = "";
then