php-src/TSRM/buildconf

34 lines
676 B
Plaintext
Raw Normal View History

1999-04-24 16:14:18 +00:00
#!/bin/sh
1999-10-04 15:21:39 +00:00
case "$1" in
--copy)
automake_flags=--copy
shift
;;
esac
libtoolize --force --automake $automake_flags
1999-04-24 16:14:18 +00:00
mv aclocal.m4 aclocal.m4.old 2>/dev/null
aclocal
if cmp aclocal.m4.old aclocal.m4 > /dev/null 2>&1; then
1999-07-22 20:20:11 +00:00
echo "buildconf: keeping ${1}aclocal.m4"
1999-04-24 16:14:18 +00:00
mv aclocal.m4.old aclocal.m4
else
1999-07-22 20:20:11 +00:00
echo "buildconf: created or modified ${1}aclocal.m4"
1999-04-24 16:14:18 +00:00
fi
1999-10-02 21:14:23 +00:00
autoheader
1999-04-24 16:14:18 +00:00
automake --add-missing --include-deps $automake_flags
1999-04-24 16:14:18 +00:00
mv configure configure.old 2>/dev/null
autoconf
if cmp configure.old configure > /dev/null 2>&1; then
1999-07-22 20:20:11 +00:00
echo "buildconf: keeping ${1}configure"
1999-04-24 16:14:18 +00:00
mv configure.old configure
else
1999-07-22 20:20:11 +00:00
echo "buildconf: created or modified ${1}configure"
1999-04-24 16:14:18 +00:00
fi