Skip to content

Commit e1f101d

Browse files
committed
Remove separate *nix system build for Zend engine
Removed files used to provide building Zend engine separately using Autoconf and Automake: cd Zend && ./buildconf && ./configure Since Zend engine is tightly integrated in the PHP code itself and current root configure.ac and acinclude provide this patch removes these. Removed files also included several obsolete macros and Automake dependency which is not used in main *nix PHP build system.
1 parent f1ede80 commit e1f101d

File tree

6 files changed

+0
-308
lines changed

6 files changed

+0
-308
lines changed

Zend/Makefile.am

Lines changed: 0 additions & 55 deletions
This file was deleted.

Zend/Zend.m4

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,6 @@ dlfcn.h)
5454
5555
AC_TYPE_SIZE_T
5656
57-
AC_DEFUN([LIBZEND_LIBDL_CHECKS],[
58-
AC_CHECK_LIB(dl, dlopen, [LIBS="-ldl $LIBS"])
59-
AC_CHECK_FUNC(dlopen,[AC_DEFINE(HAVE_LIBDL, 1,[ ])])
60-
])
61-
6257
AC_DEFUN([LIBZEND_DLSYM_CHECK],[
6358
dnl
6459
dnl Ugly hack to check if dlsym() requires a leading underscore in symbol name.
@@ -127,17 +122,6 @@ int main()
127122
128123
])
129124

130-
AC_DEFUN([LIBZEND_ENABLE_DEBUG],[
131-
132-
AC_ARG_ENABLE(debug,
133-
[ --enable-debug Compile with debugging symbols],[
134-
ZEND_DEBUG=$enableval
135-
],[
136-
ZEND_DEBUG=no
137-
])
138-
139-
])
140-
141125
AC_DEFUN([LIBZEND_OTHER_CHECKS],[
142126
143127
AC_ARG_ENABLE(maintainer-zts,

Zend/acinclude.m4

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -79,33 +79,6 @@ AC_DEFUN([AC_ZEND_BROKEN_SPRINTF],[
7979
AC_DEFINE_UNQUOTED(ZEND_BROKEN_SPRINTF, $ac_result, [Whether sprintf is broken])
8080
])
8181

82-
dnl
83-
dnl AC_ZEND_C_BIGENDIAN
84-
dnl Replacement macro for AC_C_BIGENDIAN
85-
dnl
86-
AC_DEFUN([AC_ZEND_C_BIGENDIAN],
87-
[AC_CACHE_CHECK([whether byte ordering is bigendian], ac_cv_c_bigendian_php,
88-
[
89-
ac_cv_c_bigendian_php=unknown
90-
AC_RUN_IFELSE([AC_LANG_SOURCE([[
91-
int main(void)
92-
{
93-
short one = 1;
94-
char *cp = (char *)&one;
95-
96-
if (*cp == 0) {
97-
return(0);
98-
} else {
99-
return(1);
100-
}
101-
}
102-
]])], [ac_cv_c_bigendian_php=yes], [ac_cv_c_bigendian_php=no], [ac_cv_c_bigendian_php=unknown])
103-
])
104-
if test $ac_cv_c_bigendian_php = yes; then
105-
AC_DEFINE(WORDS_BIGENDIAN, 1, [Define if processor uses big-endian word])
106-
fi
107-
])
108-
10982
AC_DEFUN([AM_SET_LIBTOOL_VARIABLE],[
11083
LIBTOOL='$(SHELL) $(top_builddir)/libtool $1'
11184
])

Zend/build.mk

Lines changed: 0 additions & 41 deletions
This file was deleted.

Zend/buildconf

Lines changed: 0 additions & 32 deletions
This file was deleted.

Zend/configure.ac

Lines changed: 0 additions & 137 deletions
This file was deleted.

0 commit comments

Comments
 (0)