@@ -400,7 +400,7 @@ endif()
400400include (PHP/CheckGetaddrinfo)
401401if (TARGET PHP::CheckGetaddrinfoLibrary)
402402 target_link_libraries (
403- php_configuration
403+ php_config
404404 INTERFACE
405405 PHP::CheckGetaddrinfoLibrary
406406 )
@@ -424,7 +424,7 @@ message(CHECK_START "Checking file descriptor sets size")
424424if (PHP_FD_SETSIZE MATCHES "^[0-9]+$" AND PHP_FD_SETSIZE GREATER 0)
425425 message (CHECK_PASS "using FD_SETSIZE=${PHP_FD_SETSIZE} " )
426426 target_compile_definitions (
427- php_configuration
427+ php_config
428428 INTERFACE
429429 $<$<COMPILE_LANGUAGE:ASM,C,CXX>:FD_SETSIZE=${PHP_FD_SETSIZE} >
430430 )
@@ -500,7 +500,7 @@ php_check_variable_attribute(aligned HAVE_ATTRIBUTE_ALIGNED)
500500
501501include (PHP/CheckGethostbynameR)
502502if (TARGET PHP::CheckGethostbynameR)
503- target_link_libraries (php_configuration INTERFACE PHP::CheckGethostbynameR)
503+ target_link_libraries (php_config INTERFACE PHP::CheckGethostbynameR)
504504endif ()
505505
506506################################################################################
@@ -512,21 +512,21 @@ php_search_libraries(
512512 HEADERS dlfcn.h
513513 LIBRARIES ${CMAKE_DL_LIBS}
514514 VARIABLE HAVE_LIBDL
515- TARGET php_configuration INTERFACE
515+ TARGET php_config INTERFACE
516516)
517517
518518php_search_libraries(
519519 sin
520520 HEADERS math.h
521521 LIBRARIES m
522- TARGET php_configuration INTERFACE
522+ TARGET php_config INTERFACE
523523)
524524
525525if (CMAKE_SYSTEM_PROCESSOR MATCHES "^riscv64.*" )
526526 find_package (Atomic)
527527
528528 if (Atomic_FOUND)
529- target_link_libraries (php_configuration INTERFACE Atomic::Atomic)
529+ target_link_libraries (php_config INTERFACE Atomic::Atomic)
530530 endif ()
531531endif ()
532532
@@ -540,7 +540,7 @@ php_search_libraries(
540540 socket # Solaris <= 11.3, illumos
541541 network # Haiku
542542 ws2_32 # Windows
543- TARGET php_configuration INTERFACE
543+ TARGET php_config INTERFACE
544544)
545545
546546# The socketpair() is mostly in C library (Solaris 11.4...), except Windows.
@@ -551,7 +551,7 @@ php_search_libraries(
551551 socket # Solaris <= 11.3, illumos
552552 network # Haiku
553553 VARIABLE HAVE_SOCKETPAIR
554- TARGET php_configuration INTERFACE
554+ TARGET php_config INTERFACE
555555)
556556
557557# The gethostname() is mostly in C library (Solaris/illumos...)
@@ -564,7 +564,7 @@ php_search_libraries(
564564 network # Haiku
565565 ws2_32 # Windows
566566 VARIABLE HAVE_GETHOSTNAME
567- TARGET php_configuration INTERFACE
567+ TARGET php_config INTERFACE
568568)
569569
570570# The gethostbyaddr() is mostly in C library (Solaris 11.4...)
@@ -578,7 +578,7 @@ php_search_libraries(
578578 nsl # Solaris <= 11.3, illumos
579579 network # Haiku
580580 ws2_32 # Windows
581- TARGET php_configuration INTERFACE
581+ TARGET php_config INTERFACE
582582)
583583
584584# The openpty() can be in C library (Solaris 11.4+, Linux, etc). Solaris <= 11.3
@@ -594,7 +594,7 @@ php_search_libraries(
594594 util # Some BSD-based systems
595595 bsd # Haiku
596596 VARIABLE HAVE_OPENPTY
597- TARGET php_configuration INTERFACE
597+ TARGET php_config INTERFACE
598598)
599599
600600# The inet_ntoa() is mostly in C library (Solaris 11.4, illumos...)
@@ -605,7 +605,7 @@ php_search_libraries(
605605 nsl # Solaris <= 11.3
606606 network # Haiku
607607 VARIABLE HAVE_INET_NTOA
608- TARGET php_configuration INTERFACE
608+ TARGET php_config INTERFACE
609609)
610610
611611# The inet_ntop() is mostly in C library (Solaris 11.4, illumos, BSD*, Linux...)
@@ -620,7 +620,7 @@ php_search_libraries(
620620 network # Haiku
621621 ws2_32 # Windows
622622 VARIABLE HAVE_INET_NTOP
623- TARGET php_configuration INTERFACE
623+ TARGET php_config INTERFACE
624624)
625625if (NOT HAVE_INET_NTOP)
626626 message (FATAL_ERROR "Cannot find inet_ntop which is required." )
@@ -638,7 +638,7 @@ php_search_libraries(
638638 network # Haiku
639639 ws2_32 # Windows
640640 VARIABLE HAVE_INET_PTON
641- TARGET php_configuration INTERFACE
641+ TARGET php_config INTERFACE
642642)
643643
644644# The inet_aton() is mostly in C library (Solaris 11.4, illumos...)
@@ -653,7 +653,7 @@ php_search_libraries(
653653 resolv # Solaris 2.6..7
654654 network # Haiku
655655 VARIABLE HAVE_INET_ATON
656- TARGET php_configuration INTERFACE
656+ TARGET php_config INTERFACE
657657)
658658
659659# The nanosleep is mostly in C library (Solaris 11, illumos...)
@@ -664,7 +664,7 @@ php_search_libraries(
664664 LIBRARIES
665665 rt # Solaris <= 10
666666 VARIABLE HAVE_NANOSLEEP
667- TARGET php_configuration INTERFACE
667+ TARGET php_config INTERFACE
668668)
669669
670670# The setsockopt() is mostly in C library (Solaris 11.4...)
@@ -678,7 +678,7 @@ php_search_libraries(
678678 socket # Solaris <= 11.3, illumos
679679 network # Haiku
680680 ws2_32 # Windows
681- TARGET php_configuration INTERFACE
681+ TARGET php_config INTERFACE
682682)
683683
684684# The gai_strerror() is mostly in C library (Solaris 11.4...)
@@ -689,7 +689,7 @@ php_search_libraries(
689689 socket # Solaris <= 11.3, illumos
690690 network # Haiku
691691 VARIABLE HAVE_GAI_STRERROR
692- TARGET php_configuration INTERFACE
692+ TARGET php_config INTERFACE
693693)
694694
695695# The getprotobyname() is mostly in C library (Solaris 11.4...)
@@ -703,7 +703,7 @@ php_search_libraries(
703703 network # Haiku
704704 ws2_32 # Windows
705705 VARIABLE HAVE_GETPROTOBYNAME
706- TARGET php_configuration INTERFACE
706+ TARGET php_config INTERFACE
707707)
708708
709709# The getprotobynumber() is mostly in C library (Solaris 11.4...)
@@ -717,7 +717,7 @@ php_search_libraries(
717717 network # Haiku
718718 ws2_32 # Windows
719719 VARIABLE HAVE_GETPROTOBYNUMBER
720- TARGET php_configuration INTERFACE
720+ TARGET php_config INTERFACE
721721)
722722
723723# The getservbyname() is mostly in C library (Solaris 11.4...)
@@ -731,7 +731,7 @@ php_search_libraries(
731731 network # Haiku
732732 ws2_32 # Windows
733733 VARIABLE HAVE_GETSERVBYNAME
734- TARGET php_configuration INTERFACE
734+ TARGET php_config INTERFACE
735735)
736736
737737# The getservbyport() is mostly in C library (Solaris 11.4...)
@@ -745,7 +745,7 @@ php_search_libraries(
745745 network # Haiku
746746 ws2_32 # Windows
747747 VARIABLE HAVE_GETSERVBYPORT
748- TARGET php_configuration INTERFACE
748+ TARGET php_config INTERFACE
749749)
750750
751751# The shutdown() is mostly in C library (Solaris 11.4...)
@@ -759,7 +759,7 @@ php_search_libraries(
759759 network # Haiku
760760 ws2_32 # Windows
761761 VARIABLE HAVE_SHUTDOWN
762- TARGET php_configuration INTERFACE
762+ TARGET php_config INTERFACE
763763)
764764
765765block()
@@ -776,7 +776,7 @@ block()
776776
777777 message (STATUS "Explicitly linking against libgcc (${libgcc_path} )" )
778778
779- target_link_libraries (php_configuration INTERFACE ${libgcc_path} )
779+ target_link_libraries (php_config INTERFACE ${libgcc_path} )
780780 endif ()
781781endblock()
782782
@@ -812,7 +812,7 @@ if(PHP_GCOV)
812812 )
813813
814814 if (TARGET Gcov::Gcov)
815- target_link_libraries (php_configuration INTERFACE Gcov::Gcov)
815+ target_link_libraries (php_config INTERFACE Gcov::Gcov)
816816 gcov_generate_report()
817817 set (HAVE_GCOV TRUE )
818818 endif ()
@@ -832,7 +832,7 @@ if(PHP_VALGRIND)
832832 set (HAVE_VALGRIND TRUE )
833833 endif ()
834834
835- target_link_libraries (php_configuration INTERFACE Valgrind::Valgrind)
835+ target_link_libraries (php_config INTERFACE Valgrind::Valgrind)
836836endif ()
837837add_feature_info(
838838 "Valgrind"
@@ -865,9 +865,9 @@ if(PHP_DTRACE)
865865 ${PHP_SOURCE_DIR} /Zend/zend_execute.c
866866 ${PHP_SOURCE_DIR} /Zend/zend.c
867867 INCLUDES
868- $<TARGET_PROPERTY:PHP::configuration ,INTERFACE_INCLUDE_DIRECTORIES >
868+ $<TARGET_PROPERTY:PHP::config ,INTERFACE_INCLUDE_DIRECTORIES >
869869 )
870- target_link_libraries (php_configuration INTERFACE DTrace::DTrace)
870+ target_link_libraries (php_config INTERFACE DTrace::DTrace)
871871 target_link_libraries (php_sapi INTERFACE php_dtrace)
872872
873873 set (HAVE_DTRACE TRUE )
@@ -896,12 +896,12 @@ if(PHP_DMALLOC)
896896 )
897897
898898 target_compile_definitions (
899- php_configuration
899+ php_config
900900 INTERFACE
901901 $<$<COMPILE_LANGUAGE:ASM,C,CXX>:DMALLOC_FUNC_CHECK>
902902 )
903903
904- target_link_libraries (php_configuration INTERFACE Dmalloc::Dmalloc)
904+ target_link_libraries (php_config INTERFACE Dmalloc::Dmalloc)
905905
906906 if (Dmalloc_FOUND)
907907 message (CHECK_PASS "yes" )
0 commit comments