added --enable-mod-x11 and --enable-mod-ffi to configure

This commit is contained in:
hyunghwan.chung
2017-04-28 04:03:52 +00:00
parent 9ee7d9e110
commit bce77eda6c
10 changed files with 199 additions and 43 deletions

74
moo/configure vendored
View File

@ -656,6 +656,10 @@ MOO_SIZEOF_INT
MOO_SIZEOF_LONG
MOO_SIZEOF_LONG_LONG
MOO_SIZEOF_WCHAR_T
ENABLE_MOD_X11_FALSE
ENABLE_MOD_X11_TRUE
ENABLE_MOD_FFI_FALSE
ENABLE_MOD_FFI_TRUE
ENABLE_LIBLTDL_FALSE
ENABLE_LIBLTDL_TRUE
ENABLE_STATIC_MODULE_FALSE
@ -837,6 +841,8 @@ enable_cxx
enable_dynamic_module
enable_static_module
enable_libltdl
enable_mod_ffi
enable_mod_x11
'
ac_precious_vars='build_alias
host_alias
@ -1489,6 +1495,8 @@ Optional Features:
--enable-static-module build modules statically into the main
library(default. no)
--enable-libltdl use libltdl(default. yes)
--enable-mod-ffi enable mod/ffi (default. yes)
--enable-mod-x11 enable mod/x11 (default. yes)
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
@ -18850,6 +18858,18 @@ fi
done
for ac_header in xcb/xcb.h
do :
ac_fn_c_check_header_mongrel "$LINENO" "xcb/xcb.h" "ac_cv_header_xcb_xcb_h" "$ac_includes_default"
if test "x$ac_cv_header_xcb_xcb_h" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_XCB_XCB_H 1
_ACEOF
fi
done
for ac_func in gettimeofday settimeofday clock_gettime clock_settime getitimer setitimer
@ -20665,6 +20685,52 @@ else
fi
# Check whether --enable-mod-ffi was given.
if test "${enable_mod_ffi+set}" = set; then :
enableval=$enable_mod_ffi; enable_mod_ffi_is=$enableval
else
enable_mod_ffi_is=yes
fi
if test "${enable_mod_ffi_is}" = "yes"
then
$as_echo "#define MOO_ENABLE_MOD_FFI /**/" >>confdefs.h
fi
if test "${enable_mod_ffi_is}" = "yes"; then
ENABLE_MOD_FFI_TRUE=
ENABLE_MOD_FFI_FALSE='#'
else
ENABLE_MOD_FFI_TRUE='#'
ENABLE_MOD_FFI_FALSE=
fi
# Check whether --enable-mod-x11 was given.
if test "${enable_mod_x11+set}" = set; then :
enableval=$enable_mod_x11; enable_mod_x11_is=$enableval
else
enable_mod_x11_is=yes
fi
if test "${enable_mod_x11_is}" = "yes"
then
$as_echo "#define MOO_ENABLE_MOD_X11 /**/" >>confdefs.h
fi
if test "${enable_mod_x11_is}" = "yes"; then
ENABLE_MOD_X11_TRUE=
ENABLE_MOD_X11_FALSE='#'
else
ENABLE_MOD_X11_TRUE='#'
ENABLE_MOD_X11_FALSE=
fi
MOO_SIZEOF_WCHAR_T=$ac_cv_sizeof_wchar_t
MOO_SIZEOF_LONG_LONG=$ac_cv_sizeof_long_long
@ -20884,6 +20950,14 @@ 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
if test -z "${ENABLE_MOD_FFI_TRUE}" && test -z "${ENABLE_MOD_FFI_FALSE}"; then
as_fn_error $? "conditional \"ENABLE_MOD_FFI\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${ENABLE_MOD_X11_TRUE}" && test -z "${ENABLE_MOD_X11_FALSE}"; then
as_fn_error $? "conditional \"ENABLE_MOD_X11\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
: "${CONFIG_STATUS=./config.status}"
ac_write_fail=0