1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-03 22:20:52 -08:00

* autogen.sh: Check for failing aclocal.

This commit is contained in:
Glenn Morris 2014-05-07 12:56:34 -04:00
parent f62bc934f0
commit 98e12950ae
2 changed files with 15 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2014-05-07 Glenn Morris <rgm@gnu.org>
* autogen.sh: Check for failing aclocal.
2014-05-05 Glenn Morris <rgm@gnu.org>
* autogen.sh: Check any pre-existing ACLOCAL_PATH.

View file

@ -211,7 +211,17 @@ fi
echo "Checking for pkg.m4..."
AUTORECONF_ENV=
env_space=
ac_dir=`aclocal --print-ac-dir` && test -r "$ac_dir/pkg.m4" || {
ac_dir=`aclocal --print-ac-dir` || {
cat <<EOF
There was a problem running 'aclocal --print-ac-dir'.
The aclocal program is part of automake.
Please check your automake installation.
EOF
exit 1
}
test -n "$ac_dir" && test -r "$ac_dir/pkg.m4" || {
# Maybe ACLOCAL_PATH is already set-up.
if test -n "$ACLOCAL_PATH"; then