Sam Steingold wrote: > On Thu, Jan 15, 2009 at 2:51 PM, Paolo Bonzini <bonz...@gnu.org> wrote: >>> I decided to move AC_CONFIG_AUX_DIR($1) up: >> Move it reeaaaalllyyyy up. Just after AC_CONFIG_SRCDIR or if you don't >> have it, after AC_INIT. > > My configure.in is: > ============================== configure.in > AC_PREREQ(2.57) > AC_INIT(i18n, 1.0, clisp-list) > AC_CONFIG_SRCDIR(i18n.lisp) > AC_CONFIG_HEADERS(config.h) > > RSE_BOLD > BOLD_MSG([I18N (Common)]) > CL_MODULE_COMMON_CHECKS(../../src/build-aux) > ============================== configure.in > are you saying that AC_CONFIG_HEADERS calls AC_CANONICAL_BUILD?!
No, that CL_MODULE_COMMON_CHECKS calls something that *requires* AC_CANONICAL_BUILD. Required stuff is always expand before the outermost call (and that's a feature: it allows you to AC_REQUIRE a macro that cannot be called conditionally, such as AC_PROG_CC even in macros that can be called conditionally, such as AC_CHECK_FUNCS). Paolo