aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2013-10-23 16:46:46 -0400
committerGlenn Morris2013-10-23 16:46:46 -0400
commit7b65c8d0b93e2d1b06dec9d756a02d2034c7865a (patch)
tree35f469ca72c7d15fbff9bcd9d90ebe4ea2792fe7
parentd5f1282f05c6ea7ad7abb9c27d784e09faa45e4a (diff)
downloademacs-7b65c8d0b93e2d1b06dec9d756a02d2034c7865a.tar.gz
emacs-7b65c8d0b93e2d1b06dec9d756a02d2034c7865a.zip
* configure.ac: Explicit error for non-ASCII directories
Fixes: debbugs:15260
-rw-r--r--ChangeLog2
-rw-r--r--configure.ac11
2 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d7bb5212601..a57b88a89c7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
12013-10-23 Glenn Morris <rgm@gnu.org> 12013-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
73dnl --program-transform-name options 73dnl --program-transform-name options
74AC_ARG_PROGRAM 74AC_ARG_PROGRAM
75 75
76dnl http://debbugs.gnu.org/15260
77for 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
85done
86
76dnl It is important that variables on the RHS not be expanded here, 87dnl It is important that variables on the RHS not be expanded here,
77dnl hence the single quotes. This is per the GNU coding standards, see 88dnl hence the single quotes. This is per the GNU coding standards, see
78dnl (autoconf) Installation Directory Variables 89dnl (autoconf) Installation Directory Variables