[Top][All Lists]

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

AC_CONFIG_LINKS([sub/file:file]) with abs srcdir creates a bad link

From: Peter Breitenlohner
Subject: AC_CONFIG_LINKS([sub/file:file]) with abs srcdir creates a bad link
Date: Mon, 21 Dec 2009 14:11:50 +0100 (CET)
User-agent: Alpine 2.00 (LNX 1167 2008-08-23)


here another Autoconf 2.65 bug, reported by TeX Live builders:


creates a wrong symlink when used with an absolute srcdir (different from
builddir). As far as I can reconstruct 2.64 did it differently but also

Attached is a small tarball demonstrating the problem. Everything is as
expected with a relative (explicit or implicit) srcdir, but
   /path/to/src/configure --srcdir=/path/to/src
creates a dangling symlink.


Also attached is a tiny patch adressing this problem.

It might be good to have a test case, but the Autoconf testsuite is beyond

Finally, the manual states that AC_CONFIG_LINKS creates (sym)links from the
source tree to the build tree.  Looking at the code this is obviouly not (no
longer?) the case for files in the build tree created explicitly by
configure or via AC_CONFIG_FILES (execpt for the current problem).  That
sentence might need to be revised.

Peter Breitenlohner <address@hidden>

Attachment: ac-test-1.0.tar.gz
Description: Binary data

Attachment: 0001-Prevent-AC_CONFIG_LINKS-from-creating-bad-symlinks.patch
Description: Text document

reply via email to

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