autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 3/4] _AS_LN_S_PREPARE: default to 'cp -pR' on OS/2


From: KO Myung-Hun
Subject: Re: [PATCH 3/4] _AS_LN_S_PREPARE: default to 'cp -pR' on OS/2
Date: Mon, 29 Sep 2014 18:10:43 +0900
User-agent: Mozilla/5.0 (OS/2; Warp 4.5; rv:10.0.6esrpre) Gecko/20120715 Firefox/10.0.6esrpre SeaMonkey/2.7.2

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ping ?

KO Myung-Hun wrote:
> Hi/2.
> 
> Eric Blake wrote:
>> On 09/22/2014 12:59 AM, KO Myung-Hun wrote:
>>> On OS/2, any others than kLIBC have no symlinks.
> 
>> Any other what?  Do you mean:
> 
>> On OS/2, only kLIBC provides symlinks, and not all executables
>> link with kLIBC
> 
>> ?  Or something else?
> 
> 
> On OS/2, only the executables and dlls linked against kLIBC
> support symlinks. Any others not linked against kLIBC do not know
> symlinks at all, and just treat them as normal files containing a
> link entry.
> 
>>> 
>>> * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): Subject. --- 
>>> lib/m4sugar/m4sh.m4 |    9 +++++---- 1 files changed, 5 
>>> insertions(+), 4 deletions(-)
>>> 
>>> diff --git a/lib/m4sugar/m4sh.m4 b/lib/m4sugar/m4sh.m4 index 
>>> a94999e..8f6d184 100644 --- a/lib/m4sugar/m4sh.m4 +++ 
>>> b/lib/m4sugar/m4sh.m4 @@ -1189,12 +1189,13 @@ fi if (echo
>>>> conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$
>>> 2>/dev/null; then as_ln_s='ln -s' -    # ... but there are two 
>>> gotchas: +    # ... but there are three 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 -pR'. -    ln -s 
>>> conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
>>> - as_ln_s='cp -pR' +    # 3) On OS/2, any others than kLIBC has
>>> no symlinks. +    # In three cases, we have to default to `cp
>>> -pR'. +    ln -s conf$$.file conf$$.dir 2>/dev/null && test !
>>> -f conf$$.exe && +      test -z "$OS2_SHELL" || as_ln_s='cp
>>> -pR'
> 
>> Is the goal here to unconditionally use 'cp -pR' if OS2_SHELL is 
>> set?
> 
> 
> Yes.
> 
>>> elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else
>>> 
> 
> 
> 
> 

- -- 
KO Myung-Hun

Using Mozilla SeaMonkey 2.7.2
Under OS/2 Warp 4 for Korean with FixPak #15
In VirtualBox v4.1.32 on Intel Core i7-3615QM 2.30GHz with 8GB RAM

Korean OS/2 User Community : http://www.ecomstation.co.kr

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (OS/2)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFUKSIIE9YstvghgroRAurEAJ4q5D1+vvcmJzfj+fVQWABgdoOO9ACfZmIs
xrScxg4MDB3Cd7U8waa+lwM=
=4SZW
-----END PGP SIGNATURE-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]