This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: compile problem
- From: Gary V.Vaughan <gary at gnu dot org>
- To: Alexandre Duret-Lutz <adl at src dot lip6 dot fr>
- Cc: libtool at gnu dot org, Patrick Welche <prlw1 at newn dot cam dot ac dot uk>, automake at gnu dot org
- Date: Tue, 7 Sep 2004 23:27:02 +0100
- Subject: Re: compile problem
- References: <20040823192907.GI26469@quartz.newn.cam.ac.uk><20040825185101.GG20840@quartz.newn.cam.ac.uk><20040826034535.GA24171@orchestra.cs.caltech.edu><412E12F8.7000403@gnu.org> <2004-09-07-23-03-10+14978+adl@gnu.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Salut Alexandre!
Welcome back. Hope you enjoyed your vacation :-)
On 7 Sep 2004, at 22:03, Alexandre Duret-Lutz wrote:
"Gary" == Gary V Vaughan <gary@gnu.org> writes:
[...]
On Mon, Aug 23, 2004 at 08:29:07PM +0100, Patrick Welche wrote:
I just tried to build cvs libtool with cvs auto* all from today,
and get:
make all-recursive
Making all in .
cd . && /bin/ksh /usr/src/local/libtool/config/missing --run
automake-1.9a --gnits
libltdl/Makefile.am: C objects with per-target flags but
`AM_PROG_CC_C_O' not in `configure.ac'
[...]
Gary> Libtool has a non compiler specific version of that macro called
Gary> _LT_COMPILER_C_O which is automatically called by LT_INIT.
Gary> Do we need to patch automake to accept LT_INIT for
Gary> subdir-objects projects, or do you think AC_PROG_CC_C_O
Gary> should be merged with _LT_COMPILER_C_O?
It's AM_PROG_CC_C_O Automake needs, not AC_PROG_CC_C_O.
I'm installing the following.
2004-09-07 Alexandre Duret-Lutz <adl@gnu.org>
* automake.in (lang_c_rewrite): Do not require AM_PROG_CC_C_O for
libtool objects.
(handle_single_transform): Pass nonansi_obj to &$subr so
lang_c_rewrite can distinguish libtool objects.
* tests/libtool7.test: Use subdir-objects without using
AM_PROG_CC_C_O.
Report from Gary V. Vaughan and Patrick Welche.
Once again, my perl-fu is insufficuent to the task :-@
So does that simply mean that libtool objects can be correctly built as
subdir-objects without AM_PROG_CC_C_O? Sorry to bug you, just making
sure I understand why you made the patch the way you did...
Cheers,
Gary.
- --
Gary V. Vaughan ())_. gary@{lilith.warpmail.net,gnu.org}
Research Scientist ( '/ http://tkd.kicks-ass.net
GNU Hacker / )= http://www.gnu.org/software/libtool
Technical Author `(_~)_ http://sources.redhat.com/autobook
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (Darwin)
iD8DBQFBPjW5FRMICSmD1gYRAncvAJ9Vk5L6BRYLA19gmwIQPjl/BIVkRACgsrDt
0LC36TBijrewpEn+Bg1kaBo=
=mu7v
-----END PGP SIGNATURE-----