aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rwxr-xr-xautogen.sh12
2 files changed, 15 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a58fbc9ae37..7a3de25e250 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
12014-05-07 Glenn Morris <rgm@gnu.org>
2
3 * autogen.sh: Check for failing aclocal.
4
12014-05-05 Glenn Morris <rgm@gnu.org> 52014-05-05 Glenn Morris <rgm@gnu.org>
2 6
3 * autogen.sh: Check any pre-existing ACLOCAL_PATH. 7 * autogen.sh: Check any pre-existing ACLOCAL_PATH.
diff --git a/autogen.sh b/autogen.sh
index 35175e70b1c..32f86ab8200 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -211,7 +211,17 @@ fi
211echo "Checking for pkg.m4..." 211echo "Checking for pkg.m4..."
212AUTORECONF_ENV= 212AUTORECONF_ENV=
213env_space= 213env_space=
214ac_dir=`aclocal --print-ac-dir` && test -r "$ac_dir/pkg.m4" || { 214ac_dir=`aclocal --print-ac-dir` || {
215 cat <<EOF
216There was a problem running 'aclocal --print-ac-dir'.
217The aclocal program is part of automake.
218Please check your automake installation.
219EOF
220
221 exit 1
222}
223
224test -n "$ac_dir" && test -r "$ac_dir/pkg.m4" || {
215 225
216 # Maybe ACLOCAL_PATH is already set-up. 226 # Maybe ACLOCAL_PATH is already set-up.
217 if test -n "$ACLOCAL_PATH"; then 227 if test -n "$ACLOCAL_PATH"; then