summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index a9e20ef..8851ab0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -141,7 +141,7 @@ if test "x$enable_upower" = "xyes"; then
AC_SUBST(UPOWER_CFLAGS)
AC_SUBST(UPOWER_LIBS)
fi
-AM_CONDITIONAL(HAVE_UPOWER, test "x$enable_upower" = "xyes")
+AM_CONDITIONAL(HAVE_UPOWER, test "x$has_upower" = "xyes")
AC_SUBST(HAVE_UPOWER)
dnl ====================================================================