Commit 98e12950 authored by Glenn Morris's avatar Glenn Morris

* autogen.sh: Check for failing aclocal.

parent f62bc934
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.
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment