diff options
| author | Glenn Morris | 2013-10-24 19:22:13 -0700 |
|---|---|---|
| committer | Glenn Morris | 2013-10-24 19:22:13 -0700 |
| commit | da504eec7088eeb698f3987900ed7757363602c3 (patch) | |
| tree | 37ef3ae0ce35a05505f862488163e97bf7ab105c | |
| parent | 37241f62069b8f60e28d419ca502dd04ba567ab9 (diff) | |
| download | emacs-da504eec7088eeb698f3987900ed7757363602c3.tar.gz emacs-da504eec7088eeb698f3987900ed7757363602c3.zip | |
* configure.ac: It seems _installing_ in non-ASCII is ok, not building.
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | configure.ac | 10 |
2 files changed, 7 insertions, 7 deletions
| @@ -1,3 +1,7 @@ | |||
| 1 | 2013-10-25 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * configure.ac: It seems _installing_ in non-ASCII is ok, not building. | ||
| 4 | |||
| 1 | 2013-10-24 Glenn Morris <rgm@gnu.org> | 5 | 2013-10-24 Glenn Morris <rgm@gnu.org> |
| 2 | 6 | ||
| 3 | * configure.ac: | 7 | * configure.ac: |
diff --git a/configure.ac b/configure.ac index 7d8cb8815fd..2c1123f3a0b 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -74,23 +74,19 @@ dnl --program-transform-name options | |||
| 74 | AC_ARG_PROGRAM | 74 | AC_ARG_PROGRAM |
| 75 | 75 | ||
| 76 | dnl http://debbugs.gnu.org/15260 | 76 | dnl http://debbugs.gnu.org/15260 |
| 77 | dnl I think we have to check, eg, both exec_prefix and bindir, | ||
| 78 | dnl because the latter by default is not yet expanded, but the user | ||
| 79 | dnl may have specified a value for it via --bindir. | ||
| 80 | dnl Note that abs_srcdir and abs_builddir are not yet defined. :( | 77 | dnl Note that abs_srcdir and abs_builddir are not yet defined. :( |
| 81 | 78 | ||
| 82 | dnl "`cd \"$srcdir\" is not portable. | 79 | dnl "`cd \"$srcdir\"`" is not portable. |
| 83 | dnl See autoconf manual "Shell Substitutions": | 80 | dnl See autoconf manual "Shell Substitutions": |
| 84 | dnl "There is just no portable way to use double-quoted strings inside | 81 | dnl "There is just no portable way to use double-quoted strings inside |
| 85 | dnl double-quoted back-quoted expressions (pfew!)." | 82 | dnl double-quoted back-quoted expressions (pfew!)." |
| 86 | temp_srcdir=`cd "$srcdir"; pwd` | 83 | temp_srcdir=`cd "$srcdir"; pwd` |
| 87 | 84 | ||
| 88 | for var in "`pwd`" "$temp_srcdir" "$prefix" "$exec_prefix" \ | 85 | for var in "`pwd`" "$temp_srcdir"; do |
| 89 | "$datarootdir" "$bindir" "$datadir" "$sharedstatedir" "$libexecdir"; do | ||
| 90 | 86 | ||
| 91 | dnl configure sets LC_ALL=C early on, so this range should work. | 87 | dnl configure sets LC_ALL=C early on, so this range should work. |
| 92 | case "$var" in | 88 | case "$var" in |
| 93 | *[[^\ -~]]*) AC_MSG_ERROR([Emacs cannot be built or installed in a directory whose name contains non-ASCII characters: $var]) ;; | 89 | *[[^\ -~]]*) AC_MSG_ERROR([Emacs cannot be built in a directory whose name contains non-ASCII characters: $var]) ;; |
| 94 | esac | 90 | esac |
| 95 | 91 | ||
| 96 | done | 92 | done |