annotate m4/ax_swig_enable_cxx.m4 @ 126:0d49e1502159

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