Hi, On 2/24/10, Ralf Wildenhues <ralf.wildenh...@gmx.de> wrote: > * Sam Steingold wrote on Wed, Feb 24, 2010 at 01:15:13AM CET: > > On 2/23/10, Bruno Haible wrote: > > > Autoconf requires it to be constant. You specify it through the > > > AC_CONFIG_AUX_DIR macro. In other words, if you add to > > > clisp/modules/syscalls/configure.ac > > > the line > > > AC_CONFIG_AUX_DIR([../../src/build-aux]) > > > then you need only one copy of arg-nonnull.h, at > > > clisp/src/build-aux/arg-nonnull.h > > > > I already have CL_MODULE_COMMON_CHECKS() in > clisp/modules/syscalls/configure.in > > which expands to > > AC_REQUIRE([AC_CONFIG_AUX_DIR], > > [AC_CONFIG_AUX_DIR([$cl_cv_clisp_libdir/build-aux])]) > > > That won't work right, the aux dir name needs to be known to autoreconf > and 'automake --add-missing', so it needs to be a literal string. > > The reason autoconf doesn't warn or error out about nonliteral > AC_CONFIG_AUX_DIR argument is probably that in the distant past > (2.13 I guess, before I knew Autoconf anyway) it used to be > possible to pass a shell variable.
the reason it does not complain for me is that before calling all those autoFOO things I create a local directory called '$cl_cv_clisp_libdir' which point to the right place. at any rate, why does automake write this $(top_srcdir)/src/build-aux instead of what specify in my AC_CONFIG_AUX_DIR? -- Sam Steingold <http://sds.podval.org>