summaryrefslogtreecommitdiff
path: root/Zend/buildconf
diff options
context:
space:
mode:
authorStig S. Bakken <stig@php.net>1999-04-20 01:12:53 +0000
committerStig S. Bakken <stig@php.net>1999-04-20 01:12:53 +0000
commit9e4c7bd56c5d394d971595db05c50e6a564f5204 (patch)
tree9d7d4211fc62d962f4627ae20ed558c6b2fb2963 /Zend/buildconf
parent54468d2e75aeb1ace053ff405f5f539a0012ba76 (diff)
downloadphp-git-9e4c7bd56c5d394d971595db05c50e6a564f5204.tar.gz
Makefile.in and aclocal.m4 are generated
added buildconf script
Diffstat (limited to 'Zend/buildconf')
-rwxr-xr-xZend/buildconf28
1 files changed, 28 insertions, 0 deletions
diff --git a/Zend/buildconf b/Zend/buildconf
new file mode 100755
index 0000000000..22361b4a65
--- /dev/null
+++ b/Zend/buildconf
@@ -0,0 +1,28 @@
+#!/bin/sh
+
+if test -f mkinstalldirs; then
+ automake
+else
+ automake --add-missing
+fi
+
+autoheader
+
+mv aclocal.m4 aclocal.m4.old 2>/dev/null
+aclocal
+if cmp aclocal.m4.old aclocal.m4 > /dev/null 2>&1; then
+ echo keeping aclocal.m4
+ mv aclocal.m4.old aclocal.m4
+else
+ echo created or modified aclocal.m4
+fi
+
+mv configure configure.old 2>/dev/null
+autoconf
+if cmp configure.old configure > /dev/null 2>&1; then
+ echo keeping configure
+ mv configure.old configure
+else
+ echo created or modified configure
+fi
+