[PATCH libXaw v2 1/2] Makefile: use $(LN_S) for better code portability

Gaetan Nadon memsize at videotron.ca
Mon Sep 23 14:26:49 PDT 2013


On 13-09-22 08:07 PM, Gaetan Nadon wrote:
> Autoconf recommends using LN_S to safeguard against actual or future
> portability issues. Being open source, X can be ported on platforms we are
> not aware of today.
>
> Autoconf:
>   "Symbolic links are not available on old systems; use ‘$(LN_S)’
>   as a portable substitute".

Also seen this in the announce of autoconf 2.69:

    - AC_PROG_LN_S and AS_LN_S now fall back on 'cp -pR' (not 'cp -p') if
      'ln -s' does not work.  This works better for symlinks to directories.

This indicates to me that there is on going portability issues. I cannot
say on which platforms, what the issues are,  or if any X users would be
impacted. I'd rather err on the cautious side.

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20130923/43408a10/attachment.html>


More information about the xorg-devel mailing list