Annotation of embedaddon/php/TSRM/buildconf, revision 1.1.1.1
1.1 misho 1: #!/bin/sh
2:
3: case "$1" in
4: --copy)
5: automake_flags=--copy
6: shift
7: ;;
8: esac
9:
10: libtoolize --force --automake $automake_flags
11:
12: mv aclocal.m4 aclocal.m4.old 2>/dev/null
13: aclocal
14: if cmp aclocal.m4.old aclocal.m4 > /dev/null 2>&1; then
15: echo "buildconf: keeping ${1}aclocal.m4"
16: mv aclocal.m4.old aclocal.m4
17: else
18: echo "buildconf: created or modified ${1}aclocal.m4"
19: fi
20:
21: autoheader
22:
23: automake --add-missing --include-deps $automake_flags
24:
25: mv configure configure.old 2>/dev/null
26: autoconf
27: if cmp configure.old configure > /dev/null 2>&1; then
28: echo "buildconf: keeping ${1}configure"
29: mv configure.old configure
30: else
31: echo "buildconf: created or modified ${1}configure"
32: fi
33:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>