Re: [Bug-gnulib] Re: fnmatch.c includes alloca.h conditionally?
Derek Robert Price <[email protected]>
| Newsgroups | gmane.comp.sysutils.autoconf.bugs,gmane.comp.sysutils.automake.bugs,gmane.comp.version-control.cvs.bugs,gmane.comp.lib.gnulib.bugs |
|---|---|
| Organization | Ximbiot <http://ximbiot.com> |
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Alexandre Duret-Lutz wrote:
>Since these variables are separate it means that if you want to
>use both LIBOBJS and ALLOCA you should use
>
> program_LDADD = $(LIBOBJS) $(ALLOCA)
>or
> library_a_LIBADD = $(LIBOBJS) $(ALLOCA)
>
>One inconsistency here is that Autoconf defines LTLIBOBJS but
>not LTALLOCA. So if you want to include alloca in a shared
>library you have to define LTALLOCA as shown in the Libtool
>manual (but not LTLIBOBJS).
>
>[...]
Okay, I get it. I misread AC_LIBSOURCE in the comment header of
_AC_LIBOBJ_ALLOCA as an AC_LIBOBJ. Thanks, Alexandre.
GNULIB folks, the stuff I said about GNULIB should still apply, though.
Derek
- --
*8^)
Email: [email protected]
Get CVS support at <http://ximbiot.com>!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAhHUILD1OTBfyMaQRAiRQAJ9qAfTvY+yXnVkmEAFboJZWO674jACg9TIW
9xmegjOcyh8H1ClCL7w2b28=
=uZRi
-----END PGP SIGNATURE-----