Use load_repo_head() when reloading refs
[tig.git] / autogen.sh
blob56bbca888776d936a3c4f050d564373fc75204db
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 # Leapard) 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