com php-src: Rename configure --with-litespeed to --enable-litespeed: sapi/litespeed/README.md sapi/litespeed/config.m4
| From: | Peter Kokot | Date: | Fri, 17 May 2019 01:14:13 +0000 |
| Subject: | com php-src: Rename configure --with-litespeed to --enable-litespeed: sapi/litespeed/README.md sapi/litespeed/config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-106219@lists.php.net to get a copy of this message | ||
Commit: 8e456d3b9e34ce0bf26ec23a2c88cae2bedec7dd
Author: Peter Kokot <peterkokot@gmail.com> Sat, 11 May 2019 05:19:28 +0200
Parents: cbc90b1f6e97cfa5b8ff990f9343c684bd1039a4
Branches: PHP-7.4 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=8e456d3b9e34ce0bf26ec23a2c88cae2bedec7dd
Log:
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)
Changed paths:
M sapi/litespeed/README.md
M sapi/litespeed/config.m4
Diff:
diff --git a/sapi/litespeed/README.md b/sapi/litespeed/README.md
index e98a940..19283f1 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 c324206..3a816a1 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])