AS_HELP_STRING([--disable-libblkid], [do not build libblkid and blkid utilities]),
[], enable_libblkid=yes
)
+AC_SUBST([LIBBLKID_DATE])
AC_SUBST([LIBBLKID_VERSION])
AC_SUBST([LIBBLKID_VERSION_INFO])
AM_CONDITIONAL(BUILD_LIBBLKID, test "x$enable_libblkid" = xyes)
shlibs/blkid/docs/Makefile
shlibs/blkid/docs/version.xml
shlibs/blkid/src/Makefile
+shlibs/blkid/src/blkid.h
shlibs/blkid/src/superblocks/Makefile
shlibs/blkid/src/topology/Makefile
shlibs/blkid/src/partitions/Makefile
tests = test_cache test_config test_dev test_devname test_devno test_getsize \
test_read test_resolve test_save test_tag test_verify test_evaluate
-EXTRA_DIST = blkid.sym tst_types.c
+EXTRA_DIST = blkid.sym tst_types.c blkid.h.in
CLEANFILES = $(tests)
tests: all $(tests)
static const char *lib_version = LIBBLKID_VERSION; /* release version */
static const char *lib_date = LIBBLKID_DATE;
+/**
+ * blkid_parse_version_string:
+ * @ver_string: version string (e.g. "2.16.0")
+ *
+ * Returns: release version code.
+ */
int blkid_parse_version_string(const char *ver_string)
{
const char *cp;