Configure test in lib/sysquotas.c

Stefan Metzmacher metze at metzemix.de
Mon Oct 6 05:42:08 GMT 2003


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 :
> 
> #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.

I'll create a patch to move this stuff, ok?

-- 

metze

-------------------------------------------
Stefan (metze) Metzmacher <metze at metzemix.de>




More information about the samba-technical mailing list