diff options
author | jim <jim@13f79535-47bb-0310-9956-ffa450edef68> | 2000-08-23 20:16:27 +0000 |
---|---|---|
committer | jim <jim@13f79535-47bb-0310-9956-ffa450edef68> | 2000-08-23 20:16:27 +0000 |
commit | 7a5629c3721583e99c409a2fcbead70ef055c37f (patch) | |
tree | e80d0f2c3c75d8d825a273e518a937ad7443f6ae /hints.m4 | |
parent | 1e2da9299925254ccea43e1ab91c4941c50c49b1 (diff) | |
download | libapr-7a5629c3721583e99c409a2fcbead70ef055c37f.tar.gz |
Try to organize the MPM pre-selection to the hints.m4 file.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60511 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'hints.m4')
-rw-r--r-- | hints.m4 | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -42,6 +42,15 @@ AC_DEFUN(APR_SETIFNULL,[ ]) dnl +dnl APR_SETVAR(variable, value) +dnl +dnl Set variable no matter what +dnl +AC_DEFUN(APR_SETVAR,[ + $1="$2"; export $1 +]) + +dnl dnl APR_ADDTO(variable, value) dnl dnl Add value to variable @@ -76,6 +85,7 @@ case "$PLAT" in APR_SETIFNULL(CFLAGS, [-DAUX3 -D_POSIX_SOURCE]) APR_SETIFNULL(LIBS, [-lposix -lbsd]) APR_SETIFNULL(LDFLAGS, [-s]) + APR_SETVAR(APACHE_MPM, [prefork]) ;; *-ibm-aix*) case $PLAT in @@ -131,6 +141,7 @@ case "$PLAT" in *os2_emx*) APR_SETIFNULL(SHELL, [sh]) APR_SETIFNULL(file_as_socket, [0]) + APR_SETVAR(APACHE_MPM, [spmt_os2]) ;; *-hi-hiux) APR_SETIFNULL(CFLAGS, [-DHIUX]) @@ -365,6 +376,7 @@ dnl ;; *beos*) APR_SETIFNULL(CFLAGS, [-DBEOS]) APR_SETIFNULL(file_as_socket, [0]) + APR_SETVAR(APACHE_MPM, [mpmt_beos]) PLATOSVERS=`uname -r` case $PLATOSVERS in 5.1) |