Changeset View
Changeset View
Standalone View
Standalone View
head/lang/php80/files/patch-configure.ac
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- configure.ac.orig 2020-09-29 22:36:51 UTC | |||||
+++ configure.ac | |||||
@@ -55,6 +55,7 @@ AH_BOTTOM([ | |||||
#include <string.h> | |||||
+#include <ext/php_config.h> | |||||
#endif /* PHP_CONFIG_H */ | |||||
]) | |||||
@@ -262,7 +263,6 @@ sinclude(Zend/Zend.m4) | |||||
dnl ---------------------------------------------------------------------------- | |||||
-PTHREADS_CHECK | |||||
PHP_HELP_SEPARATOR([SAPI modules:]) | |||||
PHP_SHLIB_SUFFIX_NAMES | |||||
PHP_BUILD_PROGRAM | |||||
@@ -602,7 +602,7 @@ memmem \ | |||||
AX_FUNC_WHICH_GETHOSTBYNAME_R | |||||
dnl Some systems (like OpenSolaris) do not have nanosleep in libc. | |||||
-PHP_CHECK_FUNC_LIB(nanosleep, rt) | |||||
+PHP_CHECK_FUNC(nanosleep, rt) | |||||
dnl Haiku does not have network api in libc. | |||||
PHP_CHECK_FUNC_LIB(setsockopt, network) | |||||
@@ -1244,7 +1244,7 @@ EXPANDED_SYSCONFDIR=`eval echo $sysconfd | |||||
EXPANDED_DATADIR=$datadir | |||||
EXPANDED_PHP_CONFIG_FILE_PATH=`eval echo "$PHP_CONFIG_FILE_PATH"` | |||||
EXPANDED_PHP_CONFIG_FILE_SCAN_DIR=`eval echo "$PHP_CONFIG_FILE_SCAN_DIR"` | |||||
-INCLUDE_PATH=.:$EXPANDED_PEAR_INSTALLDIR | |||||
+INCLUDE_PATH=.:${prefix}/share/pear | |||||
exec_prefix=$old_exec_prefix | |||||
libdir=$old_libdir | |||||
@@ -1431,7 +1431,7 @@ PHP_SUBST(all_targets) | |||||
PHP_SUBST(install_targets) | |||||
PHP_SUBST(install_binary_targets) | |||||
-PHP_INSTALL_HEADERS([Zend/ TSRM/ include/ main/ main/streams/]) | |||||
+PHP_INSTALL_HEADERS([Zend/ TSRM/ main/ main/streams/]) | |||||
PHP_ADD_SOURCES(TSRM, TSRM.c, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1) | |||||