build-sys: fix configure.ac for uuidd

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2011-07-29 22:44:47 +02:00
parent 54e10ad15f
commit e6adc77143
1 changed files with 2 additions and 2 deletions

View 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.])