Commits

Erik Grinaker committed 77eb70a

don't initialize python modules during configure checks

  • Participants
  • Parent commits 6059549

Comments (0)

Files changed (4)

 Revelation changelog
 
+---------------[ xxxx-xx-xx : 0.4.6 ]---------------
+
+2006-01-14  Erik Grinaker <erikg@codepoet.no>
+
+	* don't initialize python modules during configure checks
+
 ---------------[ 2005-08-25 : 0.4.5 ]---------------
 
 2005-08-24  Erik Grinaker <erikg@codepoet.no>
+xxxx-xx-xx: Revelation 0.4.6
+============================
+
+Bugfixes:
+- don't initialize python modules during configure checks
+
+
 2005-08-25: Revelation 0.4.5
 ============================
 

File acinclude.m4

 AC_DEFUN([RVL_PYTHON_MODULE], [
 	AC_MSG_CHECKING(python module $1)
 
-	$PYTHON -c "import $1" 2>/dev/null
+	$PYTHON -c "import imp; imp.find_module('$1')" 2>/dev/null
 
 	if test $? -eq 0; then
 		AC_MSG_RESULT(yes)

File configure.ac

 
 RVL_PYTHON_MODULE(Crypto, yes)
 RVL_PYTHON_MODULE(bonobo, yes)
-RVL_PYTHON_MODULE(bonobo.ui, yes)
 RVL_PYTHON_MODULE(gconf, yes)
 RVL_PYTHON_MODULE(gtk, yes)
-RVL_PYTHON_MODULE(gtk.gdk, yes)
 RVL_PYTHON_MODULE(gnome, yes)
-RVL_PYTHON_MODULE(gnome.applet, yes)
-RVL_PYTHON_MODULE(gnome.ui, yes)
-RVL_PYTHON_MODULE(gnome.vfs, yes)
 RVL_PYTHON_MODULE(gobject, yes)
 RVL_PYTHON_MODULE(pango, yes)