1 dnl *************************** libblkid needs version 1.40 or later ***********************
2 AC_DEFUN([AC_BLKID_VERS], [
3 AC_MSG_CHECKING(for suitable libblkid version)
4 AC_CACHE_VAL(libblkid_is_recent,
9 #include <blkid/blkid.h>
12 int vers = blkid_get_library_version(0, 0);
13 return vers >= 140 ? 0 : 1;
15 ], libblkid_is_recent=yes, libblkid_is_recent=no,
16 libblkid_is_recent=unknown)
19 AC_MSG_RESULT($libblkid_is_recent)