Skip to content

Commit

Permalink
ADDED some logging to see which locations are checked for the python
Browse files Browse the repository at this point in the history
library in config.log
  • Loading branch information
ksterker committed Mar 8, 2013
1 parent 5787322 commit e219e5b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions configure.in
Expand Up @@ -276,12 +276,13 @@ if test "x$pylibs" = xnone; then
AC_MSG_RESULT(found)
else
py_paths="$PYPREFIX/lib64/python$PYLIBVER/config $PYPREFIX/lib64 \
$PYPREFIX/lib/python$PYLIBVER/config $PYPREFIX/lib \
$PYPREFIX/lib/python$PYLIBVER/config-$target_cpu-$target_os"
$PYPREFIX/lib/python$PYLIBVER/config-${target_cpu}-${target_os} \
$PYPREFIX/lib/python$PYLIBVER/config $PYPREFIX/lib"

dnl Try for specific version first, then the generic version, then panic

for ppath in $py_paths ; do
echo "searching in $ppath" >&AS_MESSAGE_LOG_FD
if test -r "$ppath/libpython$PYLIBVER.so" -o \
-r "$ppath/libpython$PYLIBVER.a"; then
PYLIB="-L$ppath -lpython$PYLIBVER"
Expand Down

0 comments on commit e219e5b

Please sign in to comment.