fixed build files again

This commit is contained in:
2018-04-09 06:11:57 +00:00
parent 16ac5fe68d
commit 8f3191011c
4 changed files with 43 additions and 17 deletions

View File

@ -597,7 +597,10 @@ AC_ARG_ENABLE([dynamic-module],
enable_dynamic_module_is=$enableval,
enable_dynamic_module_is=yes
)
test "${enable_shared}" = "no" && enable_dynamic_module_is="no"
if test "${enable_shared}" = "no"
then
enable_dynamic_module_is="no"
fi
if test "${enable_dynamic_module_is}" = "yes"
then
@ -611,7 +614,11 @@ AC_ARG_ENABLE([static-module],
enable_static_module_is=$enableval,
enable_static_module_is=no
)
test "${enable_shared}" = "no" -a "${enable_static}" = "yes" && enable_static_module_is="yes"
if test "${enable_shared}" = "no" -a "${enable_static}" = "yes"
then
enable_static_module_is="yes"
fi
if test "${enable_static_module_is}" = "yes"
then