Update of /cvsroot/ap-python/python
In directory usw-pr-cvs1:/tmp/cvs-serv26166
Modified Files:
configure.ac
Log Message:
Rewrite APTK to use it with PyGTK2!
Index: configure.ac
===================================================================
RCS file: /cvsroot/ap-python/python/configure.ac,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** configure.ac 15 May 2002 18:43:38 -0000 1.17
--- configure.ac 21 Jul 2002 18:15:42 -0000 1.18
***************
*** 116,119 ****
--- 116,128 ----
enable_aptk="$enableval",enable_aptk="yes")
+ dnl test for pygtk 2.0
+ AC_MSG_CHECKING(for PyGTK2 installed)
+ if $pythonpath -c "import gtk, sys; sys.exit (gtk.check_version (2, 0, 0) is not None)" >/dev/null 2>&1 ; then
+ AC_MSG_RESULT(found)
+ else
+ AC_MSG_RESULT(not found. APTK disabled.)
+ enable_aptk="no"
+ fi
+
AM_CONDITIONAL(ENABLE_APTK,test "$enable_aptk" = "yes")
|