talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 533722f52efcce1117503d5263efbbd4702c9c09
parent 7a8ee419bf23dd5d84275e29cdd04bbb35d47b8d
Author: Paul <paul@claws-mail.org>
Date:   Wed, 29 May 2013 18:26:39 +0100

put back this cruft until a better solution presents itself

Diffstat:
Mconfigure.ac | 10+++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac @@ -1240,7 +1240,15 @@ AM_PATH_PYTHON([2.5], [ PYTHON_SO_FILE_LOCATION=`python-config --ldflags|sed 's/-L//'|awk '{print $1}'` PYTHON_SO_FILE="libpython${PYTHON_VERSION}.so" found_libpython_so="no" - if test -f "$PYTHON_SO_FILE_LOCATION/$PYTHON_SO_FILE"; then + if test -f "$PYTHON_PREFIX/lib/$PYTHON_SO_FILE"; then + found_libpython_so="yes" + PYTHON_SHARED_LIB=`python -c "import os,sys; print os.path.basename(os.path.realpath(\"$PYTHON_PREFIX/lib/$PYTHON_SO_FILE\"))"` + fi + if test x"$found_libpython_so" != x"yes" && test -f "$PYTHON_PREFIX/lib64/$PYTHON_SO_FILE"; then + found_libpython_so="yes" + PYTHON_SHARED_LIB=`python -c "import os,sys; print os.path.basename(os.path.realpath(\"$PYTHON_PREFIX/lib64/$PYTHON_SO_FILE\"))"` + fi + if test x"$found_libpython_so" != x"yes" && test -f "$PYTHON_SO_FILE_LOCATION/$PYTHON_SO_FILE"; then found_libpython_so="yes" PYTHON_SHARED_LIB=`python -c "import os,sys; print os.path.basename(os.path.realpath(\"$PYTHON_SO_FILE_LOCATION/$PYTHON_SO_FILE\"))"` fi