diff options
author | Stig Bakken <ssb@php.net> | 1999-04-19 13:58:54 +0000 |
---|---|---|
committer | Stig Bakken <ssb@php.net> | 1999-04-19 13:58:54 +0000 |
commit | aac5a431237c60bc14204d5697e81bcfb9395d4d (patch) | |
tree | b6340c583758e0e46303bf4a1d76c0d1944f0d78 /buildconf | |
parent | 269877fdf314b11b3ee9804e4c0fc0e29a95fef5 (diff) | |
download | php-git-aac5a431237c60bc14204d5697e81bcfb9395d4d.tar.gz |
keep old files if they are not modified
Diffstat (limited to 'buildconf')
-rwxr-xr-x | buildconf | 35 |
1 files changed, 34 insertions, 1 deletions
@@ -1,12 +1,45 @@ #!/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 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 aclocal.m4 + mv aclocal.m4.old aclocal.m4 +else + echo created or modified aclocal.m4 +fi + +mv configure configure.old 2>/dev/null autoconf -(cd libzend;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 + +cd libzend +mv configure configure.old 2>/dev/null +autoconf +if cmp configure.old configure > /dev/null 2>&1; then + echo keeping libzend/configure + mv configure.old configure +else + echo created or modified libzend/configure +fi |