diff options
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | configure.ac | 14 |
2 files changed, 17 insertions, 2 deletions
| @@ -1,3 +1,8 @@ | |||
| 1 | 2014-04-13 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * configure.ac (LN_S_FILEONLY, LN_S): Use "/bin/ln" on MinGW, to | ||
| 4 | ensure the MSYS ln.exe is invoked. | ||
| 5 | |||
| 1 | 2014-04-11 Glenn Morris <rgm@gnu.org> | 6 | 2014-04-11 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * make-dist: Do not distribute generated admin/grammars/Makefile. | 8 | * make-dist: Do not distribute generated admin/grammars/Makefile. |
diff --git a/configure.ac b/configure.ac index e427caa03c0..d8225f48a35 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -938,11 +938,21 @@ rm -f conf$$ conf$$.file | |||
| 938 | 938 | ||
| 939 | LN_S_FILEONLY='cp -p' | 939 | LN_S_FILEONLY='cp -p' |
| 940 | 940 | ||
| 941 | dnl On MinGW, ensure we will call the MSYS /bin/ln.exe, not some | ||
| 942 | dnl random program in the current directory. | ||
| 941 | if (echo >conf$$.file) 2>/dev/null; then | 943 | if (echo >conf$$.file) 2>/dev/null; then |
| 942 | if ln -s conf$$.file conf$$ 2>/dev/null; then | 944 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
| 943 | LN_S_FILEONLY='ln -s' | 945 | if test "$opsys" = "mingw32"; then |
| 946 | LN_S_FILEONLY='/bin/ln -s' | ||
| 947 | else | ||
| 948 | LN_S_FILEONLY='ln -s' | ||
| 949 | fi | ||
| 944 | elif ln conf$$.file conf$$ 2>/dev/null; then | 950 | elif ln conf$$.file conf$$ 2>/dev/null; then |
| 945 | LN_S_FILEONLY=ln | 951 | if test "$opsys" = "mingw32"; then |
| 952 | LN_S_FILEONLY=/bin/ln | ||
| 953 | else | ||
| 954 | LN_S_FILEONLY=ln | ||
| 955 | fi | ||
| 946 | fi | 956 | fi |
| 947 | fi | 957 | fi |
| 948 | 958 | ||