diff options
author | Nikias Bassen | 2009-12-06 10:36:14 +0100 |
---|---|---|
committer | Matt Colyer | 2009-12-06 13:58:40 -0800 |
commit | 3bb7d9596e9b852b2e13185386cc0b71c952e84d (patch) | |
tree | 31dee21d6b27d8b626aebeaf5650db0fffda4d53 /m4/ax_swig_enable_cxx.m4 | |
parent | 15b9f3451e20ccb4f9c6cdadc0dd75bc72246360 (diff) | |
download | libimobiledevice-3bb7d9596e9b852b2e13185386cc0b71c952e84d.tar.gz libimobiledevice-3bb7d9596e9b852b2e13185386cc0b71c952e84d.tar.bz2 |
Updated autofoo stuff; swig is now optional and can be disabled.
Use --without-swig to prevent building the swig extensions even if swig
is installed.
[#93 state:resolved]
Signed-off-by: Matt Colyer <matt@colyer.name>
Diffstat (limited to 'm4/ax_swig_enable_cxx.m4')
-rw-r--r-- | m4/ax_swig_enable_cxx.m4 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/m4/ax_swig_enable_cxx.m4 b/m4/ax_swig_enable_cxx.m4 index 722caeb..c1eca8c 100644 --- a/m4/ax_swig_enable_cxx.m4 +++ b/m4/ax_swig_enable_cxx.m4 @@ -47,5 +47,7 @@ AU_ALIAS([SWIG_ENABLE_CXX], [AX_SWIG_ENABLE_CXX]) AC_DEFUN([AX_SWIG_ENABLE_CXX],[ AC_REQUIRE([AC_PROG_SWIG]) AC_REQUIRE([AC_PROG_CXX]) - SWIG="$SWIG -c++" + if test "$SWIG" != "false"; then + SWIG="$SWIG -c++" + fi ]) |