Blair Zajac wrote:
> Richard Hansen wrote:
>> Hi all,
>>
>> I have a few questions about Subversion's build system. I'm currently
>> trying to figure out how to adapt svnstsw (contrib/server-side/svnstsw)
>> to use Subversion's build system. I'm not familiar with how gen-make.py
>> works, and I'm concerned that adapting svnstsw will require substantial
>> changes -- either to Subversion's build system or to svnstsw code.
>>
>> Here are my questions:
>>
>
>> 6. svnstsw makes heavy use of C99 features. Would it be OK to add the
>> AC_PROG_CC_C99 autoconf test to an .m4 file and only compile svnstsw if
>> 'x${ac_cv_prog_cc_c99}' != 'xno'? Or is this too invasive?
>
> Which features does it use?
If I remember correctly:
* _Bool
* declare variables later than the beginning of the function body
* variable-length arrays (e.g., 'int i = 10; int foo[i]')
* C++-style comments
* snprintf
The variable-length array usage is probably hardest to work around. A
functional snprintf is likely to be available, but if not, I can
probably steal snprintf from <http://www.ijs.si/software/snprintf/> or
one of the BSDs.
-Richard
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-05-05 22:35:59 CEST