summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 2464715..1d719e1 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 ====================================================================