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