summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNuno Lopes <nlopess@php.net>2008-08-07 19:32:48 +0000
committerNuno Lopes <nlopess@php.net>2008-08-07 19:32:48 +0000
commit52044a70033e20fcf6bd05e996de503d7352c155 (patch)
tree50938e795b1a110e583d65868fee04315086d41e
parentfcb1f9d8578170c715850339ceb611a2091d7e37 (diff)
downloadphp-git-52044a70033e20fcf6bd05e996de503d7352c155.tar.gz
MFB: fix build
-rw-r--r--sapi/litespeed/config.m413
1 files changed, 4 insertions, 9 deletions
diff --git a/sapi/litespeed/config.m4 b/sapi/litespeed/config.m4
index 72557ece33..5499baf628 100644
--- a/sapi/litespeed/config.m4
+++ b/sapi/litespeed/config.m4
@@ -4,15 +4,10 @@ dnl
AC_MSG_CHECKING(for LiteSpeed support)
-PHP_ARG_WITH(litespeed,
-[ --with-litespeed Build PHP as litespeed module],
-[
- PHP_SAPI_LITESPEED=$withval
-],[
- PHP_SAPI_LITESPEED=no
-])
+PHP_ARG_WITH(litespeed,,
+[ --with-litespeed Build PHP as litespeed module], no)
-if test "$PHP_SAPI_LITESPEED" != "no"; then
+if test "$PHP_LITESPEED" != "no"; then
PHP_ADD_MAKEFILE_FRAGMENT($abs_srcdir/sapi/litespeed/Makefile.frag,$abs_srcdir/sapi/litespeed,sapi/litespeed)
SAPI_LITESPEED_PATH=sapi/litespeed/php
PHP_SUBST(SAPI_LITESPEED_PATH)
@@ -33,4 +28,4 @@ if test "$PHP_SAPI_LITESPEED" != "no"; then
PHP_SUBST(BUILD_LITESPEED)
fi
-AC_MSG_RESULT($PHP_SAPI_LITESPEED)
+AC_MSG_RESULT($PHP_LITESPEED)