autoconf-patches
[Top][All Lists]
Advanced

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

Re: AC_LN_S: Detect DJGPP < 2.04 (only .exe symlinks)


From: Akim Demaille
Subject: Re: AC_LN_S: Detect DJGPP < 2.04 (only .exe symlinks)
Date: 22 Jan 2001 10:20:26 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Crater Lake)

There is something which is not clear to me in this patch: are you
strengthening it, or weakening it?  It seems to me that you make it
accept DJGPP's `ln -s' partial support, right?  While if we link a
regular file, it will fail.  So in that case we don't want to use `ln
-s' and it seems to me that your patch would though.

I'm very much in favor of `cp -p', thanks.

BTW, could you see if you'd like to make the documentation about `ln'
more precise in doc/autoconf.texi?

@item @command{ln}
@c ---------------
@cindex @command{ln}
Don't rely on @command{ln} having a @option{-f} option.  Symbolic links
are not available on old systems, use @samp{ln} as a fall back.

The @sc{djgpp} @command{ln} emulates soft links for executables by
generating a stub that in turn calls the real program.  This feature
also works with nonexistent files like in the Unix spec. So @samp{ln -s
src dst} will generate @file{src.exe} which will attempt to call
@file{dst.exe}. But this feature only works for executables, therefore,
don't rely on symbolic links on @sc{djgpp}.



reply via email to

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