]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
build-sys: fix configure.ac for uuidd
authorKarel Zak <kzak@redhat.com>
Fri, 29 Jul 2011 20:44:47 +0000 (22:44 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 29 Jul 2011 20:44:47 +0000 (22:44 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
configure.ac

index 510167bc5a353830bee6e2a24f449c64e16cb726..4679e9c0cdd4040a9aed97420cc7c69cd3c61fba 100644 (file)
@@ -406,11 +406,11 @@ AC_ARG_ENABLE([uuidd],
   [], enable_uuidd=auto
 )
 
-case "$enable_uuidd:$have_uuid" in
+case "$enable_uuidd:$enable_libuuid" in
 yes:no)
   AC_MSG_ERROR([cannot enable uuidd when libuuid is disabled]) ;;
 auto:*)
-  enable_uuidd=$have_uuid ;;
+  enable_uuidd=$enable_libuuid ;;
 esac
 if test "x$enable_uuidd" = xyes; then
   AC_DEFINE(HAVE_UUIDD, 1, [Define to 1 if you want to use uuid daemon.])