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

Re: How do we detect release mode in autoconf or in configure script?

From: Yasuhito FUTATSUKI <futatuki_at_yf.bsdclub.org>
Date: Fri, 20 Nov 2020 10:44:53 +0900

On 2020/11/20 10:22, Branko Čibej wrote:
> On 20.11.2020 01:45, Yasuhito FUTATSUKI wrote:
>> Hi,
>>
>> As I wrote in another thread, Subversion's configure script in release
>> mode still has an issue that it detects SWIG executable which is never
>> used in release mode.
>
> Does this cause any problems for the build? As far as I know, it doesn't.

The configure script in release tarballs accept --with-swig | --without-swig
options, but actually SWIG is used only in configure script itself and
it can prevent building language bindings with prebuilt bindings C sources.
 
>> To resolve this issue, it is need to detect release mode in autoconf
>> macro or in generated configure script. However I can't find the ways
>> already used in autoconf input files.
>>
>> What is the recommended way to do it?
>
> There is no such thing as "release mode". We should probably make --without-swig the default, and make --with-swig (without parameters) do whatever we do by default today. Developers can fix their build scripts if necessary.

Thank you for the suggestion. I'll do.

Then if users want to rebuild bindings C source, they can do by using
--with-swig option in configure and doing
"make extraclean-swig-xx && make swig-xx".

Thanks,

-- 
Yasuhito FUTATSUKI <futatuki_at_yf.bsclub.org>
Received on 2020-11-20 02:47:18 CET

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.