summaryrefslogtreecommitdiff
path: root/ext/session/config.m4
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-03-27 23:33:38 +0000
committerSascha Schumann <sas@php.net>2000-03-27 23:33:38 +0000
commit1f822b98cee27997c440ffe8a9d416b914392ab9 (patch)
treee2b78f144d534d15d90b136924dd9b7a81cb0b3d /ext/session/config.m4
parent0cc5c94b37668d225c48e715bf69d3a8309e16d5 (diff)
downloadphp-git-1f822b98cee27997c440ffe8a9d416b914392ab9.tar.gz
Welcome PHP_ARG_ENABLE and PHP_ARG_WITH. They are there to replace the common
AC_MSG_CHECKING, AC_ARG_[ENABLE,WITH], AC_MSG_RESULT trio.
Diffstat (limited to 'ext/session/config.m4')
-rw-r--r--ext/session/config.m434
1 files changed, 8 insertions, 26 deletions
diff --git a/ext/session/config.m4 b/ext/session/config.m4
index 11496f4a60..89017871ae 100644
--- a/ext/session/config.m4
+++ b/ext/session/config.m4
@@ -1,31 +1,13 @@
dnl $Id$
-AC_MSG_CHECKING(for mm support)
-AC_ARG_WITH(mm,
-[ --with-mm[=DIR] Include mm support for session storage],[
- PHP_MM=$withval
-],[
- PHP_MM=no
-])
-AC_MSG_RESULT($PHP_MM)
-
-AC_MSG_CHECKING(whether to enable session support)
-AC_ARG_ENABLE(session,
-[ --disable-session Disable session support],[
- PHP_SESSION=$enableval
-],[
- PHP_SESSION=yes
-])
-AC_MSG_RESULT($PHP_SESSION)
-
-AC_MSG_CHECKING(whether to enable transparent session id propagation)
-AC_ARG_ENABLE(trans-sid,
-[ --enable-trans-sid Enable transparent session id propagation],[
- PHP_TRANS_SID=$enableval
-],[
- PHP_TRANS_SID=no
-])
-AC_MSG_RESULT($PHP_TRANS_SID)
+PHP_ARG_WITH(mm,for mm support,
+[ --with-mm[=DIR] Include mm support for session storage])
+
+PHP_ARG_ENABLE(session, whether to enable session support,
+[ --disable-session Disable session support], yes)
+
+PHP_ARG_ENABLE(trans-sid,whether to enable transparent session id propagation,
+[ --enable-trans-sid Enable transparent session id propagation])
if test "$PHP_MM" != "no"; then
for i in /usr/local /usr $PHP_MM; do