summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--configure.in9
2 files changed, 13 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f860bfedb..baf9cc36c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2008-02-13 Alexander Larsson <alexl@redhat.com>
+ * configure.in:
+ Handle beagle >= 0.3.0
+
+2008-02-13 Alexander Larsson <alexl@redhat.com>
+
* libnautilus-private/nautilus-bookmark.c (nautilus_bookmark_compare_with):
Fix bookmark comparison (#516214)
Patch from Cosimo Cecchi
diff --git a/configure.in b/configure.in
index aa9a155f2..f862e0bc9 100644
--- a/configure.in
+++ b/configure.in
@@ -296,7 +296,14 @@ dnl libbeagle checking
AC_ARG_ENABLE(beagle, [ --disable-beagle build without beagle support])
msg_beagle=no
if test "x$enable_beagle" != "xno"; then
- PKG_CHECK_MODULES(BEAGLE, libbeagle-0.0 >= beagle_minver, [
+ BEAGLE_PKGCONFIG=
+ if $PKG_CONFIG --exists libbeagle-1.0; then
+ BEAGLE_PKGCONFIG=libbeagle-1.0
+ else
+ BEAGLE_PKGCONFIG=libbeagle-0.0
+ fi
+
+ PKG_CHECK_MODULES(BEAGLE, $BEAGLE_PKGCONFIG >= beagle_minver, [
AM_CONDITIONAL(HAVE_BEAGLE, true)
AC_DEFINE(HAVE_BEAGLE, 1, [Define to enable beagle support])
]