Configure test in lib/sysquotas.c

Andrew Bartlett abartlet at
Sun Oct 5 00:18:31 GMT 2003

On Sun, 2003-10-05 at 10:05, Jelmer Vernooij wrote:
> Hi, 
> Why is there a configure test in the bottom of lib/sysquotas.c? Can't
> it be in a seperate file in the test/ directory? Currently, the basic structure 
> of the file is :
> /* sysquota functionality */
> #else 
> 	/* testcase for configure, including main() */ 
> #endif
> Which is (imho) very ugly. This way we're doing two compiles
> on this file (once in configure, once in the make process) and there
> already is a seperate directory for large configure tests.
> What do you think about moving it?

The usual reason for this structure is to allow the test-portion to
depend on the 'normal' portion.  This file is indeed a mess, and if it
does not follow that modal, then I think there is a very good case for
shifting it...

> Jelmer
Andrew Bartlett                                 abartlet at
Manager, Authentication Subsystems, Samba Team  abartlet at
Student Network Administrator, Hawker College   abartlet at
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url :

More information about the samba-technical mailing list