[orca] fix order of dependancies in configure.in



commit 6a0ddb6223233fdcc222ad2ad48022b96fb316a5
Author: tbsaunde <trev saunders gmail com>
Date:   Fri Jun 18 20:38:24 2010 -0400

    fix order of dependancies in configure.in
    
    the configure script used to check for pyatspi after orbit bonobo and dbus, however pyatspi requires these to function,
    so if they are not present the script would say pyatspi could not be found when the problem was a dependancy was missing.
    By checking for these first we can give a better error message.
    Note we should probably have the at-spi configure.in check for the appropriate python moduels too.

 configure.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.in b/configure.in
index 5c50281..ef05bfe 100644
--- a/configure.in
+++ b/configure.in
@@ -46,11 +46,11 @@ AM_CHECK_PYMOD(gobject,,,[AC_MSG_ERROR(Could not find python module: gobject)])
 # if DISPLAY is not set, and we don't like that.
 #AM_CHECK_PYMOD(gtk,gdk,,[AC_MSG_ERROR(Could not find python module: gtk.gdk)])
 AM_CHECK_PYMOD(gconf,,,[AC_MSG_ERROR(Could not find python module: gconf)])
-AM_CHECK_PYMOD(pyatspi,,,[AC_MSG_ERROR(Could not find python module: pyatspi)])
 AM_CHECK_PYMOD(ORBit,,,[AC_MSG_ERROR(Could not find python module: ORBit)])
 AM_CHECK_PYMOD(ORBit,CORBA,,[AC_MSG_ERROR(Could not find python module: ORBit.CORBA)])
 AM_CHECK_PYMOD(bonobo,,,[AC_MSG_ERROR(Could not find python module: bonobo)])
 AM_CHECK_PYMOD(dbus,,,[AC_MSG_ERROR(Could not find python module: dbus)])
+AM_CHECK_PYMOD(pyatspi,,,[AC_MSG_ERROR(Could not find python module: pyatspi)])
 AM_CHECK_PYMOD(cairo,,,[AC_MSG_ERROR(Could not find python module: cairo)])
 AM_CHECK_PYMOD(pango,,,[AC_MSG_ERROR(Could not find python module: pango)])
 AM_CHECK_PYMOD(wnck,,[wnck_available="yes"],[wnck_available="no"])



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