Correctly disable python unless --enable-python was given

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20477 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Christian Stimming 2011-03-25 07:57:15 +00:00
parent 9d1ce4f716
commit 6e987e23f0

View File

@ -1162,15 +1162,15 @@ AC_SUBST(LC_MESSAGES_ENUM)
###--------------------------------------------------------
### Make Python plugin and bindings optional
###--------------------------------------------------------
enable_python=false
AC_ARG_ENABLE(python,
[AS_HELP_STRING([--enable-python],[enable python plugin and bindings])],
[case "${enableval}" in
yes) enable_python=true ;;
no) enable_python=false ;;
*) enable_python=true ;;
esac]
*) enable_python=false # default: false
esac],
[enable_python=false] # default: false
)
if test x${enable_python} = "xtrue"
then