75 |
#detect automake version |
#detect automake version |
76 |
|
|
77 |
|
|
78 |
# configure.in reqs automake-1.6; try to find it |
# configure.in requires particular automake; try to find it |
79 |
for suf in "-1.6" "1.6" "" false; do |
for suf in "-1.7" "1.7" "-1.6" "1.6" "" false; do |
80 |
version=`automake$suf --version 2>/dev/null | head -1 | awk '{print $NF}' | awk -F. '{print $1 * 10 + $2}'` |
version=`automake$suf --version 2>/dev/null | head -1 | awk '{print $NF}' | awk -F. '{print $1 * 10 + $2}'` |
81 |
if test "0$version" -eq 16; then |
if test "0$version" -eq 17 -o "0$version" -eq 16; then |
82 |
automake=automake$suf |
automake=automake$suf |
83 |
break |
break |
84 |
fi |
fi |
89 |
exit 1 |
exit 1 |
90 |
fi |
fi |
91 |
|
|
|
|
|
92 |
################################################################ |
################################################################ |
93 |
$autoheader |
$autoheader |
94 |
$autoconf |
$autoconf |