[dynamic_link] improve custom build env. detection under Linux and OSX 92/20792/4
authorSt├ęphane Mottelet <stephane.mottelet@utc.fr>
Tue, 5 Feb 2019 13:00:07 +0000 (14:00 +0100)
committerSt├ęphane MOTTELET <stephane.mottelet@utc.fr>
Tue, 5 Feb 2019 13:34:38 +0000 (14:34 +0100)
commitbcbdf796d6fd51d06cfa86969246ea4dd3c1ba44
tree3eab0cfeacc3aaee89f9e3a18e4bdcdba8112f84
parentb89b59c30403428234bee7eb98d0a6c1b10886f4
[dynamic_link] improve custom build env. detection under Linux and OSX

Makefile.orig bundled in modules/dynamic_link/src/scripts is sometimes
irrelevant, particularly for fortran compiler brand/location which can
vary a lot, especially under OSX, where Fortran examples in ilib_build
help page systematically fail.
The first time ilib_gen_Make_unix is called, the proposed patch allows
to generate once for all a Makefile.orig in SCHIHOME, dedicated to the
local user build environment.

Change-Id: I36b33895a15e77675116728647c8e7ff2c49b198
scilab/modules/dynamic_link/macros/ilib_gen_Make_unix.sci