3 # Get the initial version.
11 # Try to locate a program by using which, and verify that the file is an
16 file=`which $f 2>/dev/null | grep -v '^no '`
17 if test -n "$file" -a -x "$file"; then
28 if test x
$ACLOCAL = x
; then
29 ACLOCAL
=`locate_binary aclocal-1.11 aclocal-1.10 aclocal-1.9 aclocal19 aclocal-1.7 aclocal17 aclocal-1.5 aclocal15 aclocal`
30 if test x
$ACLOCAL = x
; then
31 die
"Did not find a supported aclocal"
37 AUTOHEADER
=${AUTOHEADER:-autoheader}
41 if test x
$AUTOMAKE = x
; then
42 AUTOMAKE
=`locate_binary automake-1.12 automake-1.11 automake-1.10 automake-1.9 automake-1.7`
43 if test x
$AUTOMAKE = x
; then
44 die
"Did not find a supported automake"
47 $AUTOMAKE --foreign --add-missing ||
$AUTOMAKE --gnu --add-missing ||
exit 1
50 AUTOCONF
=${AUTOCONF:-autoconf}