Merge pull request #457 from vivien/text-variable
[tig.git] / autogen.sh
blobb84dfe36159f55791caf92fd6e3583d729f08345
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 echo $0: running: "$@"
17 "$@"
20 run ${ACLOCAL:-aclocal} -I tools
21 run ${AUTOCONF:-autoconf} --include=tools
22 run ${AUTOHEADER:-autoheader} --include=tools