From 0a3bbd519e032a90e3063d84e2b05aad547608c9 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 20 Jul 2001 01:22:47 +0000 Subject: [PATCH] * automake.texi (Program and Library Variables): Added X example for _LDADD. --- ChangeLog | 5 +++++ automake.texi | 7 +++++++ stamp-vti | 2 +- version.texi | 2 +- 4 files changed, 14 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9d31300d9..a42667d6e 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 c46ecd753..a85d74467 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 0ae27b0a2..6656694e3 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 0ae27b0a2..6656694e3 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 -- 2.47.2