aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--configure.in15
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 <michael@helixcode.com>
+
+ * configure.in: Check for Bonobo 0.17
+
2000-08-12 Christopher James Lahey <clahey@helixcode.com>
* 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