$NetBSD: patch-aa,v 1.11 2007/07/20 15:09:23 tron Exp $ --- configure.orig 2007-06-30 16:28:18.000000000 +0100 +++ configure 2007-07-20 15:01:42.000000000 +0100 @@ -29020,7 +29020,7 @@ PY_PREFIX=`$pythonpath -c 'import sys; print sys.prefix'` PY_EXEC_PREFIX=`$pythonpath -c 'import sys; print sys.exec_prefix'` if test -f $PY_INC/Python.h; then - PY_LIBS="-L$PY_LIB/config -lpython$PY_VER -lpthread -lutil" + PY_LIBS="-L$PY_LIB/config -lpython$PY_VER ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} -lutil" PY_CFLAGS="-I$PY_INC" { echo "$as_me:$LINENO: result: ok" >&5 echo "${ECHO_T}ok" >&6; }