From 3bb7d9596e9b852b2e13185386cc0b71c952e84d Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Sun, 6 Dec 2009 10:36:14 +0100 Subject: 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 --- swig/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) (limited to 'swig/Makefile.am') diff --git a/swig/Makefile.am b/swig/Makefile.am index a38534d..ef87733 100644 --- a/swig/Makefile.am +++ b/swig/Makefile.am @@ -1,5 +1,6 @@ INCLUDES = -I$(top_srcdir)/include $(libplist_CFLAGS) $(SWIG_PYTHON_CPPFLAGS) -I$(oldincludedir) +if HAVE_SWIG BUILT_SOURCES = iphone_wrap.cxx SWIG_SOURCES = iphone.i @@ -29,3 +30,5 @@ _iphone_la_LIBADD = $(top_builddir)/src/libiphone.la $(libplistmm_LIBS) iphone_wrap.cxx : $(SWIG_SOURCES) $(SWIG) $(SWIG_PYTHON_OPT) $(INCLUDES) -I$(top_srcdir)/src -o $@ $< +endif # HAVE_SWIG + -- cgit v1.1-32-gdbae