summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2006-07-10 23:47:42 +0000
committerKay Sievers <kay.sievers@vrfy.org>2006-07-10 23:47:42 +0000
commitee147d056dd00b9e54e9c4133ab1126463f953b1 (patch)
tree62277a0426741da9d73e2799274495c7e29071cd /configure.in
parent8ac2e88073fc1231da7930f33725d9ced545e2d1 (diff)
Depend on external shared version of libvolume_id.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in8
1 files changed, 7 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 99c8d7a5..178ef20f 100644
--- a/configure.in
+++ b/configure.in
@@ -180,7 +180,8 @@ AM_CONDITIONAL(GCOV, test x$enable_gcov = xyes)
glib_module="glib-2.0 >= 2.6.0"
dbus_module="dbus-1 >= 0.33"
polkit_module="polkit >= 0.2"
-pkg_modules="$glib_module, gobject-2.0 >= 2.6.0, dbus-glib-1 >= 0.33, $dbus_module, $polkit_module"
+volume_id_module="libvolume_id >= 0.66"
+pkg_modules="$glib_module, gobject-2.0 >= 2.6.0, dbus-glib-1 >= 0.33, $dbus_module, $polkit_module, $volume_id_module"
PKG_CHECK_MODULES(PACKAGE, [$pkg_modules])
EXPAT_LIB=""
@@ -263,6 +264,11 @@ PKG_CHECK_MODULES(POLKIT, [$polkit_module])
AC_SUBST(POLKIT_CFLAGS)
AC_SUBST(POLKIT_LIBS)
+# volume_id
+PKG_CHECK_MODULES(VOLUME_ID, [$volume_id_module])
+AC_SUBST(VOLUME_ID_CFLAGS)
+AC_SUBST(VOLUME_ID_LIBS)
+
# Check for BLKGETSIZE64
AC_CHECK_TYPE(pgoff_t, ,
[AC_DEFINE(pgoff_t, unsigned long, [Index into the pagecache])],