summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Zend/Zend.m41
-rw-r--r--configure.in7
2 files changed, 7 insertions, 1 deletions
diff --git a/Zend/Zend.m4 b/Zend/Zend.m4
index 1f3aec237a..0a2a1f838c 100644
--- a/Zend/Zend.m4
+++ b/Zend/Zend.m4
@@ -26,7 +26,6 @@ AC_REQUIRE([AC_PROG_CC])
AC_REQUIRE([AC_PROG_CC_C_O])
AC_REQUIRE([AC_PROG_LEX])
AC_REQUIRE([AC_HEADER_STDC])
-AC_REQUIRE([AC_PROG_LIBTOOL])
LIBZEND_BISON_CHECK
diff --git a/configure.in b/configure.in
index fb7dc63b54..2846c16c9e 100644
--- a/configure.in
+++ b/configure.in
@@ -1061,6 +1061,13 @@ if test "$PHP_THREAD_SAFETY" = "yes" && test "$PHP_MYSQL" = "yes"; then
CPPFLAGS="$CPPFLAGS -DTHREAD=1"
fi
+dnl
+dnl Libtool creation
+dnl
+
+PHP_CONFIGURE_PART(Configuring Zend)
+
+LDFLAGS="$LDFLAGS $PHP_AIX_LDFLAGS"
AC_PROG_LIBTOOL
if test "$enable_debug" != "yes"; then
PHP_SET_LIBTOOL_VARIABLE([--silent])