allows to set PYLIBDIR externally

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7300 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2005-06-17 18:48:43 +00:00
commit f22165de7a

View file

@ -555,7 +555,7 @@ if test -n "$PYTHON"; then
# Find the directory for libraries this is necessary to deal with
# platforms that can have apps built for multiple archs: e.g. x86_64
AC_MSG_CHECKING(for Python lib dir)
PYLIBDIR=`($PYTHON -c "import sys; print sys.lib") 2>/dev/null`
PYLIBDIR?=`($PYTHON -c "import sys; print sys.lib") 2>/dev/null`
if test -z "$PYLIBDIR"; then
# older versions don't have sys.lib so the best we can do is assume lib
PYLIBDIR="lib"