diff options
| author | 2009-01-11 20:44:33 +0100 | |
|---|---|---|
| committer | 2009-01-11 20:44:33 +0100 | |
| commit | 74dae54b1b092aca744b4df6668569d6fc1153b5 (patch) | |
| tree | 46d0e9ade9da94d12a57a06032f4fe81716ff8f5 /configure.ac | |
| parent | ed5f0b7154a5f653c240e6962098ae7b28ab61e5 (diff) | |
| download | libplist-74dae54b1b092aca744b4df6668569d6fc1153b5.tar.gz libplist-74dae54b1b092aca744b4df6668569d6fc1153b5.tar.bz2 | |
Add a pythyon binding to the library (using SWIG).
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 7 |
1 files changed, 6 insertions, 1 deletions
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]) | |||
| 10 | 10 | ||
| 11 | AC_PROG_LIBTOOL | 11 | AC_PROG_LIBTOOL |
| 12 | 12 | ||
| 13 | AM_PATH_PYTHON(2.3) | ||
| 14 | AC_PROG_SWIG(1.3.21) | ||
| 15 | SWIG_PYTHON | ||
| 16 | |||
| 17 | |||
| 13 | # Checks for programs. | 18 | # Checks for programs. |
| 14 | AC_PROG_CC | 19 | AC_PROG_CC |
| 15 | AM_PROG_CC_C_O | 20 | AM_PROG_CC_C_O |
| @@ -48,4 +53,4 @@ fi | |||
| 48 | AS_COMPILER_FLAGS(GLOBAL_CFLAGS, "-Wall -Wextra -Wmissing-declarations -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter") | 53 | AS_COMPILER_FLAGS(GLOBAL_CFLAGS, "-Wall -Wextra -Wmissing-declarations -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter") |
| 49 | AC_SUBST(GLOBAL_CFLAGS) | 54 | AC_SUBST(GLOBAL_CFLAGS) |
| 50 | 55 | ||
| 51 | AC_OUTPUT(Makefile src/Makefile include/Makefile plutil/Makefile libplist-1.0.pc) | 56 | AC_OUTPUT(Makefile src/Makefile include/Makefile plutil/Makefile swig/Makefile libplist-1.0.pc) |
