summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Cristau <jcristau@debian.org>2009-02-16 01:27:24 +0100
committerJulien Cristau <jcristau@debian.org>2009-02-16 01:29:04 +0100
commit0389dbec3b738fa7e1dbef2b5317124b95bdfb20 (patch)
treeacb0ac911882a19423c93012fb16207cedbf8bbe
parentb75eae83221465bd0da4d21d0bab5af379dc31c1 (diff)
Typo fix
This makes us really error out if we want libuuid but can't find it.
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 1d67f62..9730b70 100644
--- a/configure.ac
+++ b/configure.ac
@@ -45,7 +45,7 @@ AC_ARG_WITH(libuuid, AC_HELP_STRING([--with-libuuid], [Build with libuuid suppor
if test x"$with_libuuid" != xno; then
PKG_CHECK_MODULES(LIBUUID, uuid, [HAVE_LIBUUID=yes], [HAVE_LIBUUID=no])
fi
-if test x"$with_libuuid" = xyes && test HAVE_LIBUUID = no; then
+if test x"$with_libuuid" = xyes && test x"$HAVE_LIBUUID" = xno; then
AC_MSG_ERROR([requested libuuid support but uuid.pc not found])
fi
AM_CONDITIONAL(WITH_LIBUUID, test x"$HAVE_LIBUUID" = xyes)