LIBNL_REQUIRED="1.1"
LIBSSH2_REQUIRED="1.0"
LIBSSH2_TRANSPORT_REQUIRED="1.3"
-BLKID_REQUIRED="2.17"
FUSE_REQUIRED="2.8.6"
dnl Checks for C compiler.
LIBVIRT_CHECK_APPARMOR
LIBVIRT_CHECK_AUDIT
LIBVIRT_CHECK_AVAHI
+LIBVIRT_CHECK_BLKID
LIBVIRT_CHECK_CAPNG
LIBVIRT_CHECK_DBUS
LIBVIRT_CHECK_HAL
fi
AM_CONDITIONAL([WITH_INTERFACE], [test "$with_interface" = "yes"])
-dnl libblkid is used by several storage drivers; therefore we probe
-dnl for it unconditionally.
-AC_ARG_WITH([libblkid],
- [AS_HELP_STRING([--with-libblkid],
- [use libblkid to scan for filesystems and partitions @<:@default=check@:>@])],
- [],
- [with_libblkid=check])
-
-if test "x$with_libblkid" = "xyes" || test "x$with_libblkid" = "xcheck"; then
- PKG_CHECK_MODULES([BLKID],
- [blkid >= $BLKID_REQUIRED],
- [with_libblkid="yes"],
- [with_libblkid="no"])
-fi
-
-if test "x$with_libblkid" = "xyes"; then
- AC_DEFINE([WITH_BLKID], [1], [libblkid is present])
-fi
-AM_CONDITIONAL([WITH_BLKID], [test "x$with_libblkid" = "xyes"])
if test $with_freebsd = yes; then
default_qemu_user=root
LIBVIRT_RESULT_APPARMOR
LIBVIRT_RESULT_AUDIT
LIBVIRT_RESULT_AVAHI
+LIBVIRT_RESULT_BLKID
LIBVIRT_RESULT_CAPNG
LIBVIRT_RESULT_DBUS
LIBVIRT_RESULT_HAL
--- /dev/null
+dnl The libblkid.so library
+dnl
+dnl Copyright (C) 2012-2013 Red Hat, Inc.
+dnl
+dnl This library is free software; you can redistribute it and/or
+dnl modify it under the terms of the GNU Lesser General Public
+dnl License as published by the Free Software Foundation; either
+dnl version 2.1 of the License, or (at your option) any later version.
+dnl
+dnl This library is distributed in the hope that it will be useful,
+dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
+dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+dnl Lesser General Public License for more details.
+dnl
+dnl You should have received a copy of the GNU Lesser General Public
+dnl License along with this library. If not, see
+dnl <http://www.gnu.org/licenses/>.
+dnl
+
+AC_DEFUN([LIBVIRT_CHECK_BLKID],[
+ LIBVIRT_CHECK_PKG([BLKID], [blkid], [2.17])
+])
+
+AC_DEFUN([LIBVIRT_RESULT_BLKID],[
+ LIBVIRT_RESULT_LIB([BLKID])
+])