synchronized to web version
[platform/upstream/cryptsetup.git] / configure.in
index 4aaeaa9..baa75b8 100644 (file)
@@ -1,5 +1,5 @@
 AC_PREREQ([2.67])
-AC_INIT([cryptsetup],[1.4.0-cvs])
+AC_INIT([cryptsetup],[1.4.0])
 
 dnl library version from <major>.<minor>.<release>[-<suffix>]
 LIBCRYPTSETUP_VERSION=$(echo $PACKAGE_VERSION | cut -f1 -d-)
@@ -218,6 +218,11 @@ if test x$enable_static_cryptsetup = xyes; then
        AC_CHECK_LIB(devmapper, dm_task_set_uuid,,
                AC_MSG_ERROR([Cannot link with static device-mapper library.]))
 
+       dnl Try to detect uuid static library.
+       LIBS="$saved_LIBS -static"
+       AC_CHECK_LIB(uuid, uuid_generate,,
+               AC_MSG_ERROR([Cannot find static uuid library.]))
+
        LIBS=$saved_LIBS
        PKG_CONFIG=$saved_PKG_CONFIG
 fi