jamie@126: # ================================================================================ jamie@126: # http://www.gnu.org/software/autoconf-archive/ax_swig_multi_module_support.html jamie@126: # ================================================================================ jamie@126: # jamie@126: # SYNOPSIS jamie@126: # jamie@126: # AX_SWIG_MULTI_MODULE_SUPPORT jamie@126: # jamie@126: # DESCRIPTION jamie@126: # jamie@126: # Enable support for multiple modules. This effects all invocations of jamie@126: # $(SWIG). You have to link all generated modules against the appropriate jamie@126: # SWIG runtime library. If you want to build Python modules for example, jamie@126: # use the AX_SWIG_PYTHON macro and link the modules against jamie@126: # $(AX_SWIG_PYTHON_LIBS). jamie@126: # jamie@126: # LICENSE jamie@126: # jamie@126: # Copyright (c) 2008 Sebastian Huber jamie@126: # Copyright (c) 2008 Alan W. Irwin jamie@126: # Copyright (c) 2008 Rafael Laboissiere jamie@126: # Copyright (c) 2008 Andrew Collier jamie@126: # jamie@126: # This program is free software; you can redistribute it and/or modify it jamie@126: # under the terms of the GNU General Public License as published by the jamie@126: # Free Software Foundation; either version 2 of the License, or (at your jamie@126: # option) any later version. jamie@126: # jamie@126: # This program is distributed in the hope that it will be useful, but jamie@126: # WITHOUT ANY WARRANTY; without even the implied warranty of jamie@126: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General jamie@126: # Public License for more details. jamie@126: # jamie@126: # You should have received a copy of the GNU General Public License along jamie@126: # with this program. If not, see . jamie@126: # jamie@126: # As a special exception, the respective Autoconf Macro's copyright owner jamie@126: # gives unlimited permission to copy, distribute and modify the configure jamie@126: # scripts that are the output of Autoconf when processing the Macro. You jamie@126: # need not follow the terms of the GNU General Public License when using jamie@126: # or distributing such scripts, even though portions of the text of the jamie@126: # Macro appear in them. The GNU General Public License (GPL) does govern jamie@126: # all other use of the material that constitutes the Autoconf Macro. jamie@126: # jamie@126: # This special exception to the GPL applies to versions of the Autoconf jamie@126: # Macro released by the Autoconf Archive. When you make and distribute a jamie@126: # modified version of the Autoconf Macro, you may extend this special jamie@126: # exception to the GPL to apply to your modified version as well. jamie@126: jamie@126: #serial 7 jamie@126: jamie@126: AU_ALIAS([SWIG_MULTI_MODULE_SUPPORT], [AX_SWIG_MULTI_MODULE_SUPPORT]) jamie@126: AC_DEFUN([AX_SWIG_MULTI_MODULE_SUPPORT],[ jamie@126: AC_REQUIRE([AX_PKG_SWIG]) jamie@126: SWIG="$SWIG -noruntime" jamie@126: ])