5
AUTOHEADER="autoheader"
11
# We don't use variable here for remembering the type ... strings.
12
# local variables are not that portable, but we fear namespace issues with
13
# our includer. The repeated type calls are not that expensive.
16
if test -x "`$WHICH autoconf-2.5x 2>/dev/null`" ; then
17
AUTOCONF="`$WHICH autoconf-2.5x`"
18
elif test -x "`$WHICH autoconf-2.57 2>/dev/null`" ; then
19
AUTOCONF="`$WHICH autoconf-2.57`"
20
elif test -x "`$WHICH autoconf257 2>/dev/null`" ; then
21
AUTOCONF="`$WHICH autoconf257`"
22
elif test -x "`$WHICH autoconf-2.56 2>/dev/null`" ; then
23
AUTOCONF="`$WHICH autoconf-2.56`"
24
elif test -x "`$WHICH autoconf-2.55 2>/dev/null`" ; then
25
AUTOCONF="`$WHICH autoconf-2.55`"
26
elif test -x "`$WHICH autoconf-2.54 2>/dev/null`" ; then
27
AUTOCONF="`$WHICH autoconf-2.54`"
28
elif test -x "`$WHICH autoconf-2.53 2>/dev/null`" ; then
29
AUTOCONF="`$WHICH autoconf-2.53`"
30
elif test -x "`$WHICH autoconf-2.53a 2>/dev/null`" ; then
31
AUTOCONF="`$WHICH autoconf-2.53a`"
32
elif test -x "`$WHICH autoconf-2.52 2>/dev/null`" ; then
33
AUTOCONF="`$WHICH autoconf-2.52`"
34
elif test -x "`$WHICH autoconf2.50 2>/dev/null`" ; then
35
AUTOCONF="`$WHICH autoconf2.50`"
41
if test -x "`$WHICH autoheader-2.5x 2>/dev/null`" ; then
42
AUTOHEADER="`$WHICH autoheader-2.5x`"
43
AUTOM4TE="`$WHICH autom4te-2.5x`"
44
elif test -x "`$WHICH autoheader-2.57 2>/dev/null`" ; then
45
AUTOHEADER="`$WHICH autoheader-2.57`"
46
AUTOM4TE="`$WHICH autom4te-2.57`"
47
elif test -x "`$WHICH autoheader257 2>/dev/null`" ; then
48
AUTOHEADER="`$WHICH autoheader257`"
49
AUTOM4TE="`$WHICH autom4te257`"
50
elif test -x "`$WHICH autoheader-2.56 2>/dev/null`" ; then
51
AUTOHEADER="`$WHICH autoheader-2.56`"
52
AUTOM4TE="`$WHICH autom4te-2.56`"
53
elif test -x "`$WHICH autoheader-2.55 2>/dev/null`" ; then
54
AUTOHEADER="`$WHICH autoheader-2.55`"
55
AUTOM4TE="`$WHICH autom4te-2.55`"
56
elif test -x "`$WHICH autoheader-2.54 2>/dev/null`" ; then
57
AUTOHEADER="`$WHICH autoheader-2.54`"
58
AUTOM4TE="`$WHICH autom4te-2.54`"
59
elif test -x "`$WHICH autoheader-2.53 2>/dev/null`" ; then
60
AUTOHEADER="`$WHICH autoheader-2.53`"
61
AUTOM4TE="`$WHICH autom4te-2.53`"
62
elif test -x "`$WHICH autoheader-2.53a 2>/dev/null`" ; then
63
AUTOHEADER="`$WHICH autoheader-2.53a`"
64
AUTOM4TE="`$WHICH autom4te-2.53a`"
65
elif test -x "`$WHICH autoheader-2.52 2>/dev/null`" ; then
66
AUTOHEADER="`$WHICH autoheader-2.52`"
67
elif test -x "`$WHICH autoheader2.50 2>/dev/null`" ; then
68
AUTOHEADER="`$WHICH autoheader2.50`"
72
checkAutomakeAclocal ()
74
if test -x "`$WHICH automake-1.6 2>/dev/null`" ; then
75
AUTOMAKE="`$WHICH automake-1.6`"
76
ACLOCAL="`$WHICH aclocal-1.6`"
77
elif test -x "`$WHICH automake-1.7 2>/dev/null`" ; then
78
AUTOMAKE="`$WHICH automake-1.7`"
79
ACLOCAL="`$WHICH aclocal-1.7`"
80
elif test -x "`$WHICH automake17 2>/dev/null`" ; then
81
AUTOMAKE="`$WHICH automake17`"
82
ACLOCAL="`$WHICH aclocal17`"
84
if test -n "$UNSERMAKE"; then
92
for i in "type -p" "which" "type" ; do
93
T=`$i sh 2> /dev/null`
94
test -x "$T" && WHICH="$i" && break
103
export WHICH AUTOHEADER AUTOCONF AUTOM4TE AUTOMAKE ACLOCAL