@@ -235,7 +235,7 @@ include(cmake/GenerateGrammar.cmake)
235235################################################################################
236236
237237if (PHP_EXT_STANDARD_ARGON2)
238- find_package (Argon2 20171227 )
238+ find_package (Argon2 20161029 )
239239 set_package_properties(
240240 Argon2
241241 PROPERTIES
@@ -320,9 +320,9 @@ endif()
320320# Check if there is a support means of creating a new process and defining which
321321# handles it receives.
322322message (CHECK_START "Checking if OS can spawn processes with inherited handles" )
323- check_symbol_exists(fork " unistd.h" HAVE_FORK)
323+ check_symbol_exists(fork unistd.h HAVE_FORK)
324324if (NOT HAVE_FORK)
325- check_symbol_exists(CreateProcess " windows.h" HAVE_CREATEPROCESS)
325+ check_symbol_exists(CreateProcess windows.h HAVE_CREATEPROCESS)
326326endif ()
327327if (HAVE_FORK OR HAVE_CREATEPROCESS)
328328 set (PHP_CAN_SUPPORT_PROC_OPEN TRUE )
@@ -339,12 +339,12 @@ php_search_libraries(
339339 LIBRARIES
340340 socket # Solaris 11..11.3, illumos
341341 network # Haiku
342- VARIABLE _HAVE_GETIFADDRS
342+ VARIABLE _PHP_HAVE_GETIFADDRS
343343 LIBRARY_VARIABLE libraryForGetifaddrs
344344 TARGET php_ext_standard PRIVATE
345345)
346346
347- if (_HAVE_GETIFADDRS )
347+ if (_PHP_HAVE_GETIFADDRS )
348348 message (CHECK_START "Checking for usable getifaddrs" )
349349 cmake_push_check_state(RESET)
350350 if (libraryForGetifaddrs)
@@ -466,7 +466,7 @@ php_search_libraries(
466466
467467check_symbol_exists(
468468 posix_spawn_file_actions_addchdir_np
469- " spawn.h"
469+ spawn.h
470470 HAVE_POSIX_SPAWN_FILE_ACTIONS_ADDCHDIR_NP
471471)
472472
@@ -521,7 +521,7 @@ endblock()
521521# See: https://github.com/php/php-src/issues/11984
522522################################################################################
523523
524- check_symbol_exists(chroot " unistd.h" HAVE_CHROOT)
524+ check_symbol_exists(chroot unistd.h HAVE_CHROOT)
525525
526526add_library (php_ext_standard_functions OBJECT)
527527add_library (php_ext_standard_functions_cli OBJECT)
0 commit comments