diff options
| author | 2012-03-21 21:29:53 +0100 | |
|---|---|---|
| committer | 2012-03-21 21:29:53 +0100 | |
| commit | ef69484cd678ede814ebc5d46bf84969b8d96051 (patch) | |
| tree | cb37296120c3fd4a3faaf73124900ba513152bf2 /configure.ac | |
| parent | f41681ed6c7e7215390956d8beb51e6cd929c62a (diff) | |
| download | libimobiledevice-ef69484cd678ede814ebc5d46bf84969b8d96051.tar.gz libimobiledevice-ef69484cd678ede814ebc5d46bf84969b8d96051.tar.bz2 | |
swig: Remove SWIG based python bindings
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 28 |
1 files changed, 1 insertions, 27 deletions
diff --git a/configure.ac b/configure.ac index 01fd702..9ec1139 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -69,30 +69,6 @@ if test "x$ac_cv_have_endian" = "xno"; then | |||
| 69 | fi | 69 | fi |
| 70 | fi | 70 | fi |
| 71 | 71 | ||
| 72 | # SWIG Python Bindings | ||
| 73 | AC_ARG_WITH([swig], | ||
| 74 | [AS_HELP_STRING([--without-swig], | ||
| 75 | [build Python bindings using SWIG (default is yes)])], | ||
| 76 | [build_swig=false], | ||
| 77 | [build_swig=true]) | ||
| 78 | if test "$build_swig" = "true"; then | ||
| 79 | AM_PATH_PYTHON(2.3) | ||
| 80 | AC_PROG_SWIG(1.3.21) | ||
| 81 | AX_SWIG_ENABLE_CXX | ||
| 82 | SWIG_PYTHON | ||
| 83 | else | ||
| 84 | SWIG=false | ||
| 85 | fi | ||
| 86 | if [test "x$SWIG" != "xfalse"]; then | ||
| 87 | SWIG_SUB=swig | ||
| 88 | swig_python_bindings=yes | ||
| 89 | else | ||
| 90 | SWIG_SUB= | ||
| 91 | swig_python_bindings=no | ||
| 92 | fi | ||
| 93 | AM_CONDITIONAL([HAVE_SWIG],[test "x$SWIG" != "xfalse"]) | ||
| 94 | AC_SUBST([SWIG_SUB]) | ||
| 95 | |||
| 96 | # Cython Python Bindings | 72 | # Cython Python Bindings |
| 97 | AC_ARG_WITH([cython], | 73 | AC_ARG_WITH([cython], |
| 98 | [AS_HELP_STRING([--without-cython], | 74 | [AS_HELP_STRING([--without-cython], |
| @@ -227,7 +203,6 @@ src/Makefile | |||
| 227 | include/Makefile | 203 | include/Makefile |
| 228 | dev/Makefile | 204 | dev/Makefile |
| 229 | tools/Makefile | 205 | tools/Makefile |
| 230 | swig/Makefile | ||
| 231 | cython/Makefile | 206 | cython/Makefile |
| 232 | docs/Makefile | 207 | docs/Makefile |
| 233 | libimobiledevice-1.0.pc | 208 | libimobiledevice-1.0.pc |
| @@ -241,8 +216,7 @@ Configuration for $PACKAGE $VERSION: | |||
| 241 | Install prefix: .........: $prefix | 216 | Install prefix: .........: $prefix |
| 242 | Debug code ..............: $building_debug_code | 217 | Debug code ..............: $building_debug_code |
| 243 | Dev tools ...............: $building_dev_tools | 218 | Dev tools ...............: $building_dev_tools |
| 244 | SWIG Python bindings ....: $swig_python_bindings | 219 | Python bindings .........: $cython_python_bindings |
| 245 | Cython Python bindgins ..: $cython_python_bindings | ||
| 246 | SSL support .............: $ssl_provider | 220 | SSL support .............: $ssl_provider |
| 247 | 221 | ||
| 248 | Now type 'make' to build $PACKAGE $VERSION, | 222 | Now type 'make' to build $PACKAGE $VERSION, |
