1 diff -Naur alacarte.orig/configure.ac alacarte/configure.ac
2 --- alacarte.orig/configure.ac 2011-09-30 01:51:22.000000000 +0200
3 +++ alacarte/configure.ac 2011-09-30 01:57:47.440809579 +0200
7 m4_define(required_pygobject_version, 2.15.1)
8 -m4_define(required_pygtk_version, 2.13.0)
10 dnl put the ACLOCAL flags in the makefile
11 ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
13 dnl Check for correctly installed pygobject
14 AC_MSG_CHECKING(for pygobject required_pygobject_version installed for python required_python_abi)
16 -import pygtk; pygtk.require('2.0')
18 assert gobject.pygobject_version >= tuple(map(int, 'required_pygobject_version'.split('.')))
21 AC_MSG_ERROR(required pygobject version not found)
24 -dnl Check for correctly installed pygtk
25 -AC_MSG_CHECKING(for pygtk required_pygtk_version installed for python ${PYTHON_VERSION})
27 -import pygtk; pygtk.require('2.0')
29 -assert gobject.pygtk_version >= tuple(map(int, 'required_pygtk_version'.split('.')))
32 -if $PYTHON -c "$prog" 1>&AC_FD_CC 2>&AC_FD_CC; then
33 - AC_MSG_RESULT(found)
35 - AC_MSG_RESULT(not found)
36 - AC_MSG_ERROR(required pygtk version not found)
39 -dnl Check for correctly installed python-glade
40 -dnl AC_MSG_CHECKING(for pyglade required_pygtk_version installed for python ${PYTHON_VERSION})
42 -dnl import pygtk; pygtk.require('2.0')
45 -dnl if $PYTHON -c "$prog" 1>&AC_FD_CC 2>&AC_FD_CC; then
46 -dnl AC_MSG_RESULT(found)
48 -dnl AC_MSG_RESULT(not found)
49 -dnl AC_MSG_ERROR(required pyglade version not found)