jamie@126
|
1 # ================================================================================
|
jamie@126
|
2 # http://www.gnu.org/software/autoconf-archive/ax_swig_multi_module_support.html
|
jamie@126
|
3 # ================================================================================
|
jamie@126
|
4 #
|
jamie@126
|
5 # SYNOPSIS
|
jamie@126
|
6 #
|
jamie@126
|
7 # AX_SWIG_MULTI_MODULE_SUPPORT
|
jamie@126
|
8 #
|
jamie@126
|
9 # DESCRIPTION
|
jamie@126
|
10 #
|
jamie@126
|
11 # Enable support for multiple modules. This effects all invocations of
|
jamie@126
|
12 # $(SWIG). You have to link all generated modules against the appropriate
|
jamie@126
|
13 # SWIG runtime library. If you want to build Python modules for example,
|
jamie@126
|
14 # use the AX_SWIG_PYTHON macro and link the modules against
|
jamie@126
|
15 # $(AX_SWIG_PYTHON_LIBS).
|
jamie@126
|
16 #
|
jamie@126
|
17 # LICENSE
|
jamie@126
|
18 #
|
jamie@126
|
19 # Copyright (c) 2008 Sebastian Huber <sebastian-huber@web.de>
|
jamie@126
|
20 # Copyright (c) 2008 Alan W. Irwin <irwin@beluga.phys.uvic.ca>
|
jamie@126
|
21 # Copyright (c) 2008 Rafael Laboissiere <rafael@laboissiere.net>
|
jamie@126
|
22 # Copyright (c) 2008 Andrew Collier <colliera@ukzn.ac.za>
|
jamie@126
|
23 #
|
jamie@126
|
24 # This program is free software; you can redistribute it and/or modify it
|
jamie@126
|
25 # under the terms of the GNU General Public License as published by the
|
jamie@126
|
26 # Free Software Foundation; either version 2 of the License, or (at your
|
jamie@126
|
27 # option) any later version.
|
jamie@126
|
28 #
|
jamie@126
|
29 # This program is distributed in the hope that it will be useful, but
|
jamie@126
|
30 # WITHOUT ANY WARRANTY; without even the implied warranty of
|
jamie@126
|
31 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
jamie@126
|
32 # Public License for more details.
|
jamie@126
|
33 #
|
jamie@126
|
34 # You should have received a copy of the GNU General Public License along
|
jamie@126
|
35 # with this program. If not, see <http://www.gnu.org/licenses/>.
|
jamie@126
|
36 #
|
jamie@126
|
37 # As a special exception, the respective Autoconf Macro's copyright owner
|
jamie@126
|
38 # gives unlimited permission to copy, distribute and modify the configure
|
jamie@126
|
39 # scripts that are the output of Autoconf when processing the Macro. You
|
jamie@126
|
40 # need not follow the terms of the GNU General Public License when using
|
jamie@126
|
41 # or distributing such scripts, even though portions of the text of the
|
jamie@126
|
42 # Macro appear in them. The GNU General Public License (GPL) does govern
|
jamie@126
|
43 # all other use of the material that constitutes the Autoconf Macro.
|
jamie@126
|
44 #
|
jamie@126
|
45 # This special exception to the GPL applies to versions of the Autoconf
|
jamie@126
|
46 # Macro released by the Autoconf Archive. When you make and distribute a
|
jamie@126
|
47 # modified version of the Autoconf Macro, you may extend this special
|
jamie@126
|
48 # exception to the GPL to apply to your modified version as well.
|
jamie@126
|
49
|
jamie@126
|
50 #serial 7
|
jamie@126
|
51
|
jamie@126
|
52 AU_ALIAS([SWIG_MULTI_MODULE_SUPPORT], [AX_SWIG_MULTI_MODULE_SUPPORT])
|
jamie@126
|
53 AC_DEFUN([AX_SWIG_MULTI_MODULE_SUPPORT],[
|
jamie@126
|
54 AC_REQUIRE([AX_PKG_SWIG])
|
jamie@126
|
55 SWIG="$SWIG -noruntime"
|
jamie@126
|
56 ])
|