tbx_builder_src() asks for a C/C++/Fortran compiler even when only some Java code must be compiled
Reported by Samuel GOUGEON (@sgougeon)
BUG DESCRIPTION:
----------------
When in an external module ~/src has only a ~/src/java subdir and only some Java code must be compiled,
tbx_builder_src() checks for a C/C++/Fortran compiler, and stops whenever no one is found,
while only the embedded JVM compiler is required.
ERROR LOG:
----------
...
genlib: Processing file: scilab_error.sci
at line 27 of function tbx_builder_src ( SCI\modules\modules_manager\macros\tbx_builder_src.sci line 44 )
at line 29 of function main_builder ( C:\Users\Samuel\Scilab\maintenance\BTD\BTD_1.0_60-bin\builder.sce line 36 )
at line 49 of executed file C:\Users\Samuel\Scilab\maintenance\BTD\BTD_1.0_60-bin\builder.sce
tbx_builder_src: This module requires a C or Fortran compiler and it has not been found.
HOW TO REPRODUCE THE BUG:
-------------------------
Download and unzip
https://atoms.scilab.org/toolboxes/BTD/1.0/files/BTD-1.0-2-src.zip
// Then run the builder.sce
// Then,
edit tbx_builder_src
// and comment the line #27 after
if ~haveacompiler() then
// and re-run builder.sce => OK!