summaryrefslogtreecommitdiff
path: root/m4/python.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/python.m4')
-rw-r--r--m4/python.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/m4/python.m4 b/m4/python.m4
index d00ac478..48ab0818 100644
--- a/m4/python.m4
+++ b/m4/python.m4
@@ -43,8 +43,8 @@ AC_DEFUN([PYTHON_DEVEL],
PYTHON_LIBS="-L$i -lpython$PYTHON_VERSION"
break
else
- if test -r "$i/lib$PYVERSION.a"; then
- PYLIB="$i/lib$PYVERSION.a"
+ if test -r "$i/libpython$PYTHON_VERSION.a"; then
+ PYLIB="$i/libpython$PYTHON_VERSION.a"
PYTHON_LIBS="-L$i -lpython$PYTHON_VERSION -lpthread -ldl -lutil -lm"
break
else
@@ -57,7 +57,7 @@ AC_DEFUN([PYTHON_DEVEL],
fi
fi
done
- if test "$python_path"
+ if test "$PYLIB"
then
AC_MSG_RESULT([$PYLIB])
else