Subject: CVS commit: pkgsrc/mk
To: None <pkgsrc-changes@NetBSD.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: pkgsrc-changes
Date: 02/20/2004 09:58:49
Module Name:	pkgsrc
Committed By:	jlam
Date:		Fri Feb 20 09:58:49 UTC 2004

Modified Files:
	pkgsrc/mk: autoconf.mk
Added Files:
	pkgsrc/mk/gnu-config: libtool-1.4.m4

Log Message:
Symlink the libtool-1.4.m4 file into any directory in which there's a
configure script under ${WRKSRC}.  The symlink is called "libtool.m4",
which is the name expected by the autoconf tools.  The symlinking is
only done if ${AUTOCONF_REQD} == 2.13 and USE_LIBTOOL is defined.  This
allows autoconf-2.13, autoreconf-2.13 and aclocal-2.13 to use the older
libtool.m4 file when regenerating files.  This is okay, because we later
override the generated libtool file anyway.

This fixes problems when libtool-1.5.x is installed and a package tries
to invoke autoconf-2.13 programs at pre-configure time, e.g., gnome-games,
xpuyopuyo, faad2, libwww, etc.  These packages no longer need to be
worked around by bumping AUTOCONF_REQD to 2.50.


To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 pkgsrc/mk/autoconf.mk
cvs rdiff -r0 -r1.1 pkgsrc/mk/gnu-config/libtool-1.4.m4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.