added --enable-unicode to configure.ac
This commit is contained in:
32
moo/configure
vendored
32
moo/configure
vendored
@ -848,6 +848,7 @@ with_ltdl_include
|
||||
with_ltdl_lib
|
||||
enable_ltdl_install
|
||||
enable_debug
|
||||
enable_unicode
|
||||
enable_cxx
|
||||
enable_dynamic_module
|
||||
enable_static_module
|
||||
@ -1502,6 +1503,8 @@ Optional Features:
|
||||
--disable-libtool-lock avoid locking (might break parallel builds)
|
||||
--enable-ltdl-install install libltdl
|
||||
--enable-debug build the library in the debug mode (default. no)
|
||||
--enable-unicode Use the unicode character type as the default
|
||||
character type (default. yes)
|
||||
--enable-cxx build the library for C++ if a C++ compiler is
|
||||
available (default. yes)
|
||||
--enable-dynamic-module enable dynamic module capability(default. yes)
|
||||
@ -22518,6 +22521,22 @@ $as_echo "#define MOO_BUILD_RELEASE 1" >>confdefs.h
|
||||
|
||||
fi
|
||||
|
||||
|
||||
# Check whether --enable-unicode was given.
|
||||
if test "${enable_unicode+set}" = set; then :
|
||||
enableval=$enable_unicode; enable_unicode=$enableval
|
||||
else
|
||||
enable_unicode=yes
|
||||
|
||||
fi
|
||||
|
||||
if test "${enable_unicode}" = "yes"
|
||||
then
|
||||
|
||||
$as_echo "#define MOO_ENABLE_UNICODE 1" >>confdefs.h
|
||||
|
||||
fi
|
||||
|
||||
# Check whether --enable-cxx was given.
|
||||
if test "${enable_cxx+set}" = set; then :
|
||||
enableval=$enable_cxx; enable_cxx_is=$enableval
|
||||
@ -22526,7 +22545,6 @@ else
|
||||
|
||||
fi
|
||||
|
||||
|
||||
test "${HAVE_CXX}" = "yes" || enable_cxx_is="no"
|
||||
test "${ax_cv_cxx_have_std_namespace}" = "yes" || enable_cxx_is="no"
|
||||
|
||||
@ -22552,7 +22570,7 @@ test "${enable_shared}" = "no" && enable_dynamic_module_is="no"
|
||||
if test "${enable_dynamic_module_is}" = "yes"
|
||||
then
|
||||
|
||||
$as_echo "#define MOO_ENABLE_DYNAMIC_MODULE /**/" >>confdefs.h
|
||||
$as_echo "#define MOO_ENABLE_DYNAMIC_MODULE 1" >>confdefs.h
|
||||
|
||||
fi
|
||||
if test "${enable_dynamic_module_is}" = "yes"; then
|
||||
@ -22577,7 +22595,7 @@ test "${enable_shared}" = "no" -a "${enable_static}" = "yes" && enable_static_mo
|
||||
if test "${enable_static_module_is}" = "yes"
|
||||
then
|
||||
|
||||
$as_echo "#define MOO_ENABLE_STATIC_MODULE /**/" >>confdefs.h
|
||||
$as_echo "#define MOO_ENABLE_STATIC_MODULE 1" >>confdefs.h
|
||||
|
||||
fi
|
||||
if test "${enable_static_module_is}" = "yes"; then
|
||||
@ -22623,7 +22641,7 @@ fi
|
||||
if test "${enable_mod_con_is}" = "yes"
|
||||
then
|
||||
|
||||
$as_echo "#define MOO_ENABLE_MOD_CON /**/" >>confdefs.h
|
||||
$as_echo "#define MOO_ENABLE_MOD_CON 1" >>confdefs.h
|
||||
|
||||
fi
|
||||
if test "${enable_mod_con_is}" = "yes"; then
|
||||
@ -22646,7 +22664,7 @@ fi
|
||||
if test "${enable_mod_ffi_is}" = "yes"
|
||||
then
|
||||
|
||||
$as_echo "#define MOO_ENABLE_MOD_FFI /**/" >>confdefs.h
|
||||
$as_echo "#define MOO_ENABLE_MOD_FFI 1" >>confdefs.h
|
||||
|
||||
fi
|
||||
if test "${enable_mod_ffi_is}" = "yes"; then
|
||||
@ -22669,7 +22687,7 @@ fi
|
||||
if test "${enable_mod_sck_is}" = "yes"
|
||||
then
|
||||
|
||||
$as_echo "#define MOO_ENABLE_MOD_SCK /**/" >>confdefs.h
|
||||
$as_echo "#define MOO_ENABLE_MOD_SCK 1" >>confdefs.h
|
||||
|
||||
fi
|
||||
if test "${enable_mod_sck_is}" = "yes"; then
|
||||
@ -22692,7 +22710,7 @@ fi
|
||||
if test "${enable_mod_x11_is}" = "yes"
|
||||
then
|
||||
|
||||
$as_echo "#define MOO_ENABLE_MOD_X11 /**/" >>confdefs.h
|
||||
$as_echo "#define MOO_ENABLE_MOD_X11 1" >>confdefs.h
|
||||
|
||||
fi
|
||||
if test "${enable_mod_x11_is}" = "yes"; then
|
||||
|
||||
Reference in New Issue
Block a user