Skip to content

Commit 5d8a4b0

Browse files
committed
Merge branch 'PHP-8.3' into PHP-8.4
2 parents c87b0b0 + ff330a2 commit 5d8a4b0

File tree

141 files changed

+1735
-1215
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

141 files changed

+1735
-1215
lines changed

cmake/ext/bcmath/CMakeLists.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
project(
2+
PhpExtensionBcMath
3+
LANGUAGES C
4+
)
5+
16
include(CMakeDependentOption)
27
include(FeatureSummary)
38

@@ -58,3 +63,7 @@ target_sources(
5863
)
5964

6065
target_compile_definitions(php_bcmath PRIVATE ZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
66+
67+
set(HAVE_BCMATH 1)
68+
69+
configure_file(config.cmake.h.in config.h @ONLY)

cmake/ext/bcmath/config.cmake.h.in

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/* Define to 1 if the PHP extension 'bcmath' is built as a dynamic module. */
2+
#cmakedefine COMPILE_DL_BCMATH 1
3+
4+
/* Define to 1 if the PHP extension 'bcmath' is available. */
5+
#cmakedefine HAVE_BCMATH 1

cmake/ext/bz2/CMakeLists.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
project(
2+
PhpExtensionBz2
3+
LANGUAGES C
4+
)
5+
16
include(CheckLibraryExists)
27
include(CMakeDependentOption)
38
include(FeatureSummary)
@@ -66,3 +71,7 @@ if(TARGET BZip2::BZip2)
6671
)
6772
endif()
6873
endif()
74+
75+
set(HAVE_BZ2 1)
76+
77+
configure_file(config.cmake.h.in config.h @ONLY)

cmake/ext/bz2/config.cmake.h.in

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/* Define to 1 if the PHP extension 'bz2' is built as a dynamic module. */
2+
#cmakedefine COMPILE_DL_BZ2 1
3+
4+
/* Define to 1 if the PHP extension 'bz2' is available. */
5+
#cmakedefine HAVE_BZ2 1

cmake/ext/calendar/CMakeLists.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
project(
2+
PhpExtensionCalendar
3+
LANGUAGES C
4+
)
5+
16
include(CMakeDependentOption)
27
include(FeatureSummary)
38

@@ -40,3 +45,7 @@ target_sources(
4045
jewish.c
4146
julian.c
4247
)
48+
49+
set(HAVE_CALENDAR 1)
50+
51+
configure_file(config.cmake.h.in config.h @ONLY)
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/* Define to 1 if the PHP extension 'calendar' is built as a dynamic module.
2+
*/
3+
#cmakedefine COMPILE_DL_CALENDAR 1
4+
5+
/* Define to 1 if the PHP extension 'calendar' is available. */
6+
#cmakedefine HAVE_CALENDAR 1

cmake/ext/com_dotnet/CMakeLists.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
project(
2+
PhpExtensionBz2
3+
LANGUAGES C
4+
)
5+
16
# Available only for Windows system.
27
if(NOT CMAKE_SYSTEM_NAME STREQUAL "Windows")
38
return()
@@ -61,3 +66,7 @@ target_compile_definitions(
6166
target_link_libraries(php_com_dotnet PRIVATE oleaut32)
6267

6368
check_include_file(mscoree.h HAVE_MSCOREE_H)
69+
70+
set(HAVE_COM_DOTNET 1)
71+
72+
configure_file(config.cmake.h.in config.h @ONLY)
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/* Define to 1 if the PHP extension 'com_dotnet' is built as a dynamic module.
2+
*/
3+
#cmakedefine COMPILE_DL_COM_DOTNET 1
4+
5+
/* Define to 1 if the PHP extension 'com_dotnet' is available. */
6+
#cmakedefine HAVE_COM_DOTNET 1
7+
8+
/* Define to 1 if you have the <mscoree.h> header file. */
9+
#cmakedefine HAVE_MSCOREE_H 1

cmake/ext/ctype/CMakeLists.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
project(
2+
PhpExtensionCtype
3+
LANGUAGES C
4+
)
5+
16
include(CMakeDependentOption)
27
include(FeatureSummary)
38

@@ -33,3 +38,7 @@ target_sources(
3338
ctype.c
3439
ctype.stub.php
3540
)
41+
42+
set(HAVE_CTYPE 1)
43+
44+
configure_file(config.cmake.h.in config.h @ONLY)

cmake/ext/ctype/config.cmake.h.in

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/* Define to 1 if the PHP extension 'ctype' is built as a dynamic module. */
2+
#cmakedefine COMPILE_DL_CTYPE 1
3+
4+
/* Define to 1 if the PHP extension 'ctype' is available. */
5+
#cmakedefine HAVE_CTYPE 1

0 commit comments

Comments
 (0)