From 8e456d3b9e34ce0bf26ec23a2c88cae2bedec7dd Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Sat, 11 May 2019 05:19:28 +0200 Subject: [PATCH] Rename configure --with-litespeed to --enable-litespeed This syncs the configuration option of the litespeed module to be compliant with the approach of: --with-foo (when something additional needs to be installed such as libfoo) --enable-foo (when extension/sapi doesn't have dependencies on some library) --- sapi/litespeed/README.md | 4 ++-- sapi/litespeed/config.m4 | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sapi/litespeed/README.md b/sapi/litespeed/README.md index e98a940b3d..19283f182e 100644 --- a/sapi/litespeed/README.md +++ b/sapi/litespeed/README.md @@ -25,13 +25,13 @@ with LiteSpeed web server. ## Building PHP with LiteSpeed SAPI -You need to add `--with-litespeed` to the configure command to build PHP with +You need to add `--enable-litespeed` to the configure command to build PHP with LiteSpeed SAPI, all other SAPI related configure options should be removed. For example: ```bash -./configure --with-litespeed +./configure --enable-litespeed make ``` diff --git a/sapi/litespeed/config.m4 b/sapi/litespeed/config.m4 index c32420638d..3a816a19bf 100644 --- a/sapi/litespeed/config.m4 +++ b/sapi/litespeed/config.m4 @@ -1,7 +1,7 @@ AC_MSG_CHECKING(for LiteSpeed support) -PHP_ARG_WITH([litespeed],, - [AS_HELP_STRING([--with-litespeed], +PHP_ARG_ENABLE([litespeed],, + [AS_HELP_STRING([--enable-litespeed], [Build PHP as litespeed module])], [no]) -- 2.40.0