Log Message: |
Add SWIG_FEATURES variable (and lang-specific variants) to tune how swig bindings are generated.
SWIG_FEATURES is used for general swig options, like -Wall, while
SWIG_(PL|PY|RB)_FEATURES allows tuning language specific settings.
This replaces the incorrect usage of CPPFLAGS as the mechanism for controlling
swig's behavior, thus avoiding the need to filter unknown flags before passing
them on to swig (c.f., r1722164).
* Makefile.in,
configure.ac:
(SWIG_CPPFLAGS): Removed
(SWIG_FEATURES, SWIG_PL_FEATURES, SWIG_PY_FEATURES, SWIG_RB_FEATURE): Added
* build.conf
(swig-*-opts): Replace SWIG_CPPFLAGS with SWIG_FEATURES and add relevant
SWIG_*_FEATURES
|