diff options
| author | Glenn Morris | 2013-10-23 16:46:46 -0400 |
|---|---|---|
| committer | Glenn Morris | 2013-10-23 16:46:46 -0400 |
| commit | 7b65c8d0b93e2d1b06dec9d756a02d2034c7865a (patch) | |
| tree | 35f469ca72c7d15fbff9bcd9d90ebe4ea2792fe7 | |
| parent | d5f1282f05c6ea7ad7abb9c27d784e09faa45e4a (diff) | |
| download | emacs-7b65c8d0b93e2d1b06dec9d756a02d2034c7865a.tar.gz emacs-7b65c8d0b93e2d1b06dec9d756a02d2034c7865a.zip | |
* configure.ac: Explicit error for non-ASCII directories
Fixes: debbugs:15260
| -rw-r--r-- | ChangeLog | 2 | ||||
| -rw-r--r-- | configure.ac | 11 |
2 files changed, 13 insertions, 0 deletions
| @@ -1,5 +1,7 @@ | |||
| 1 | 2013-10-23 Glenn Morris <rgm@gnu.org> | 1 | 2013-10-23 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * configure.ac: Explicit error for non-ASCII directories. (Bug#15260) | ||
| 4 | |||
| 3 | Progress towards allowing installation in directories with whitespace. | 5 | Progress towards allowing installation in directories with whitespace. |
| 4 | * Makefile.in (COPYDESTS, write_subdir, install-arch-dep) | 6 | * Makefile.in (COPYDESTS, write_subdir, install-arch-dep) |
| 5 | (install-arch-indep, install-etcdoc, install-info, install-man) | 7 | (install-arch-indep, install-etcdoc, install-info, install-man) |
diff --git a/configure.ac b/configure.ac index d88f1d39b66..74ac7695cdc 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -73,6 +73,17 @@ dnl Support for --program-prefix, --program-suffix and | |||
| 73 | dnl --program-transform-name options | 73 | dnl --program-transform-name options |
| 74 | AC_ARG_PROGRAM | 74 | AC_ARG_PROGRAM |
| 75 | 75 | ||
| 76 | dnl http://debbugs.gnu.org/15260 | ||
| 77 | for var in "`pwd`" "`cd \"$srcdir\"; pwd`" "$bindir" \ | ||
| 78 | "$datadir" "$sharedstatedir" "$libexecdir"; do | ||
| 79 | |||
| 80 | dnl configure sets LC_ALL=C early on, so this range should work. | ||
| 81 | case "$var" in | ||
| 82 | *[[^\ -~]]*) AC_MSG_ERROR([Emacs cannot be built or installed in a directory whose name contains non-ASCII characters: $var]) ;; | ||
| 83 | esac | ||
| 84 | |||
| 85 | done | ||
| 86 | |||
| 76 | dnl It is important that variables on the RHS not be expanded here, | 87 | dnl It is important that variables on the RHS not be expanded here, |
| 77 | dnl hence the single quotes. This is per the GNU coding standards, see | 88 | dnl hence the single quotes. This is per the GNU coding standards, see |
| 78 | dnl (autoconf) Installation Directory Variables | 89 | dnl (autoconf) Installation Directory Variables |