for _LDADD.
+2001-07-19 Tom Tromey <tromey@redhat.com>
+
+ * automake.texi (Program and Library Variables): Added X example
+ for _LDADD.
+
2001-07-19 Tom Tromey <tromey@redhat.com>
* automake.texi (Distributing): Updated to reflect new license.
(except for @samp{-l}, @samp{-L}, @samp{-dlopen} and @samp{-dlpreopen}).
Use the @samp{_LDFLAGS} variable for this purpose.
+For instance, if your @file{configure.in} uses @code{AC_PATH_XTRA}, you
+could link your program against the X libraries like so:
+
+@example
+maude_LDADD = $(X_PRE_LIBS) $(X_LIBS) $(X_EXTRA_LIBS)
+@end example
+
@item maude_LDFLAGS
This variable is used to pass extra flags to the link step of a program
or a shared library.
-@set UPDATED 18 July 2001
+@set UPDATED 19 July 2001
@set UPDATED-MONTH July 2001
@set EDITION 1.4i
@set VERSION 1.4i
-@set UPDATED 18 July 2001
+@set UPDATED 19 July 2001
@set UPDATED-MONTH July 2001
@set EDITION 1.4i
@set VERSION 1.4i