comparison m4/swig_multi_module_support.m4 @ 89:ee7442343cf0

Added m4 macros
author Jamie Bullock <jamie@postlude.co.uk>
date Wed, 05 Sep 2007 14:50:37 +0000
parents
children
comparison
equal deleted inserted replaced
88:525bfdf936c6 89:ee7442343cf0
1 ##### http://autoconf-archive.cryp.to/swig_multi_module_support.html
2 #
3 # SYNOPSIS
4 #
5 # SWIG_MULTI_MODULE_SUPPORT
6 #
7 # DESCRIPTION
8 #
9 # Enable support for multiple modules. This effects all invocations
10 # of $(SWIG). You have to link all generated modules against the
11 # appropriate SWIG runtime library. If you want to build Python
12 # modules for example, use the SWIG_PYTHON macro and link the modules
13 # against $(SWIG_PYTHON_LIBS).
14 #
15 # LAST MODIFICATION
16 #
17 # 2006-10-22
18 #
19 # COPYLEFT
20 #
21 # Copyright (c) 2006 Sebastian Huber <sebastian-huber@web.de>
22 # Copyright (c) 2006 Alan W. Irwin <irwin@beluga.phys.uvic.ca>
23 # Copyright (c) 2006 Rafael Laboissiere <rafael@laboissiere.net>
24 # Copyright (c) 2006 Andrew Collier <colliera@ukzn.ac.za>
25 #
26 # This program is free software; you can redistribute it and/or
27 # modify it under the terms of the GNU General Public License as
28 # published by the Free Software Foundation; either version 2 of the
29 # License, or (at your option) any later version.
30 #
31 # This program is distributed in the hope that it will be useful, but
32 # WITHOUT ANY WARRANTY; without even the implied warranty of
33 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
34 # General Public License for more details.
35 #
36 # You should have received a copy of the GNU General Public License
37 # along with this program; if not, write to the Free Software
38 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
39 # 02111-1307, USA.
40 #
41 # As a special exception, the respective Autoconf Macro's copyright
42 # owner gives unlimited permission to copy, distribute and modify the
43 # configure scripts that are the output of Autoconf when processing
44 # the Macro. You need not follow the terms of the GNU General Public
45 # License when using or distributing such scripts, even though
46 # portions of the text of the Macro appear in them. The GNU General
47 # Public License (GPL) does govern all other use of the material that
48 # constitutes the Autoconf Macro.
49 #
50 # This special exception to the GPL applies to versions of the
51 # Autoconf Macro released by the Autoconf Macro Archive. When you
52 # make and distribute a modified version of the Autoconf Macro, you
53 # may extend this special exception to the GPL to apply to your
54 # modified version as well.
55
56 AC_DEFUN([SWIG_MULTI_MODULE_SUPPORT],[
57 AC_REQUIRE([AC_PROG_SWIG])
58 SWIG="$SWIG -noruntime"
59 ])