com php-fuzzing-sapi: Use better test for enabling extensions: config.m4
| From: | Johannes Schlüter | Date: | Tue, 12 Mar 2019 05:25:19 +0000 |
| Subject: | com php-fuzzing-sapi: Use better test for enabling extensions: config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-105117@lists.php.net to get a copy of this message | ||
Commit: f134133bf2270a0ef717e79d35cdc52f78e15237
Author: Stanislav Malyshev <smalyshev@gmail.com> Mon, 11 Mar 2019 22:25:19 -0700
Parents: 850d1aaa7b4cf2fecb39451cb79bec8fa53c7cd0
Branches: master
Link: http://git.php.net/?p=php-fuzzing-sapi.git;a=commitdiff;h=f134133bf2270a0ef717e79d35cdc52f78e15237
Log:
Use better test for enabling extensions
Changed paths:
M config.m4
Diff:
diff --git a/config.m4 b/config.m4
index 5cf37e3..7f4ee91 100644
--- a/config.m4
+++ b/config.m4
@@ -49,10 +49,10 @@ if test "$PHP_FUZZER" != "no"; then
FUZZER_TARGET([exif], PHP_FUZZER_EXIF_OBJS)
dnl This check doesn't work, as PHP_ARG_ENABLE(json) comes later ...
- if test "$PHP_JSON" != "no"; then
+ if test "x$enable_json" != "xno"; then
FUZZER_TARGET([json], PHP_FUZZER_JSON_OBJS)
fi
- if test "$PHP_MBSTRING" != "no"; then
+ if test "x$enable_mbstring" = "xyes"; then
FUZZER_TARGET([mbstring], PHP_FUZZER_MBSTRING_OBJS)
fi