+2004-03-13 Gary V. Vaughan <gary@gnu.org>
+
+ * doc/libtool.texi (Using Automake): Cite correct Automake version
+ for -dlopen quoting.
+ (Autoconf and LTLIBOBJS): Cite correct Autoconf versions
+ throughout.
+ (Distributing libltdl): Use AM_CPPFLAGS; INCLUDES is deprecated.
+ From Alexandre Duret-Lutz <adl@src.lip6.fr>
+
2004-03-05 David Edelsohn <edelsohn@gnu.org>
* m4/libtool.m4: Disable building static libraries if building
First, to link a program against a libtool library, just use the
@samp{program_LDADD}@footnote{@c
@c
-With recent @sc{gnu} Automake (1.8 or newer), the flags @samp{-dlopen}
+With recent @sc{gnu} Automake (1.5 or newer), the flags @samp{-dlopen}
or @samp{-dlpreopen} (@pxref{Link mode}) can be employed with the
@var{program_LDADD} variable. Unfortunately, older releases didn't
accept these flags, so if you are stuck with an ancient Automake, we
@end example
@noindent
-This is not only no longer required (since Autoconf 2.50), but will
-in fact trigger error messages from Autoconf 2.53 and newer. Further,
-this code doesn't take Automake's deansification support into account,
-so wouldn't work correctly in that case even with ancient Autoconfs!
+This is no longer required (since Autoconf 2.50), and doesn't take
+Automake's deansification support into account either, so doesn't work
+correctly even with ancient Autoconfs!
-Provided you are using a recent (2.50 or better) incarnation of
+Provided you are using a recent (2.54 or better) incarnation of
Autoconf, the call to @code{AC_OUTPUT} takes care of setting
@code{LTLIBOBJS} up correctly, so you can simply delete such snippets
from your @file{configure.ac} if you had them.
...
SUBDIRS = libltdl
-INCLUDES = $(LTDLINCL)
+AM_CPPFLAGS = $(LTDLINCL)
myprog_LDFLAGS = -export-dynamic
# The quotes around -dlopen below fool Automake <= 1.4 into accepting it