automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Patch: added X example


From: Tom Tromey
Subject: Patch: added X example
Date: 19 Jul 2001 19:47:22 -0600

I'm checking this in.

2001-07-19  Tom Tromey  <address@hidden>

        * automake.texi (Program and Library Variables): Added X example
        for _LDADD.

Tom

Index: automake.texi
===================================================================
RCS file: /cvs/automake/automake/automake.texi,v
retrieving revision 1.223
diff -u -r1.223 automake.texi
--- automake.texi 2001/07/20 01:03:19 1.223
+++ automake.texi 2001/07/20 01:21:43
@@ -1978,6 +1978,13 @@
 (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:
+
address@hidden
+maude_LDADD = $(X_PRE_LIBS) $(X_LIBS) $(X_EXTRA_LIBS)
address@hidden example
+
 @item maude_LDFLAGS
 This variable is used to pass extra flags to the link step of a program
 or a shared library.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]