diff options
| author | Eli Zaretskii | 2017-09-10 17:52:41 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2017-09-10 17:52:41 +0300 |
| commit | 43779f9b97f3a1a66c8a32f126ce2c40af921429 (patch) | |
| tree | 3517c9f813561ea00f3c8e89b59bb6bba2708b9e | |
| parent | e716538911227e1bedb48978b8025106abce3734 (diff) | |
| download | emacs-43779f9b97f3a1a66c8a32f126ce2c40af921429.tar.gz emacs-43779f9b97f3a1a66c8a32f126ce2c40af921429.zip | |
Avoid warnings about file names in autoloads on MS-Windows
* configure.ac (srcdir) [mingw32]: Downcase the drive letter, to
avoid warnings from find-file-noselect when making autoloads. For
the details, see
http://lists.gnu.org/archive/html/emacs-devel/2017-09/msg00049.html.
| -rw-r--r-- | configure.ac | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 8ffc7cfff3d..ba6c5af79d4 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -168,7 +168,9 @@ Defaulting to $host.]) | |||
| 168 | # format ("c:/foo/bar"). | 168 | # format ("c:/foo/bar"). |
| 169 | srcdir=`cd "${srcdir}" && pwd -W` | 169 | srcdir=`cd "${srcdir}" && pwd -W` |
| 170 | # 'eval' pacifies strict POSIX non-MinGW shells (Bug#18612). | 170 | # 'eval' pacifies strict POSIX non-MinGW shells (Bug#18612). |
| 171 | eval 'srcdir="/${srcdir:0:1}${srcdir:2}"' | 171 | # We downcase the drive letter to avoid warnings when |
| 172 | # generating autoloads. | ||
| 173 | eval 'srcdir=/`echo ${srcdir:0:1} | sed "y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/`"${srcdir:2}"' | ||
| 172 | ;; | 174 | ;; |
| 173 | esac;; | 175 | esac;; |
| 174 | esac | 176 | esac |