Add support for custom strftime(3) date formats
[tig.git] / autogen.sh
blobaa154fe85cd641e484e73ca076ed55f892875f30
1 #!/bin/sh
3 export WARNINGS="all"
4 set -e
6 # Ideally, we could just do this:
8 #${AUTORECONF:-autoreconf} -v -I tools
10 # Unfortunately, Autoconf 2.61's autoreconf(1) (found in Mac OS X 10.5
11 # Leopard) neglects to pass the -I on to aclocal(1), which is
12 # precisely where we need it! So we do basically what it would have
13 # done.
15 run () {
16 test ${V} = 1 && echo $0: running: "$@"
17 "$@"
20 run ${ACLOCAL:-aclocal} -I tools
21 run ${AUTOCONF:-autoconf} --include=tools
22 run ${AUTOHEADER:-autoheader} --include=tools