diff options
| author | Glenn Morris | 2014-05-07 12:56:34 -0400 |
|---|---|---|
| committer | Glenn Morris | 2014-05-07 12:56:34 -0400 |
| commit | 98e12950aee65b44beb43e9dcaa77bd2b5e2d308 (patch) | |
| tree | dfee63399f182c21789f876999dddfd10975a47f | |
| parent | f62bc934f022be3c4af03ec9877f4ba32628822e (diff) | |
| download | emacs-98e12950aee65b44beb43e9dcaa77bd2b5e2d308.tar.gz emacs-98e12950aee65b44beb43e9dcaa77bd2b5e2d308.zip | |
* autogen.sh: Check for failing aclocal.
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rwxr-xr-x | autogen.sh | 12 |
2 files changed, 15 insertions, 1 deletions
| @@ -1,3 +1,7 @@ | |||
| 1 | 2014-05-07 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * autogen.sh: Check for failing aclocal. | ||
| 4 | |||
| 1 | 2014-05-05 Glenn Morris <rgm@gnu.org> | 5 | 2014-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 | |||
| 211 | echo "Checking for pkg.m4..." | 211 | echo "Checking for pkg.m4..." |
| 212 | AUTORECONF_ENV= | 212 | AUTORECONF_ENV= |
| 213 | env_space= | 213 | env_space= |
| 214 | ac_dir=`aclocal --print-ac-dir` && test -r "$ac_dir/pkg.m4" || { | 214 | ac_dir=`aclocal --print-ac-dir` || { |
| 215 | cat <<EOF | ||
| 216 | There was a problem running 'aclocal --print-ac-dir'. | ||
| 217 | The aclocal program is part of automake. | ||
| 218 | Please check your automake installation. | ||
| 219 | EOF | ||
| 220 | |||
| 221 | exit 1 | ||
| 222 | } | ||
| 223 | |||
| 224 | test -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 |