diff options
author | Dmitry Podgorny <pasis.ua@gmail.com> | 2016-03-24 00:36:07 +0200 |
---|---|---|
committer | Dmitry Podgorny <pasis.ua@gmail.com> | 2016-03-24 00:36:07 +0200 |
commit | 5278572fec624a8c7a487ec21bcb3e59d1c6cf93 (patch) | |
tree | bead4cb35bbc8666d31030a92f357df1f376c225 | |
parent | 503fc9e393708cab48de47bc80d4f6a0c0f6cc43 (diff) | |
download | profani-tty-5278572fec624a8c7a487ec21bcb3e59d1c6cf93.tar.gz |
autotools: Disable python-plugins by default
Profanity doesn't build with Python-3.5. This patch temporary disables python api unless user enable it explicitly.
-rw-r--r-- | configure.ac | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 38ca4f6d..bda37020 100644 --- a/configure.ac +++ b/configure.ac @@ -68,7 +68,12 @@ AC_ARG_WITH([themes], # python if test "x$enable_plugins" = xno; then AM_CONDITIONAL([BUILD_PYTHON_API], [false]) -elif test "x$enable_python_plugins" != xno; then +# +# Python plugins are temporary disabled by default, because Profanity doesn't +# build with all python versions. Change `= xyes` to `!= xno` to enable it by +# default. +# +elif test "x$enable_python_plugins" = xyes; then AS_IF([test "x$PLATFORM" = xosx], [ AS_IF([test "x$PYTHON_FRAMEWORK" = x], [ PYTHON_FRAMEWORK="/Library/Frameworks/Python.framework" ]) AC_MSG_NOTICE([Symlinking Python.framework to $PYTHON_FRAMEWORK]) |