ooo-build r13760 - trunk



Author: kyoshida
Date: Tue Sep  2 14:51:38 2008
New Revision: 13760
URL: http://svn.gnome.org/viewvc/ooo-build?rev=13760&view=rev

Log:
2008-09-02  Kohei Yoshida  <kohei yoshida gmail com>

	* configure.in: check for xml.dom.minidom module in python installation
	when enabling scsolver.


Modified:
   trunk/ChangeLog
   trunk/configure.in

Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in	(original)
+++ trunk/configure.in	Tue Sep  2 14:51:38 2008
@@ -1061,6 +1061,19 @@
 fi
 AC_SUBST(ENABLE_SCSOLVER)
 
+if test "$enable_scsolver" != "no" ; then
+    # Check for xml.dom.minidom module in python installation.
+    AM_PATH_PYTHON([2.0])
+    AC_MSG_CHECKING([whether your python installation has xml.dom.minidom])
+    pydom_test=`$PYTHON -c "import xml.dom.minidom; print('success')" 2>/dev/null`
+    if test "$pydom_test" = "success"; then
+       AC_MSG_RESULT([yes])
+    else
+       AC_MSG_RESULT([no])
+       AC_MSG_ERROR([xml.dom.minidom module not found in your python installation.])
+    fi
+fi
+
 # FIXME: ugly hack to apply a Linux and Win32 specific variants of a patch for swext sources
 if test "$ENABLE_MEDIAWIKI" = "YES" ; then
     if test "$BUILD_WIN32" = "yes" ; then



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]