added --enable-libltdl to configure

This commit is contained in:
hyunghwan.chung
2017-02-09 16:26:44 +00:00
parent c613b6955d
commit 0178693f77
7 changed files with 74 additions and 12 deletions

34
moo/configure vendored
View File

@ -656,6 +656,8 @@ MOO_SIZEOF_INT
MOO_SIZEOF_LONG
MOO_SIZEOF_LONG_LONG
MOO_SIZEOF_WCHAR_T
ENABLE_LIBLTDL_FALSE
ENABLE_LIBLTDL_TRUE
ENABLE_STATIC_MODULE_FALSE
ENABLE_STATIC_MODULE_TRUE
ENABLE_CXX_FALSE
@ -831,6 +833,7 @@ enable_ltdl_install
enable_debug
enable_cxx
enable_static_module
enable_libltdl
'
ac_precious_vars='build_alias
host_alias
@ -1481,6 +1484,7 @@ Optional Features:
available (default. yes)
--enable-static-module build modules statically into the main
library(default. no)
--enable-libltdl use libltdl(default. yes)
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
@ -18386,6 +18390,7 @@ fi
LIBS="$save_LIBS"
fi
if test "$ac_test_CFLAGS" != "set"
then
if test "$GCC" = "yes"
@ -20565,7 +20570,6 @@ else
fi
test "${enable_shared}" = "no" -a "${enable_static}" = "yes" && enable_static_module_is="yes"
if test "${enable_static_module_is}" = "yes"
@ -20583,6 +20587,30 @@ else
fi
# Check whether --enable-libltdl was given.
if test "${enable_libltdl+set}" = set; then :
enableval=$enable_libltdl; enable_libltdl_is=$enableval
else
enable_libltdl_is=yes
fi
if test "${enable_libltdl_is}" = "yes"
then
$as_echo "#define MOO_ENABLE_LIBLTDL /**/" >>confdefs.h
fi
if test "${enable_libltdl_is}" = "yes"; then
ENABLE_LIBLTDL_TRUE=
ENABLE_LIBLTDL_FALSE='#'
else
ENABLE_LIBLTDL_TRUE='#'
ENABLE_LIBLTDL_FALSE=
fi
MOO_SIZEOF_WCHAR_T=$ac_cv_sizeof_wchar_t
MOO_SIZEOF_LONG_LONG=$ac_cv_sizeof_long_long
@ -20794,6 +20822,10 @@ if test -z "${ENABLE_STATIC_MODULE_TRUE}" && test -z "${ENABLE_STATIC_MODULE_FAL
as_fn_error $? "conditional \"ENABLE_STATIC_MODULE\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${ENABLE_LIBLTDL_TRUE}" && test -z "${ENABLE_LIBLTDL_FALSE}"; then
as_fn_error $? "conditional \"ENABLE_LIBLTDL\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
: "${CONFIG_STATUS=./config.status}"
ac_write_fail=0