Ralf Wildenhues 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.

how about

AC_CONFIG_AUX_DIR([...@clisp_libdir@/build-aux])

is it more kosher?



Reply via email to