bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: arg-nonnull.h & warn-on-use.h in build-aux


From: Sam Steingold
Subject: Re: arg-nonnull.h & warn-on-use.h in build-aux
Date: Tue, 23 Feb 2010 19:15:13 -0500

On 2/23/10, Bruno Haible <address@hidden> wrote:
> 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.

this is bad.
as I explained, the modules/syscalls directory should be buildable
using a pre-installed clisp, i.e., I must be able to redirect
build-aux references to, say, /usr/share/clisp/build-aux/

>  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])])

PS. Bruno, sorry about 2 copies, I hit "reply" instead of "reply-to-all" first
-- 
Sam Steingold <http://sds.podval.org>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]