Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit88a7b74

Browse files
committed
Remove PCRE detection,fixswoole#5625
1 parentd09264e commit88a7b74

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

‎config.m4‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,6 @@ if test "$PHP_SWOOLE" != "no"; then
373373
AC_CHECK_LIB(pthread,pthread_mutexattr_setpshared,AC_DEFINE(HAVE_PTHREAD_MUTEXATTR_SETPSHARED,1,[have pthread_mutexattr_setpshared]))
374374
AC_CHECK_LIB(pthread,pthread_mutexattr_setrobust,AC_DEFINE(HAVE_PTHREAD_MUTEXATTR_SETROBUST,1,[have pthread_mutexattr_setrobust]))
375375
AC_CHECK_LIB(pthread,pthread_mutex_consistent,AC_DEFINE(HAVE_PTHREAD_MUTEX_CONSISTENT,1,[have pthread_mutex_consistent]))
376-
AC_CHECK_LIB(pcre,pcre_compile,AC_DEFINE(HAVE_PCRE,1,[have pcre]))
377376

378377
if test "$PHP_SWOOLE_DEV" = "yes"; then
379378
AX_CHECK_COMPILE_FLAG(-Wbool-conversion,_MAINTAINER_CFLAGS="$_MAINTAINER_CFLAGS-Wbool-conversion")

‎ext-src/php_swoole.cc‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@ BEGIN_EXTERN_C()
2323
#include"zend_exceptions.h"
2424
#include"zend_extensions.h"
2525

26-
#if (HAVE_PCRE || HAVE_BUNDLED_PCRE) && !defined(COMPILE_DL_PCRE)
2726
#include"ext/pcre/php_pcre.h"
28-
#endif
2927
#include"ext/json/php_json.h"
3028

3129
#include"stubs/php_swoole_arginfo.h"
@@ -914,9 +912,6 @@ PHP_MINFO_FUNCTION(swoole) {
914912
#ifdef SW_USE_CURL
915913
php_info_print_table_row(2,"curl-native","enabled");
916914
#endif
917-
#ifdef HAVE_PCRE
918-
php_info_print_table_row(2,"pcre","enabled");
919-
#endif
920915
#ifdef SW_USE_CARES
921916
php_info_print_table_row(2,"c-ares",ares_version(nullptr));
922917
#endif

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp