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 <futat...@yf.bsclub.org>