Sam Steingold wrote:
> $(am__cd) $(top_srcdir) && \
> $(AUTOMAKE) --gnits gllib/Makefile
>
> the penultimate line must be
>
> $(am__cd) $(top_srcdir)/src && \
>
> how do I effect that?
You can't. Instead, make sure that $(top_srcdir) evaluates to .../clisp/src.
Bruno
--
In
Sam Steingold wrote:
> clisp directory structure is:
> clisp - top level; hand-written configure script (ask Bruno)
> clisp/src - most sources, configure.in, configure, aclocal.m4
> clisp/src/gllib, clisp/src/glm4 - imported from gnulib
> clisp/src/build-aux - imported from many places, mostly gnul
Bruno Haible wrote:
> Sam Steingold wrote:
>> If I prepend -I$(srcdir)/gllib to CPPFLAFS, then
>>
>> #include
>>
>> will read the gnulib header, not the system header.
>
> Yes.
>
>> How can you be sure that this will not lead to any problems given that
>> the libgnu.a does _not_ include regex.o?
A related issue is this section of gllib/Makefile.in
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
Hi,
clisp directory structure is:
clisp - top level; hand-written configure script (ask Bruno)
clisp/src - most sources, configure.in, configure, aclocal.m4
clisp/src/gllib, clisp/src/glm4 - imported from gnulib
clisp/src/build-aux - imported from many places, mostly gnulib
$ grep top_srcdir src/g
> * Bruno Haible [2011-07-29 01:39:59 +0200]:
>
>> At any rate, if gnulib regex is included in libgnu.a, then regex.h
>> should be copied (or linked) to $(builddir) or $(builddir)/gllib.
>> The current situation is clearly wrong: regex is the only gnulib package
>> which requires prepending -I$(sr