mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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:
parent
9d1ce4f716
commit
6e987e23f0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user