[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Adapting svnstsw to use Subversion's build system

From: Richard Hansen <rhansen_at_bbn.com>
Date: Mon, 05 May 2008 16:35:45 -0400

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.


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

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.