Re: Override LN_S and support Windows symlinks
Paul Eggert <[email protected]> Fri, 10 Jan 2025 10:03:53 -0800
| Newsgroups | gmane.comp.sysutils.autoconf.general |
|---|---|
| Organization | UCLA Computer Science Department |
| Message-ID | <[email protected]> |
On 2025-01-10 04:21, Antonin Décimo wrote: >>> 1. Could _AS_LN_S_PREPARE be changed to work with or recognize Cygwin >>> and MSYS2? >> >> I suppose it could, but what specific change is being proposed? It's not >> entirely clear from your email. > > Fair enough. Would it be possible to remove the `ln -s file dir` check? Why would that be a good idea? We don't want later shell code to execute 'ln -s F D' on systems where this command isn't equivalent to 'ln -s F D/F'. > And would it work for AC_PROG_LN_S to set > `as_ln_s="CYGWIN=winsymlinks:nativestrict ln -s"`? or export the > CYGWIN or MSYS env var in the configure and config.status scripts? I suppose so, though I'm no Cygwin expert. The former sounds less intrusive.