On Mon, Sep 17, 2007 at 11:29:42AM +0300, Timo Sirainen wrote:
> On Mon, 2007-09-17 at 09:23 +0200, Geert Hendrickx wrote:
> > On Mon, Sep 17, 2007 at 09:59:07AM +0300, Timo Sirainen wrote:
> > > On Sun, 2007-09-16 at 20:07 +0200, Geert Hendrickx wrote:
> > > > - src/plugin/quota: *BSD rpcgen doesn't copy rquota.h when called with 
> > > > -c.
> > > >   The Makefile should either: cp the file as part of the rquota_xdr.c 
> > > > Makefile
> > > >   target, or change #include "rquota.h" to #include <rpcsvc/rquota.h> 
> > > > with sed.
> > >
> > > Neither does Linux's. My generated rquota_xdr.c contains:
> > >
> > > #include "/usr/include/rpcsvc/rquota.h"
> > >
> > > I'd think this is a problem with other software too. Any idea how
> > > they've solved it?
> > 
> > I'll look into that (I'm not familiar with rpc myself).
> > 
> > > I think one possibility is to use rpcgen -h to generate the .h file.
> > > Better than cp at least.
> 
> I guess this'll do it: http://hg.dovecot.org/dovecot/rev/92bce6a3fdad

(without testing)  No, the filename is wrong.  The generated rquota_xdr.c
has #include "rquota.h".

        Geert


Attachment: pgpcHoN0KxixT.pgp
Description: PGP signature

Reply via email to