aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorMichael Meeks <michael@helixcode.com>2000-08-13 04:46:05 +0800
committerMichael Meeks <mmeeks@src.gnome.org>2000-08-13 04:46:05 +0800
commitade9b9ac4dd6998085912166651f666b222d3876 (patch)
tree06f62488365271cda4373c4b9e3df54932c732d6 /configure.in
parent4798532399252800f188c5431722fff02e6306eb (diff)
downloadgsoc2013-evolution-ade9b9ac4dd6998085912166651f666b222d3876.tar
gsoc2013-evolution-ade9b9ac4dd6998085912166651f666b222d3876.tar.gz
gsoc2013-evolution-ade9b9ac4dd6998085912166651f666b222d3876.tar.bz2
gsoc2013-evolution-ade9b9ac4dd6998085912166651f666b222d3876.tar.lz
gsoc2013-evolution-ade9b9ac4dd6998085912166651f666b222d3876.tar.xz
gsoc2013-evolution-ade9b9ac4dd6998085912166651f666b222d3876.tar.zst
gsoc2013-evolution-ade9b9ac4dd6998085912166651f666b222d3876.zip
Check for Bonobo 0.17
2000-08-12 Michael Meeks <michael@helixcode.com> * configure.in: Check for Bonobo 0.17 svn path=/trunk/; revision=4781
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in15
1 files changed, 8 insertions, 7 deletions
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