]> Dogcows Code - chaz/openbox/blobdiff - m4/python.m4
used old vars
[chaz/openbox] / m4 / python.m4
index d00ac4785c103d78eda7dccc9c366b7668023126..48ab081849a8a541f01c0be208c16c4cb6874280 100644 (file)
@@ -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
This page took 0.02031 seconds and 4 git commands to generate.