From bdc14723cfc682a71b2510a0aef1d123b4f76116 Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Fri, 6 Jul 2007 04:22:03 +0000 Subject: [PATCH] * configure.in: Require pygtk 2.10.0 or higher. svn: r8701 --- ChangeLog | 1 + configure.in | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8774a80c2..90f6250b0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,5 @@ 2007-07-05 Alex Roitman + * configure.in: Require pygtk 2.10.0 or higher. * src/GrampsDbUtils/_WriteGedcom.py (GedcomWriter.write_long_text): Remove definition; (GedcomWriter.__init__): Define write_long_text based on self.conc. diff --git a/configure.in b/configure.in index a80a99378..3870900bb 100644 --- a/configure.in +++ b/configure.in @@ -70,13 +70,13 @@ def out(line): f.close() " -AC_MSG_CHECKING(Python bindings for gtk2.4 (pygtk2>=2.3.4)) +AC_MSG_CHECKING(Python bindings for gtk2.10 (pygtk2>=2.10.0)) cat > conftest.py <= (2,3,4): + if version >= (2,10,0): print_version = '.'.join([[str(i) for i in version]]) out(print_version) else: @@ -93,7 +93,7 @@ if test NO = "$has_pygtk" then AC_MSG_ERROR([ -**** The python bindings for gtk 2.4 (pygtk2>=2.3.4) could not be found.]) +**** The python bindings for gtk 2.4 (pygtk2>=2.10.0) could not be found.]) fi AC_MSG_RESULT($has_pygtk) @@ -116,7 +116,7 @@ rm -f conftest.out conftest.py if test NO = "$has_pygnome" then AC_MSG_ERROR([ -**** The python bindings for gnome 2.0 (gnome2-python) could not be found.]) +**** The python bindings for gnome2 (gnome2-python) could not be found.]) fi AC_MSG_RESULT($has_pygnome)