85 |
|
|
86 |
###################################################################### |
###################################################################### |
87 |
|
|
88 |
autoheader |
|
89 |
autoconf |
# configure.in reqs autoconf-2.53; try to find it |
90 |
|
for suf in "-2.53" "2.53" "" false; do |
91 |
|
version=`autoconf$suf --version 2>/dev/null | head -1 | awk '{print $NF}' | awk -F. '{print $1 * 100 + $2}'` |
92 |
|
if test "0$version" -eq 253; then |
93 |
|
autoconf=autoconf$suf |
94 |
|
autoheader=autoheader$suf |
95 |
|
break |
96 |
|
fi |
97 |
|
done |
98 |
|
|
99 |
|
if test -z "$autoconf"; then |
100 |
|
echo "ERROR: Please install autoconf 2.53" |
101 |
|
exit 1 |
102 |
|
fi |
103 |
|
|
104 |
|
|
105 |
|
################################################################ |
106 |
|
$autoheader |
107 |
|
$autoconf |
108 |
|
|
109 |
# Automake has a bug that will let it only add one copy of a missing |
# Automake has a bug that will let it only add one copy of a missing |
110 |
# file. We need two mdate-sh, tho, one in doc/ref/ and one in |
# file. We need two mdate-sh, tho, one in doc/ref/ and one in |