From f40e605ae3ec55bdd69bddf73c32c4810cdb088c Mon Sep 17 00:00:00 2001 From: cg25 Date: Sat, 22 Nov 2008 13:17:40 +0000 Subject: [PATCH] Minor fixes to the new build system for python bindings. --- bindings/python/Makefile.am | 2 +- configure.in | 11 ----------- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/bindings/python/Makefile.am b/bindings/python/Makefile.am index 962ea58ed..e0c6267cd 100644 --- a/bindings/python/Makefile.am +++ b/bindings/python/Makefile.am @@ -7,7 +7,7 @@ install-exec-local: $(PYTHON) setup.py install --prefix=$(DESTDIR)$(prefix) uninstall-local: - rm -rf $(DESTDIR)$(libdir)/python*/site-packages/*libtorrentrb* + rm -rf $(DESTDIR)$(libdir)/python*/site-packages/*libtorrent* clean-local: $(PYTHON) setup.py clean --all diff --git a/configure.in b/configure.in index 91f08b72d..2c7bbee72 100644 --- a/configure.in +++ b/configure.in @@ -328,17 +328,6 @@ case "$ac_python_binding" in AM_PATH_PYTHON([2.5],,AC_MSG_ERROR([Python not found. Python is required to build python binding.])) - PYTHON_CONFIG=`type -p python$PYTHON_VERSION-config` - if test "$PYTHON_CONFIG" != ""; then - PYTHON_CFLAGS=`$PYTHON_CONFIG --cflags` dnl --includes - PYTHON_LIBS=`$PYTHON_CONFIG --libs` - else - PYTHON_CFLAGS=`` - PYTHON_LIBS=`` - fi - AC_SUBST(PYTHON_CFLAGS) - AC_SUBST(PYTHON_LIBS) - AX_BOOST_PYTHON dnl check that Boost.Python was found: if test -z "$BOOST_PYTHON_LIB"; then