Hello Bruno,

* Bruno Haible wrote on Mon, Jul 31, 2006 at 04:41:40PM CEST:
> The macros of these modules take arguments; therefore no generally valid
> invocation can be put into the module description file.

>       * modules/csharpcomp-script (configure.ac): Use AC_REQUIRE.
> 

> *** modules/csharpcomp-script.bak     2006-01-09 14:54:59.000000000 +0100
> --- modules/csharpcomp-script 2006-07-30 22:55:17.000000000 +0200

> --- 9,15 ----
>   Depends-on:
>   
>   configure.ac:
> ! AC_REQUIRE([gt_CSHARPCOMP])
>   AC_CONFIG_FILES([csharpcomp.sh:build-aux/csharpcomp.sh.in])
>   
>   Makefile.am:

Doesn't this possibly end up in configure.ac outside of any macro
definition?  You can use AC_REQUIRE only inside macros, otherwise
it will always cause an error:
| configure.ac:4: error: AC_REQUIRE(foo): cannot be used outside of an 
AC_DEFUN'd macro

Cheers,
Ralf


Reply via email to