[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: Sun, 22 Nov 2020 17:31:03 +0900

On 2020/11/20 18:58, Branko Čibej wrote:
> On 20.11.2020 10:05, Yasuhito FUTATSUKI wrote:
>> On 2020/11/20 10:44, Yasuhito FUTATSUKI wrote:
>>> On 2020/11/20 10:22, Branko Čibej wrote:
>>>> On 20.11.2020 01:45, Yasuhito FUTATSUKI wrote:
>>  
>>> 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".
>> This is incorrect, because the build-outputs.mk generated by autogen.sh
>> with --release option doesn't have rules to generate bindings C source
>> files. So users need to execute autogen.sh without --release option in
>> such case.
>
>
> Right, and anyone who wants to generate the bindings sources with Swig should be doing that in any case, so that's not a regression.
>
> So it looks like your idea to detect "release mode" in configure is the correct approach after all. But I don't like the idea of parsing build-outputs.mk. How about something like this:

Thank you for the suggestion again. Actually I also don't like the
code fragment I wrote, and wanted to detect it on executing autoconf.

I'll try the way you suggest.

Cheers,

-- 
Yasuhito FUTATSUKI <futatuki_at_yf.bsclub.org>
Received on 2020-11-22 09:32:26 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.