summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorUmut Tezduyar Lindskog <umut.tezduyar@axis.com>2014-09-02 12:31:49 +0200
committerLennart Poettering <lennart@poettering.net>2014-09-03 19:40:51 +0200
commit4df5c00b6e5de8733f3bb33ee7980fad1a498789 (patch)
tree230a333d064d601ee7df5aff7349224b01848755 /configure.ac
parent2915a7bdc5c6db2298041cd39fa992cf252cd8a0 (diff)
build-sys: configure option to disable hibernation
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 543828c405..99c01d2487 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1168,6 +1168,12 @@ AS_IF([test "x$enable_manpages" != xno], [have_manpages=yes])
AM_CONDITIONAL(ENABLE_MANPAGES, [test "x$have_manpages" = "xyes"])
# ------------------------------------------------------------------------------
+AC_ARG_ENABLE(hibernate,
+ [AC_HELP_STRING([--disable-hibernate], [disable hibernation support])],
+ enable_hibernate=$enableval, enable_hibernate=yes)
+AM_CONDITIONAL(ENABLE_HIBERNATE, [test x$enable_hibernate = xyes])
+
+# ------------------------------------------------------------------------------
AC_ARG_ENABLE(ldconfig,
[AC_HELP_STRING([--disable-ldconfig], [disable ldconfig])],
enable_ldconfig=$enableval, enable_ldconfig=yes)