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