X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=configure.ac;h=fb169042d87dc8e6e06e6099ad4aee50d45baeed;hp=543828c4058e35fec1c0e0c3518d44aa7d51128c;hb=91e7bad45dced1cb2dfaac79337bb08d6e2b74a9;hpb=be2ea723b1d023b3d385d3b791ee4607cbfb20ca diff --git a/configure.ac b/configure.ac index 543828c40..fb169042d 100644 --- a/configure.ac +++ b/configure.ac @@ -190,7 +190,6 @@ CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\ -ffast-math \ -fno-common \ -fdiagnostics-show-option \ - -fdiagnostics-color \ -fno-strict-aliasing \ -fvisibility=hidden \ -ffunction-sections \ @@ -1167,6 +1166,12 @@ AC_ARG_ENABLE(manpages, AS_HELP_STRING([--disable-manpages], [disable manpages]) 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])],