Minor fixes to the new build system for python bindings.

This commit is contained in:
cg25 2008-11-22 13:17:40 +00:00
parent 177e53516a
commit f40e605ae3
2 changed files with 1 additions and 12 deletions

View File

@ -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

View File

@ -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