]> granicus.if.org Git - php/commitdiff
convert libzend to automake
authorStig Bakken <ssb@php.net>
Mon, 19 Apr 1999 20:11:50 +0000 (20:11 +0000)
committerStig Bakken <ssb@php.net>
Mon, 19 Apr 1999 20:11:50 +0000 (20:11 +0000)
buildconf

index c67291d26bd06957b594e5d1439c37fe3b2993e4..8335bce705c5c14dc5b60127fd253968ec96f189 100755 (executable)
--- 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
-