On Tue, Jul 17, 2007 at 02:40:21PM +0100, Pádraig Brady wrote:

> 3. The configure script indicated correctly that I needed to install
>    the libblkid-dev package, but not the uuid-dev package.

 The libuuid is optional, you can build the package without this
 library -- maybe we can add a more visible warning when the
 library is not installed.

    Karel


commit 9dc801d2b7073004679c4dc3f7a60b623bbfcbd5
Author: Karel Zak <[EMAIL PROTECTED]>
Date:   Wed Jul 18 10:46:42 2007 +0200

    build-sys: add warning when libuuid is not found
    
    Signed-off-by: Karel Zak <[EMAIL PROTECTED]>

diff --git a/configure.ac b/configure.ac
index 35852f8..2705873 100644
--- a/configure.ac
+++ b/configure.ac
@@ -69,7 +69,12 @@ AC_DEFUN([UTIL_CHECK_LIB], [
   AC_CHECK_LIB([$1], [$2], [], [have_$1=no])
   AM_CONDITIONAL(AS_TR_CPP(HAVE_$1), [test $have_$1 = yes])
 ])
+
 UTIL_CHECK_LIB(uuid, uuid_is_null)
+if test $have_uuid = no; then
+  AC_MSG_WARN([uuid library is not found; mkswap(8) will not generate UUIDs])
+fi
+
 UTIL_CHECK_LIB(util, openpty)
 UTIL_CHECK_LIB(termcap, tgetnum)
 
-
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to