[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gnulib] closeout module not automaking?
From: |
Bruno Haible |
Subject: |
Re: [bug-gnulib] closeout module not automaking? |
Date: |
Thu, 20 Jul 2006 16:58:32 +0200 |
User-agent: |
KMail/1.9.1 |
Karl Berry wrote:
> I wanted to add the Gnulib closeout module to Hello. So I ran
> gnulib-tool --import closeout
>
> It seemed to run fine (importing lots of other modules as dependencies),
> however, closeout.c did not get added to the gnulib Makefile.am (or
> Makefile.in or Makefile), apparently because gl_CLOSEOUT from
> closeout.m4 is not being invoked -- although closeout is recorded in the
> gl_MODULES list in gnulib-cache.m4 and is in gl_INIT in gnulib-comp.m4.
>
> Seems likely it's because aclocal.m4 asks for gnulib/m4/gnulib.m4
> (gnulib/m4 is my m4-base), and the gl_INIT in gnulib.m4 only has
> gl_GETOPT from my initial gnulib-tool invocation (months ago), without
> gl_CLOSEOUT. (I see no reference to gnulib-comp or -cache anywhere.) I
> tried rerunning aclocal/automake/autoconf/configure/make/etc. Several
> times, to no avail.
Yes, I think aclocal chooses only the first m4 file it find to satisfy a
given dependency.
> Before I dig deeper, I thought I'd ask and see if I was doing something
> obviously wrong. How is this is supposed to work?
I would remove the old gnulib/m4/gnulib.m4. It has been replaced
with gnulib-cache.m4 and gnulib-comp.m4.
Bruno