[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Ordering of AM_PROG_GCJ and AC_PROG_LIBTOOL should be enforced
From: |
Thomas Fitzsimmons |
Subject: |
Re: Ordering of AM_PROG_GCJ and AC_PROG_LIBTOOL should be enforced |
Date: |
Mon, 12 Jul 2004 22:36:51 -0400 |
Hi,
Can this problem be fixed by changing AC_PROG_LIBTOOL?
Tom
On Sun, 2004-07-11 at 18:37, Alexandre Duret-Lutz wrote:
> >>> "Thomas" == Thomas Fitzsimmons <address@hidden> writes:
>
> Thomas> Hi,
>
> Hi,
>
> Thomas> If AC_PROG_LIBTOOL appears before AM_PROG_GCJ in configure.ac, then
> Thomas> libtool fails to run gcj properly, with errors like this:
>
> Thomas> libtool: compile: unable to infer tagged configuration
> Thomas> libtool: compile: specify a tag with `--tag'
>
> Thomas> AM_PROG_GCJ should include a call to AC_BEFORE so that a warning is
> Thomas> issued when these macros appear in the wrong order.
>
> It seems to me AC_PROG_LIBTOOL contains all the necessary
> machinery to solve this ordering matter. So if something change
> with the order, I'd say it's a Libtool bug.
>
> Automake should not have to keep track of every third-party
> macro that depend on its. Similarly Autoconf do not call
> AC_BEFORE in AC_PROG_CXX and AC_PROG_F77.
- Re: Ordering of AM_PROG_GCJ and AC_PROG_LIBTOOL should be enforced,
Thomas Fitzsimmons <=