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)
This commit is contained in:
Peter Kokot 2019-05-11 05:19:28 +02:00
parent cbc90b1f6e
commit 8e456d3b9e
2 changed files with 4 additions and 4 deletions

View file

@ -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
```

View file

@ -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])