[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gnulib] Re: automatic prototypes
From: |
Bruno Haible |
Subject: |
Re: [bug-gnulib] Re: automatic prototypes |
Date: |
Sat, 18 Dec 2004 19:36:37 +0100 |
User-agent: |
KMail/1.5 |
Simon Josefsson wrote:
> It seems safe to assume that if a
> gnulib module A depend on another module B, the AH_BOTTOM from module
> B should come before the one for A.
I don't see a relation between the order in the config.h file and the
module dependencies.
For example, according to your approach, using the 'gettimeofday' module
would put a #include <sys/time.h> into config.h.
And using the 'gettime' module put a #define _GNU_SOURCE 1 into config.h.
'gettime' depends on 'gettimeofday' but not vice versa. So by tying the
the config.h ordering to gnulib module dependencies, the
#include <sys/time.h> would come before the #define _GNU_SOURCE 1.
Which is wrong.
Bruno
- Re: [bug-gnulib] automatic prototypes, (continued)
- Re: [bug-gnulib] automatic prototypes, Karl Berry, 2004/12/16
- [bug-gnulib] Re: automatic prototypes, Simon Josefsson, 2004/12/17
- Re: [bug-gnulib] Re: automatic prototypes, Paul Eggert, 2004/12/17
- [bug-gnulib] Re: automatic prototypes, Simon Josefsson, 2004/12/17
- Re: [bug-gnulib] Re: automatic prototypes, Paul Eggert, 2004/12/18
- [bug-gnulib] Re: automatic prototypes, Simon Josefsson, 2004/12/18
- Re: [bug-gnulib] Re: automatic prototypes, Paul Eggert, 2004/12/19
Re: [bug-gnulib] automatic prototypes, Bruno Haible, 2004/12/18