[Top][All Lists]

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

[Bug-gnulib] Re: stdbool dependency?

From: Simon Josefsson
Subject: [Bug-gnulib] Re: stdbool dependency?
Date: Mon, 09 Aug 2004 03:19:48 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

Paul Eggert <address@hidden> writes:

>> I can understand stdbool, but that one seem easy to simulate.
> To be honest, my main objection to recording stdbool is the hassle.
> So many modules depend on it.  As far as I know, all the packages that
> import gnulib use the stdbool module explicitly.  At some point,
> recording the dependencies on stdbool become as annoying as recording
> them on onceonly (another dependency we don't record).

Perhaps gnulib-tool could auto-detect some dependencies, like stdbool.
A grep over the *.{c,h} files owned by a module, for '#include
<stdbool.h>', could make gnulib-tool auto-add 'stdbool' as a

> (We could make it as complicated as we like.  Argh.  :-)

If so, I want alternate versions of some modules too. ;-)
Like a xmalloc.c that does puts(strerror (ENOMEM)) instead of
requiring error + gettext, both of which are huge and complex.

reply via email to

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