emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r114762: * configure.ac: Explicit error for non-ASCI


From: Glenn Morris
Subject: [Emacs-diffs] trunk r114762: * configure.ac: Explicit error for non-ASCII directories
Date: Wed, 23 Oct 2013 20:46:50 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 114762
revision-id: address@hidden
parent: address@hidden
fixes bug: http://debbugs.gnu.org/15260
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Wed 2013-10-23 16:46:46 -0400
message:
  * configure.ac: Explicit error for non-ASCII directories
modified:
  ChangeLog                      changelog-20091113204419-o5vbwnq5f7feedwu-1538
  configure.ac                   
configure.in-20091113204419-o5vbwnq5f7feedwu-783
=== modified file 'ChangeLog'
--- a/ChangeLog 2013-10-23 07:28:30 +0000
+++ b/ChangeLog 2013-10-23 20:46:46 +0000
@@ -1,5 +1,7 @@
 2013-10-23  Glenn Morris  <address@hidden>
 
+       * 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)

=== modified file 'configure.ac'
--- a/configure.ac      2013-10-23 06:22:54 +0000
+++ b/configure.ac      2013-10-23 20:46:46 +0000
@@ -73,6 +73,17 @@
 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]