@@ -122,21 +122,11 @@ AC_DEFUN([ZEND_CHECK_FLOAT_PRECISION],[
122
122
] )
123
123
124
124
dnl
125
- dnl LIBZEND_BASIC_CHECKS
126
- dnl
127
- dnl Basic checks specific for the Zend engine library.
128
- dnl
129
- AC_DEFUN ( [ LIBZEND_BASIC_CHECKS] ,[
130
- AC_REQUIRE ( [ AC_PROG_CC ] )
131
-
132
- AC_CHECK_HEADERS ( [ cpuid.h] )
133
-
134
- dnl
135
- dnl LIBZEND_DLSYM_CHECK
125
+ dnl ZEND_DLSYM_CHECK
136
126
dnl
137
127
dnl Ugly hack to check if dlsym() requires a leading underscore in symbol name.
138
128
dnl
139
- AC_DEFUN ( [ LIBZEND_DLSYM_CHECK ] , [
129
+ AC_DEFUN ( [ ZEND_DLSYM_CHECK ] , [ dnl
140
130
AC_MSG_CHECKING ( [ whether dlsym() requires a leading underscore in symbol names] )
141
131
_LT_AC_TRY_DLOPEN_SELF([
142
132
AC_MSG_RESULT ( no )
@@ -148,6 +138,16 @@ _LT_AC_TRY_DLOPEN_SELF([
148
138
] , [ ] )
149
139
] )
150
140
141
+ dnl
142
+ dnl ZEND_INIT
143
+ dnl
144
+ dnl Configure checks and initialization specific for the Zend engine library.
145
+ dnl
146
+ AC_DEFUN ( [ ZEND_INIT] , [ dnl
147
+ AC_REQUIRE ( [ AC_PROG_CC ] )
148
+
149
+ AC_CHECK_HEADERS ( [ cpuid.h] )
150
+
151
151
dnl Check for library functions.
152
152
AC_CHECK_FUNCS ( m4_normalize ( [
153
153
getpid
@@ -195,12 +195,7 @@ AS_VAR_IF([php_cv_have_stack_limit], [yes],
195
195
[ Define to 1 if checking the stack limit is supported.] ) ] )
196
196
197
197
ZEND_CHECK_FLOAT_PRECISION
198
- ] )
199
-
200
- dnl
201
- dnl LIBZEND_OTHER_CHECKS
202
- dnl
203
- AC_DEFUN ( [ LIBZEND_OTHER_CHECKS] ,[
198
+ ZEND_DLSYM_CHECK
204
199
205
200
AC_MSG_CHECKING ( whether to enable thread-safety )
206
201
AC_MSG_RESULT ( $ZEND_ZTS )
0 commit comments