From: Tom Tromey Date: Fri, 20 Jul 2001 01:22:47 +0000 (+0000) Subject: * automake.texi (Program and Library Variables): Added X example X-Git-Tag: Release-1-4j~32 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=dfab1c5a10b851d95099756fb4085dfa23baf1ab;p=automake.git * automake.texi (Program and Library Variables): Added X example for _LDADD. --- diff --git a/ChangeLog b/ChangeLog index 9d31300d..a42667d6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-07-19 Tom Tromey + + * automake.texi (Program and Library Variables): Added X example + for _LDADD. + 2001-07-19 Tom Tromey * automake.texi (Distributing): Updated to reflect new license. diff --git a/automake.texi b/automake.texi index c46ecd75..a85d7446 100644 --- a/automake.texi +++ b/automake.texi @@ -1978,6 +1978,13 @@ determined by @code{configure}. (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. diff --git a/stamp-vti b/stamp-vti index 0ae27b0a..6656694e 100644 --- a/stamp-vti +++ b/stamp-vti @@ -1,4 +1,4 @@ -@set UPDATED 18 July 2001 +@set UPDATED 19 July 2001 @set UPDATED-MONTH July 2001 @set EDITION 1.4i @set VERSION 1.4i diff --git a/version.texi b/version.texi index 0ae27b0a..6656694e 100644 --- a/version.texi +++ b/version.texi @@ -1,4 +1,4 @@ -@set UPDATED 18 July 2001 +@set UPDATED 19 July 2001 @set UPDATED-MONTH July 2001 @set EDITION 1.4i @set VERSION 1.4i