bug-autoconf
[Top][All Lists]
Advanced

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

Re: Bug#369396: Regression: problems with macro calling AC_PROG_CC and A


From: Stepan Kasal
Subject: Re: Bug#369396: Regression: problems with macro calling AC_PROG_CC and AC_C_BIGENDIAN
Date: Wed, 31 May 2006 11:14:50 +0200
User-agent: Mutt/1.4.2.1i

Hello,

On Tue, May 30, 2006 at 08:19:14AM +0200, Ralf Wildenhues wrote:
> I guess you could instead also m4_define TEST_INIT, so that it will not
> take part in the requirement-diversion game.  That should preserve the
> order as well.

no, this won't work; AC_REQUIRE has to be called inside an AC_DEFUNed
macro.  Autoconf will complain:

configure.ac:12: error: AC_REQUIRE(AC_PROG_CC): cannot be used outside of an 
m4_defun'd macro
configure.ac:12: the top level

(AC_DEFUN is the same as m4_defun).

Stepan




reply via email to

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