Hi,
I updated gnulib in clisp and gnulib-tool installed arg-nonnull.h &
warn-on-use.h in src/build-aux.
why aren't these files in the usual place (src/gllib), together with all the
other headers?
now, I am getting this error when building modules which use gnulib:
make[2]: *** No rule to make target
`CLISP-HOME/modules/syscalls/src/build-aux/arg-nonnull.h', needed by
`arg-nonnull.h'. Stop.
this is because arg-nonnull.h is in
CLISP-HOME/src/build-aux/arg-nonnull.h
this is no good - I need to be able to specify the location of the build-aux
directory (since it could be coming from an existing clisp installation, not a
build directory).
so, how do I specify the location of these files?
this patch would help a lot:
diff --git a/modules/warn-on-use b/modules/warn-on-use
index f0ee83b..75346a7 100644
--- a/modules/warn-on-use
+++ b/modules/warn-on-use
@@ -16,10 +16,10 @@ Makefile.am:
BUILT_SOURCES += warn-on-use.h
# The warn-on-use.h that gets inserted into generated .h files is the same as
# build-aux/warn-on-use.h, except that it has the copyright header cut off.
-warn-on-use.h: $(top_srcdir)/build-aux/warn-on-use.h
+warn-on-use.h: $(build_aux)/warn-on-use.h
$(AM_V_GEN)rm -f $...@-t $@ && \
sed -n -e '/^.ifndef/,$$p' \
- < $(top_srcdir)/build-aux/warn-on-use.h \
+ < $(build_aux)/warn-on-use.h \
> $...@-t && \
mv $...@-t $@
MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
(and a similar one for arg-nonnull)
one would also need to somehow convince automake to add
build_aux = $(top_srcdir)/build-aux
to Makefile.in, but I don't know how to do that.
Thanks.
Sam.