r22946 - gnucash/trunk - Fix test for Python to avoid error message

Mike Alexander mta at code.gnucash.org
Sat May 4 14:38:42 EDT 2013


Author: mta
Date: 2013-05-04 14:38:41 -0400 (Sat, 04 May 2013)
New Revision: 22946
Trac: http://svn.gnucash.org/trac/changeset/22946

Modified:
   gnucash/trunk/configure.ac
Log:
Fix test for Python to avoid error message

Getting error like
./../gnucash/configure: line 23573: x/opt/local/bin/python: No such file or directory

Modified: gnucash/trunk/configure.ac
===================================================================
--- gnucash/trunk/configure.ac	2013-05-04 07:49:09 UTC (rev 22945)
+++ gnucash/trunk/configure.ac	2013-05-04 18:38:41 UTC (rev 22946)
@@ -1065,7 +1065,7 @@
 	   AC_MSG_ERROR([Could not find python >= 2.4. If you use --enable-python, you MUST have python installed!])
     ])
   AC_PYTHON_DEVEL(>= '2.4')
-  if [ "x${PYTHON}" = "x" ]
+  if test x${PYTHON} = "x"
   then
 	   AC_MSG_ERROR([Could not find Python development files. Make sure that the correct python-devel package is installed.])
   fi



More information about the gnucash-changes mailing list