[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LTLIBOBJS not built when using AC_REPLACE_FUNCS without AC_CONFIG_LI
From: |
Chris Pickett |
Subject: |
Re: LTLIBOBJS not built when using AC_REPLACE_FUNCS without AC_CONFIG_LIBOBJ_DIR |
Date: |
Sun, 28 Dec 2008 01:31:22 -0500 |
User-agent: |
Thunderbird 1.5.0.14 (Macintosh/20071210) |
Chris Pickett wrote:
In tracking this down, I found out that neither @LTLIBOBJS@ nor
@LTALLOCA@ are mentioned in either the "Linking the Program" manual
section or the "Program and Library Variables" section in the paragraphs
talking about _DEPENDENCIES, although @LIBOBJS@ and @ALLOCA@ are. Minor,
but also trivial to fix I guess? I didn't make a patch because I
figured it's faster all around for you to just edit the files.
Also, it's probably worth fixing this paragraph:
`Using these variables is very similar to doing conditional
compilation using `AC_SUBST' variables, as described in *note
Conditional Sources::. That is, when building a program, `$(LIBOBJS)'
and `$(ALLOCA)' should be added to the associated `*_LDADD' variable,
or to the `*_LIBADD' variable when building a library. However there
is no need to list the corresponding sources in `EXTRA_*_SOURCES' nor
to define `*_DEPENDENCIES'. Automake automatically adds `$(LIBOBJS)'
and `$(ALLOCA)' to the dependencies, and it will discover the list of
corresponding source files automatically (by tracing the invocations of
the `AC_LIBSOURCE' Autoconf macros).'
to replace the last `.' with `, unless you have already defined
*_DEPENDENCIES explicitly for another purpose, in which case you must
add these variables manually.' This is consistent with the logic in the
previously mentioned sections about *_DEPENDENCIES.
Chris