From ade9b9ac4dd6998085912166651f666b222d3876 Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Sat, 12 Aug 2000 20:46:05 +0000 Subject: Check for Bonobo 0.17 2000-08-12 Michael Meeks * configure.in: Check for Bonobo 0.17 svn path=/trunk/; revision=4781 --- ChangeLog | 4 ++++ configure.in | 15 ++++++++------- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2c3e378f4d..60cd77faa5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2000-08-12 Michael Meeks + + * configure.in: Check for Bonobo 0.17 + 2000-08-12 Christopher James Lahey * configure.in: Added addressbook/gui/search/Makefile. diff --git a/configure.in b/configure.in index 1e615b90e2..925bca4d1d 100644 --- a/configure.in +++ b/configure.in @@ -209,14 +209,15 @@ dnl AC_SUBST(GNOMEGNORBA_LIBS) dnl ****************************** dnl Check for Bonobo dnl ****************************** -AC_MSG_CHECKING(for Bonobo > 0.16) +AC_MSG_CHECKING(for Bonobo >= 0.17) if gnome-config --libs bonobox > /dev/null 2>&1; then - vers=`gnome-config --modversion bonobo` - case $vers - in - bonobo-0.?|bonobo-0.1[0-5]) bonobo_ok=false ;; - *) bonobo_ok=true ;; - esac + vers=`gnome-config --modversion bonobo | sed -e "s/bonobo-//" | \ + awk 'BEGIN { FS = "."; } { printf "%d", $1 * 1000 + $2;}'` + if test "$vers" -ge 17; then + bonobo_ok=true + else + bonobo_ok=false + fi else bonobo_ok=false fi -- cgit v1.2.3