autoconf-patches
[Top][All Lists]
Advanced

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

[patch] Fix for AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK


From: Tim Van Holder
Subject: [patch] Fix for AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK
Date: 22 May 2001 14:37:57 +0200

When preparing the DJGPP package for 2.50, I noticed test 143
(AC_FUNC_STAT) failed.  Cause: it found conftest.sym.exe.

As it turns out, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK uses
ln -s without considering DJGPP (where symlinks are currently only
supported for executables, resulting in a .exe file being created).

Two alternatives are provided; one knows about the possibility
of a .exe file appearing and handles it; the other uses $as_ln_s to
determine whether running ln -s makes sense in the first place.
Both replace the use of conftest.* with conf$$.*.

2001-05-22  Tim Van Holder <address@hidden>

    * acfunctions.m4: (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK) Use
    ln -s in a portable manner.

Attachment: lstat-dos-ln-a.diff
Description: Text document

Attachment: lstat-dos-ln-b.diff
Description: Text Data


reply via email to

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