|
|
|
@ -353,6 +353,11 @@ notice() { |
|
|
|
|
echo -e "\e[1;33m$*\e[0m" |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
error() { |
|
|
|
|
echo -e " \e[31merror\e[0m $*" |
|
|
|
|
exit 1 |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
run() { |
|
|
|
|
check=1 |
|
|
|
|
while test $# -gt 0; do |
|
|
|
@ -1794,7 +1799,18 @@ $(case "$VCS" in |
|
|
|
|
esac) |
|
|
|
|
fi |
|
|
|
|
aclocal |
|
|
|
|
$(if testtag AX_USE_LIBTOOL; then echo libtoolize --force; fi) |
|
|
|
|
$(if testtag AX_USE_LIBTOOL; then |
|
|
|
|
cat <<EOF1 |
|
|
|
|
if which -s libtoolize; then |
|
|
|
|
run libtoolize --force; |
|
|
|
|
elif which -s glibtoolize; then |
|
|
|
|
run glibtoolize --force; |
|
|
|
|
else |
|
|
|
|
echo "error: libtoolize not found" 1>&2 |
|
|
|
|
exit 1 |
|
|
|
|
fi |
|
|
|
|
EOF1 |
|
|
|
|
fi) |
|
|
|
|
automake -a |
|
|
|
|
autoconf |
|
|
|
|
EOF |
|
|
|
@ -1862,7 +1878,15 @@ else |
|
|
|
|
#### Bootstrap Before Configure #### |
|
|
|
|
run --no-check vcs2cl |
|
|
|
|
run aclocal |
|
|
|
|
if testtag AX_USE_LIBTOOL; then run libtoolize --force; fi |
|
|
|
|
if testtag AX_USE_LIBTOOL; then |
|
|
|
|
if which -s libtoolize; then |
|
|
|
|
run libtoolize --force; |
|
|
|
|
elif which -s glibtoolize; then |
|
|
|
|
run glibtoolize --force; |
|
|
|
|
else |
|
|
|
|
error libtoolize not found |
|
|
|
|
fi |
|
|
|
|
fi |
|
|
|
|
run automake -a |
|
|
|
|
run autoconf |
|
|
|
|
|
|
|
|
|