summaryrefslogtreecommitdiff
path: root/buildconf
diff options
context:
space:
mode:
authorStig Bakken <ssb@php.net>1999-04-19 20:11:50 +0000
committerStig Bakken <ssb@php.net>1999-04-19 20:11:50 +0000
commit84e9ea172699dcae7a29a0651448845ba2bf056e (patch)
tree9617692baf9be3f5f87af674d6c8029d7d073f51 /buildconf
parentb227e385ccdd99c1a263ca8226fa356175883b78 (diff)
downloadphp-git-84e9ea172699dcae7a29a0651448845ba2bf056e.tar.gz
convert libzend to automake
Diffstat (limited to 'buildconf')
-rwxr-xr-xbuildconf24
1 files changed, 16 insertions, 8 deletions
diff --git a/buildconf b/buildconf
index c67291d26b..8335bce705 100755
--- a/buildconf
+++ b/buildconf
@@ -1,13 +1,6 @@
#!/bin/sh
-mv configure.in configure.in.old 2>/dev/null
./scripts/preconfig
-if cmp configure.in.old configure.in > /dev/null 2>&1; then
- echo keeping configure.in
- mv configure.in.old configure.in
-else
- echo created or modified configure.in
-fi
if test -f mkinstalldirs; then
automake
@@ -34,6 +27,22 @@ else
fi
cd libzend
+
+if test -f mkinstalldirs; then
+ automake
+else
+ automake --add-missing
+fi
+
+mv aclocal.m4 aclocal.m4.old 2>/dev/null
+aclocal
+if cmp aclocal.m4.old aclocal.m4 > /dev/null 2>&1; then
+ echo keeping libzend/aclocal.m4
+ mv aclocal.m4.old aclocal.m4
+else
+ echo created or modified libzend/aclocal.m4
+fi
+
mv configure configure.old 2>/dev/null
autoconf
if cmp configure.old configure > /dev/null 2>&1; then
@@ -42,4 +51,3 @@ if cmp configure.old configure > /dev/null 2>&1; then
else
echo created or modified libzend/configure
fi
-