diff options
| author | Eli Zaretskii | 2020-03-29 16:43:56 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2020-03-29 16:43:56 +0300 |
| commit | 1276c8e10b000b571a12227ebe9216cc6305ef7f (patch) | |
| tree | 13bcb10e23d52fb2edb09e863fc003e0c9da0231 | |
| parent | 76b3bd8cbb9a0a01941d9c1766c054960e4bfd97 (diff) | |
| download | emacs-1276c8e10b000b571a12227ebe9216cc6305ef7f.tar.gz emacs-1276c8e10b000b571a12227ebe9216cc6305ef7f.zip | |
Use hard links to Emacs executable in "make install" on MS-Windows
* configure.ac (LN_S_FILEONLY): Set to "/bin/ln" for MinGW
unconditionally.
| -rw-r--r-- | configure.ac | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/configure.ac b/configure.ac index a4daf1414d3..9907160482e 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -1246,18 +1246,12 @@ emacs_cv_ln_s_fileonly='cp -p' | |||
| 1246 | dnl On MinGW, ensure we will call the MSYS /bin/ln.exe, not some | 1246 | dnl On MinGW, ensure we will call the MSYS /bin/ln.exe, not some |
| 1247 | dnl random program in the current directory. | 1247 | dnl random program in the current directory. |
| 1248 | if (echo >conf$$.file) 2>/dev/null; then | 1248 | if (echo >conf$$.file) 2>/dev/null; then |
| 1249 | if ln -s conf$$.file conf$$ 2>/dev/null; then | 1249 | if test "$opsys" = "mingw32"; then |
| 1250 | if test "$opsys" = "mingw32"; then | 1250 | emacs_cv_ln_s_fileonly=/bin/ln |
| 1251 | emacs_cv_ln_s_fileonly='/bin/ln -s' | 1251 | elif ln -s conf$$.file conf$$ 2>/dev/null; then |
| 1252 | else | 1252 | emacs_cv_ln_s_fileonly='ln -s' |
| 1253 | emacs_cv_ln_s_fileonly='ln -s' | ||
| 1254 | fi | ||
| 1255 | elif ln conf$$.file conf$$ 2>/dev/null; then | 1253 | elif ln conf$$.file conf$$ 2>/dev/null; then |
| 1256 | if test "$opsys" = "mingw32"; then | 1254 | emacs_cv_ln_s_fileonly=ln |
| 1257 | emacs_cv_ln_s_fileonly=/bin/ln | ||
| 1258 | else | ||
| 1259 | emacs_cv_ln_s_fileonly=ln | ||
| 1260 | fi | ||
| 1261 | fi | 1255 | fi |
| 1262 | fi | 1256 | fi |
| 1263 | 1257 | ||