summaryrefslogtreecommitdiff
path: root/build/libtool.m4
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2005-05-30 06:55:20 +0000
committerfoobar <sniper@php.net>2005-05-30 06:55:20 +0000
commit5fee97ca338cdf1bc9eb8919edc73c68841d6b48 (patch)
tree5f870cf79d80ad35ec20b99ec5b5666adfd70b98 /build/libtool.m4
parent4094bf77c56aa38256dde369ff03b65a37775c15 (diff)
downloadphp-git-5fee97ca338cdf1bc9eb8919edc73c68841d6b48.tar.gz
- Changed the PATH_SEPARATOR check to a macro
- Made sure we're generating aclocal.m4 in same way with both buildconf and phpize. # Bug #33177
Diffstat (limited to 'build/libtool.m4')
-rw-r--r--build/libtool.m44
1 files changed, 3 insertions, 1 deletions
diff --git a/build/libtool.m4 b/build/libtool.m4
index b2738277db..fb8473456f 100644
--- a/build/libtool.m4
+++ b/build/libtool.m4
@@ -14,6 +14,7 @@
# ---------------------------------
# Find the correct PATH separator. Usually this is :', but
# DJGPP uses ;' like DOS.
+AC_DEFUN([LT_AC_PATH_SEPARATOR], [
if test "X${PATH_SEPARATOR+set}" != Xset; then
UNAME=${UNAME-`uname 2>/dev/null`}
case X$UNAME in
@@ -22,6 +23,7 @@ if test "X${PATH_SEPARATOR+set}" != Xset; then
esac
PATH_SEPARATOR=$lt_cv_sys_path_separator
fi
+]) # LT_AC_PATH_SEPARATOR
# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
@@ -33,7 +35,6 @@ ifdef([AC_PROVIDE_IFELSE],
[ifdef([AC_PROVIDE_$1],
[$2], [$3])])])
-
# AC_PROG_LIBTOOL
# ---------------
AC_DEFUN([AC_PROG_LIBTOOL],
@@ -95,6 +96,7 @@ define([AC_PROG_LIBTOOL], [])
# ----------------
AC_DEFUN([AC_LIBTOOL_SETUP],
[AC_PREREQ(2.13)dnl
+AC_REQUIRE([LT_AC_PATH_SEPARATOR])dnl
AC_REQUIRE([AC_ENABLE_SHARED])dnl
AC_REQUIRE([AC_ENABLE_STATIC])dnl
AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl