📄 config.m4
字号:
AC_MSG_CHECKING(which MPM to use)AC_ARG_WITH(mpm,APACHE_HELP_STRING(--with-mpm=MPM,Choose the process model for Apache to use. MPM={beos|worker|prefork|mpmt_os2|perchild|leader|threadpool}),[ APACHE_MPM=$withval],[ if test "x$APACHE_MPM" = "x"; then APACHE_MPM=prefork fi])AC_MSG_RESULT($APACHE_MPM)apache_cv_mpm=$APACHE_MPM if test "$apache_cv_mpm" = "worker" -o "$apache_cv_mpm" = "perchild" -o "$apache_cv_mpm" = "leader" -o "$apache_cv_mpm" = "threadpool" ; then APR_CHECK_APR_DEFINE(APR_HAS_THREADS) if test "x$ac_cv_define_APR_HAS_THREADS" = "xno"; then AC_MSG_RESULT(The currently selected MPM requires threads which your system seems to lack) AC_MSG_CHECKING(checking for replacement) AC_MSG_RESULT(prefork selected) apache_cv_mpm=prefork fifiAPACHE_FAST_OUTPUT(server/mpm/Makefile)MPM_NAME=$apache_cv_mpmif test "$MPM_NAME" = "leader" -o "$MPM_NAME" = "threadpool" -o "$MPM_NAME" = "perchild"; then AC_MSG_WARN(You have selected an EXPERIMENTAL MPM. Be warned!) MPM_SUBDIR_NAME=experimental/$MPM_NAMEelse MPM_SUBDIR_NAME=$MPM_NAMEfiMPM_DIR=server/mpm/$MPM_SUBDIR_NAMEMPM_LIB=$MPM_DIR/lib${MPM_NAME}.laif test ! -f "$abs_srcdir/$MPM_DIR/mpm.h"; then AC_MSG_ERROR(the selected mpm -- $apache_cv_mpm -- is not supported)fiAPACHE_SUBST(MPM_NAME)APACHE_SUBST(MPM_SUBDIR_NAME)MODLIST="$MODLIST mpm_${MPM_NAME}"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -