From 27a842d1cf2b37c197b1a2a927a2ee611348847c Mon Sep 17 00:00:00 2001 From: James Booth Date: Sun, 24 Jul 2016 01:34:02 +0100 Subject: [PATCH] Include python plugins by default in build --- configure-debug | 4 ++-- configure.ac | 7 +------ 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/configure-debug b/configure-debug index 92ddceb4..63679c98 100755 --- a/configure-debug +++ b/configure-debug @@ -1,4 +1,4 @@ #!/bin/sh -#./configure PYTHON_VERSION=3 CFLAGS='-g3 -O0' CXXFLAGS='-g3 -O0' --enable-python-plugins $@ -./configure CFLAGS='-g3 -O0' CXXFLAGS='-g3 -O0' --enable-python-plugins $@ +#./configure PYTHON_VERSION=3 CFLAGS='-g3 -O0' CXXFLAGS='-g3 -O0' $@ +./configure CFLAGS='-g3 -O0' CXXFLAGS='-g3 -O0' $@ diff --git a/configure.ac b/configure.ac index 8d06ecfe..71039dcb 100644 --- a/configure.ac +++ b/configure.ac @@ -71,12 +71,7 @@ AC_ARG_ENABLE([icons], # python if test "x$enable_plugins" = xno; then AM_CONDITIONAL([BUILD_PYTHON_API], [false]) -# -# 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 +elif test "x$enable_python_plugins" != xno; 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])