@@ -63,19 +63,6 @@ include(CMakePushCheckState)
63
63
include (FeatureSummary)
64
64
include (PHP/AddCustomCommand)
65
65
66
- ################################################################################
67
- # Configuration.
68
- ################################################################################
69
-
70
- cmake_dependent_option(
71
- ZEND_SIGNALS
72
- "Enable Zend signal handling"
73
- ON
74
- [[NOT CMAKE_SYSTEM_NAME STREQUAL "Windows"]]
75
- OFF
76
- )
77
- mark_as_advanced (ZEND_SIGNALS)
78
-
79
66
################################################################################
80
67
# Add library.
81
68
################################################################################
@@ -426,28 +413,7 @@ include(cmake/Fibers.cmake)
426
413
include (cmake/GenerateGrammar.cmake)
427
414
include (cmake/GlobalRegisterVariables.cmake)
428
415
include (cmake/MaxExecutionTimers.cmake)
429
-
430
- ################################################################################
431
- # Zend signals.
432
- ################################################################################
433
-
434
- message (CHECK_START "Checking whether to enable Zend signal handling" )
435
- check_symbol_exists(sigaction signal.h HAVE_SIGACTION)
436
- if (HAVE_SIGACTION AND ZEND_SIGNALS)
437
- message (CHECK_PASS "yes" )
438
-
439
- # zend_config.h (or its parent php_config.h) isn't included in some zend_*
440
- # files, therefore also compilation definition is added.
441
- target_compile_definitions (zend PUBLIC ZEND_SIGNALS)
442
- else ()
443
- set (ZEND_SIGNALS OFF )
444
- message (CHECK_FAIL "no" )
445
- endif ()
446
- add_feature_info(
447
- "Zend signals"
448
- ZEND_SIGNALS
449
- "signal handling for performance"
450
- )
416
+ include (cmake/Signals.cmake)
451
417
452
418
################################################################################
453
419
# Create files and set installation.
0 commit comments