Checkout
troycurtisjr
committed
on 06 Jan
On branch swig-py3: Improve error messages for swig language builds.

* Makefile.in
(SWIG_PY_ERRMSG, SWIG_PL_ERRMSG, SWIG_RB_ERRMSG): New… Show more
On branch swig-py3: Improve error messages for swig language builds.

* Makefile.in

 (SWIG_PY_ERRMSG, SWIG_PL_ERRMSG, SWIG_RB_ERRMSG): New

* build/ac-macros/swig.m4

 (SWIG_PY_ERRMSG, SWIG_PL_ERRMSG, SWIG_RB_ERRMSG): Set a meaningful error

   message if the language binding is not configured for any reason, and clear

   the error message if the configuration is successful.

* build/generator/gen_make.py

 (Generator.write): Add 'name' and 'short_upper' to the ezt template data for

   each swig language option.

* build/generator/templates/build-outputs.mk.ezt

 (.swig_py_checked, .swig_pl_checked, .swig_rb_checked): New make targets.

 (autogen-swig-py, autogen-swig-pl, autogen-swig-rb, swig-py, swig-pl, swig-rb):

   Add corresponding swig_<lang>_checked dependency to top-level swig building

   targets.

Show less