Add support for move to parent in main view
[tig.git] / autogen.sh
blobaed619674bd5f043d1db3826726f9a6513106a93
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