* configure.ac: Explicit error for non-ASCII directories
Fixes: debbugs:15260
This commit is contained in:
parent
d5f1282f05
commit
7b65c8d0b9
2 changed files with 13 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
|||
2013-10-23 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* configure.ac: Explicit error for non-ASCII directories. (Bug#15260)
|
||||
|
||||
Progress towards allowing installation in directories with whitespace.
|
||||
* Makefile.in (COPYDESTS, write_subdir, install-arch-dep)
|
||||
(install-arch-indep, install-etcdoc, install-info, install-man)
|
||||
|
|
11
configure.ac
11
configure.ac
|
@ -73,6 +73,17 @@ dnl Support for --program-prefix, --program-suffix and
|
|||
dnl --program-transform-name options
|
||||
AC_ARG_PROGRAM
|
||||
|
||||
dnl http://debbugs.gnu.org/15260
|
||||
for var in "`pwd`" "`cd \"$srcdir\"; pwd`" "$bindir" \
|
||||
"$datadir" "$sharedstatedir" "$libexecdir"; do
|
||||
|
||||
dnl configure sets LC_ALL=C early on, so this range should work.
|
||||
case "$var" in
|
||||
*[[^\ -~]]*) AC_MSG_ERROR([Emacs cannot be built or installed in a directory whose name contains non-ASCII characters: $var]) ;;
|
||||
esac
|
||||
|
||||
done
|
||||
|
||||
dnl It is important that variables on the RHS not be expanded here,
|
||||
dnl hence the single quotes. This is per the GNU coding standards, see
|
||||
dnl (autoconf) Installation Directory Variables
|
||||
|
|
Loading…
Add table
Reference in a new issue