AC_CHECK_LIB(blkid, blkid_get_devname, [blkid_lib=yes], [blkid_lib=no], [-luuid])
if test "$blkid_h" = yes -a "$blkid_lib" = yes; then
AC_DEFINE([HAVE_BLKID],1,[Define this if you have the blkid library.])
AC_CHECK_LIB(blkid, blkid_get_devname, [blkid_lib=yes], [blkid_lib=no], [-luuid])
if test "$blkid_h" = yes -a "$blkid_lib" = yes; then
AC_DEFINE([HAVE_BLKID],1,[Define this if you have the blkid library.])