[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: change macro of modules csharpexec, javaexec, javacomp-script
From: |
Ralf Wildenhues |
Subject: |
Re: change macro of modules csharpexec, javaexec, javacomp-script |
Date: |
Tue, 8 Aug 2006 16:14:37 +0200 |
User-agent: |
Mutt/1.5.11 |
Hello Bruno,
* Bruno Haible wrote on Tue, Aug 08, 2006 at 03:10:13PM CEST:
> > | configure.ac:4: error: AC_REQUIRE(foo): cannot be used outside of an
> > AC_DEFUN'd macro
>
> Indeed, "gnulib-tool --create-testdir" creates a configure.ac directly.
> I'm changing it to allow AC_REQUIREs. But IMO the autoconf maintainers should
> consider allowing AC_REQUIREs outside of functions (and in that case, the
> inserted expansions should go into the current point).
I don't like this idea too much, because of the unintuitive consequences
when people start factoring out their code into macros: suddenly, the
expansion won't happen "at this point", but before the macro, possibly
even before some other macro expansions. Explaining this to new users
is difficult enough already; and wrapping the requirement in a macro is
easy to do for those that know what they are doing.
Thanks for fixing the reported issue.
Cheers,
Ralf