Added PYTHON3 define

This commit is contained in:
James Booth
2016-07-14 00:00:46 +01:00
parent 10814b044d
commit ace2715cf7
4 changed files with 168 additions and 3 deletions

View File

@@ -96,6 +96,7 @@ elif test "x$enable_python_plugins" = xyes; then
fi
fi
AS_IF([test "x$PLATFORM" = xosx], [rm -f Python.framework])
AS_IF([test "x$PYTHON_VERSION" = x3], [AC_DEFINE([PYTHON3], [1], [Python 3 build])])
else
AM_CONDITIONAL([BUILD_PYTHON_API], [false])
fi