mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-23 22:33:28 +00:00
Correction for issue with LN_S on mingw.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@23190 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
bf660d4abf
commit
52040979bb
2 changed files with 8 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
2006-07-29 10:51-EDT Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* configure: Changed "cp -p" to "cp -rp" to correct breakage
|
||||
when the file being linked is a directory.
|
||||
|
||||
2006-07-06 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
* configure.ac: Prevent bad characters in paths
|
||||
* configure: regenerate
|
||||
|
|
6
configure
vendored
6
configure
vendored
|
@ -494,13 +494,13 @@ if ln -s conf$$.file conf$$ 2>/dev/null; then
|
|||
# ... but there are two gotchas:
|
||||
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
||||
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
||||
# In both cases, we have to default to `cp -p'.
|
||||
# In both cases, we have to default to `cp -rp'.
|
||||
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
||||
as_ln_s='cp -p'
|
||||
as_ln_s='cp -rp'
|
||||
elif ln conf$$.file conf$$ 2>/dev/null; then
|
||||
as_ln_s=ln
|
||||
else
|
||||
as_ln_s='cp -p'
|
||||
as_ln_s='cp -rp'
|
||||
fi
|
||||
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
||||
rmdir conf$$.dir 2>/dev/null
|
||||
|
|
Loading…
Reference in a new issue