From 74dae54b1b092aca744b4df6668569d6fc1153b5 Mon Sep 17 00:00:00 2001 From: Jonathan Beck Date: Sun, 11 Jan 2009 20:44:33 +0100 Subject: Add a pythyon binding to the library (using SWIG). --- configure.ac | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 2f171e1..fb8a484 100644 --- a/configure.ac +++ b/configure.ac @@ -10,6 +10,11 @@ AC_CONFIG_MACRO_DIR([m4]) AC_PROG_LIBTOOL +AM_PATH_PYTHON(2.3) +AC_PROG_SWIG(1.3.21) +SWIG_PYTHON + + # Checks for programs. AC_PROG_CC AM_PROG_CC_C_O @@ -48,4 +53,4 @@ fi AS_COMPILER_FLAGS(GLOBAL_CFLAGS, "-Wall -Wextra -Wmissing-declarations -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter") AC_SUBST(GLOBAL_CFLAGS) -AC_OUTPUT(Makefile src/Makefile include/Makefile plutil/Makefile libplist-1.0.pc) +AC_OUTPUT(Makefile src/Makefile include/Makefile plutil/Makefile swig/Makefile libplist-1.0.pc) -- cgit v1.1-32-gdbae