r20477 - gnucash/trunk - Correctly disable python unless --enable-python was given

Christian Stimming cstim at code.gnucash.org
Fri Mar 25 03:57:16 EDT 2011


Author: cstim
Date: 2011-03-25 03:57:15 -0400 (Fri, 25 Mar 2011)
New Revision: 20477
Trac: http://svn.gnucash.org/trac/changeset/20477

Modified:
   gnucash/trunk/configure.ac
Log:
Correctly disable python unless --enable-python was given

Modified: gnucash/trunk/configure.ac
===================================================================
--- gnucash/trunk/configure.ac	2011-03-24 21:53:20 UTC (rev 20476)
+++ gnucash/trunk/configure.ac	2011-03-25 07:57:15 UTC (rev 20477)
@@ -1162,15 +1162,15 @@
 ###--------------------------------------------------------
 ### 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



More information about the gnucash-changes mailing list