aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorArturo Espinosa <unammx@src.gnome.org>2000-01-07 08:25:56 +0800
committerArturo Espinosa <unammx@src.gnome.org>2000-01-07 08:25:56 +0800
commitc80c14ffd0ace81afa80c82a137494900fcc0f14 (patch)
treee95ceb5354d6f6a96cd0bcd184710e657f1b2990 /configure.in
parent8e431aec558b7bdab46ff5c7519dd3776f816338 (diff)
downloadgsoc2013-evolution-c80c14ffd0ace81afa80c82a137494900fcc0f14.tar.gz
gsoc2013-evolution-c80c14ffd0ace81afa80c82a137494900fcc0f14.tar.zst
gsoc2013-evolution-c80c14ffd0ace81afa80c82a137494900fcc0f14.zip
More framework work -miguel
svn path=/trunk/; revision=1539
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in29
1 files changed, 21 insertions, 8 deletions
diff --git a/configure.in b/configure.in
index 6869e4c746..f3d635a58c 100644
--- a/configure.in
+++ b/configure.in
@@ -63,15 +63,23 @@ dnl AC_SUBST(GNOMEGNORBA_LIBS)
dnl ******************************
dnl Check for Bonobo
dnl ******************************
-dnl AM_PATH_BONOBO(0.1.0, [
-dnl AC_DEFINE(HAVE_BONOBO)
-dnl have_bonobo=true
-dnl ],[
-dnl have_bonobo=false
-dnl ])
-dnl AM_CONDITIONAL(BONOBO, $have_bonobo)
-
+AC_MSG_CHECKING(for Bonobo > 0.4)
+if gnome-config --libs bonobo > /dev/null 2>&1; then
+ vers=`gnome-config --modversion bonobo`
+ case $vers
+ in
+ bonobo-0.[[01234]]) bonobo_ok=false ;;
+ *) bonobo_ok=true ;;
+ esac
+else
+ bonobo_ok=false
+fi
+if $bonobo_ok; then
+ AC_MSG_RESULT(found)
+else
+ AC_MSG_ERROR(Bonobo 0.5 is required to compile Evolution)
+fi
dnl ******************************
@@ -89,6 +97,11 @@ EXTRA_GNOME_CFLAGS="`gnome-config --cflags gnomeui libglade `"
AC_SUBST(EXTRA_GNOME_LIBS)
AC_SUBST(EXTRA_GNOME_CFLAGS)
+BONOBO_GNOME_LIBS="`gnome-config --libs gnomeui bonobo libglade `"
+BONOBO_GNOME_CFLAGS="`gnome-config --cflags gnomeui bonobo libglade `"
+AC_SUBST(BONOBO_GNOME_LIBS)
+AC_SUBST(BONOBO_GNOME_CFLAGS)
+
EXTRA_GNOME_LIBS_THREADS="`gnome-config --libs gnomeui libglade ` `glib-config --libs gthread`"
EXTRA_GNOME_CFLAGS_THREADS="`gnome-config --cflags gnomeui libglade ` `glib-config --cflags gthread`"
AC_SUBST(EXTRA_GNOME_LIBS_THREADS)