Commit 5ac67338 authored by Diego Elio Pettenò's avatar Diego Elio Pettenò

build: use libtool 2.0 and do not disable static build by default.

parent 5254b5d7
......@@ -79,21 +79,7 @@ AC_PROG_MAKE_SET
AC_PROG_INSTALL
AC_PROG_LN_S
dnl --------------------------------------------------------------
dnl Libtool
dnl --------------------------------------------------------------
dnl LT_PREREQ only available in libtool-2.2+
dnl LT_PREREQ([1.4.0])
AC_LIBTOOL_DLOPEN
AC_DISABLE_STATIC
AC_PROG_LIBTOOL
AC_SUBST(LIBTOOL_DEPS)
if ${CONFIG_SHELL} ./libtool --features | grep "enable static" >/dev/null; then
STATIC="-static"
else
STATIC=
fi
AC_SUBST(STATIC)
LT_INIT
dnl --------------------------------------------------------------
dnl Checks for header files.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment