Configure test in lib/sysquotas.c

Jelmer Vernooij jelmer at vernstok.nl
Sun Oct 5 00:05:02 GMT 2003


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 :

#ifndef AUTOCONF_TEST
/* 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?

Jelmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.samba.org/archive/samba-technical/attachments/20031005/50e0f3a9/attachment.bin


More information about the samba-technical mailing list