summaryrefslogtreecommitdiff
path: root/hints.m4
diff options
context:
space:
mode:
authorjim <jim@13f79535-47bb-0310-9956-ffa450edef68>2000-08-23 20:16:27 +0000
committerjim <jim@13f79535-47bb-0310-9956-ffa450edef68>2000-08-23 20:16:27 +0000
commit7a5629c3721583e99c409a2fcbead70ef055c37f (patch)
treee80d0f2c3c75d8d825a273e518a937ad7443f6ae /hints.m4
parent1e2da9299925254ccea43e1ab91c4941c50c49b1 (diff)
downloadlibapr-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.m412
1 files changed, 12 insertions, 0 deletions
diff --git a/hints.m4 b/hints.m4
index dff78c417..da8b3642e 100644
--- a/hints.m4
+++ b/hints.m4
@@ -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)