diff options
Diffstat (limited to 'm4/swig_python.m4')
-rw-r--r-- | m4/swig_python.m4 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/m4/swig_python.m4 b/m4/swig_python.m4 new file mode 100644 index 0000000..3647e54 --- /dev/null +++ b/m4/swig_python.m4 @@ -0,0 +1,7 @@ +AC_DEFUN([SWIG_PYTHON],[ + AC_REQUIRE([AC_PROG_SWIG]) + AC_REQUIRE([AC_PYTHON_DEVEL]) + test "x$1" != "xno" || swig_shadow=" -noproxy" + AC_SUBST([SWIG_PYTHON_OPT],[-python$swig_shadow]) + AC_SUBST([SWIG_PYTHON_CPPFLAGS],[$PYTHON_CPPFLAGS]) +]) |