improved the HAWK_MOD m4 macro

This commit is contained in:
hyung-hwan 2025-05-25 17:30:22 +09:00
parent cbf85790ec
commit 4478ab6677
2 changed files with 42 additions and 0 deletions

35
configure vendored
View File

@ -28056,6 +28056,13 @@ fi
then
enable_mod_ffi_static_is="yes"
fi
elif test "x${enable_mod_ffi_is}" = "xyes"
then
if test "x${enable_shared}" = "xno" -a "x${enable_static}" = "xyes"
then
## not configured to produce shared objects
enable_mod_ffi_static_is="yes"
fi
fi
@ -28124,6 +28131,13 @@ fi
then
enable_mod_memc_static_is="yes"
fi
elif test "x${enable_mod_memc_is}" = "xyes"
then
if test "x${enable_shared}" = "xno" -a "x${enable_static}" = "xyes"
then
## not configured to produce shared objects
enable_mod_memc_static_is="yes"
fi
fi
@ -28466,6 +28480,13 @@ printf "%s\n" "no" >&6; }
then
enable_mod_mysql_static_is="yes"
fi
elif test "x${enable_mod_mysql_is}" = "xyes"
then
if test "x${enable_shared}" = "xno" -a "x${enable_static}" = "xyes"
then
## not configured to produce shared objects
enable_mod_mysql_static_is="yes"
fi
fi
@ -28808,6 +28829,13 @@ fi
then
enable_mod_sed_static_is="yes"
fi
elif test "x${enable_mod_sed_is}" = "xyes"
then
if test "x${enable_shared}" = "xno" -a "x${enable_static}" = "xyes"
then
## not configured to produce shared objects
enable_mod_sed_static_is="yes"
fi
fi
@ -28876,6 +28904,13 @@ fi
then
enable_mod_uci_static_is="yes"
fi
elif test "x${enable_mod_uci_is}" = "xyes"
then
if test "x${enable_shared}" = "xno" -a "x${enable_static}" = "xyes"
then
## not configured to produce shared objects
enable_mod_uci_static_is="yes"
fi
fi

View File

@ -29,6 +29,13 @@ AC_DEFUN([HAWK_MOD],
then
enable_mod_$1_static_is="yes"
fi
elif test "x${enable_mod_$1_is}" = "xyes"
then
if test "x${enable_shared}" = "xno" -a "x${enable_static}" = "xyes"
then
## not configured to produce shared objects
enable_mod_$1_static_is="yes"
fi
fi
m4_pushdef([UPNAME], m4_translit([$1], [abcdefghijklmnopqrstuvwxyz], [ABCDEFGHIJKLMNOPQRSTUVWXYZ]))