Sam Steingold wrote:
> I want to be able to add build_aux=.... to the $(MAKE) invocation
> so that the file arg-nonnull.h & warn-on-use.h are found in the right place.

build_aux is not something that you can change via an environment variable.
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

The gnulib-tool generated Makefile.am will adapt to this definition:
When you see in the module description

        sed -n -e '/GL_ARG_NONNULL/,$$p' \
          < $(top_srcdir)/build-aux/arg-nonnull.h \

then it the Makefile.am it will read

        sed -n -e '/GL_ARG_NONNULL/,$$p' \
          < $(top_srcdir)/../../src/build-aux/arg-nonnull.h \

- exactly what you need. (This is done in gnulib-tool line 4116.)

Bruno


Reply via email to