summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2012-03-20 18:36:34 +0100
committerHans de Goede <hdegoede@redhat.com>2012-03-20 22:34:03 +0100
commit956df5acc53baa07d9964673f202a8932bdc5968 (patch)
tree5729f2b86f65936370fe99b0fb609cbcc5ef7a5c
parent93003ec27d98cb47b8ea0435179a66c14ff610ce (diff)
configure: fix reporting of session-info type
Report none instead of auto when session-info was set to auto and no session-info libs are found. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index a753b5d..5b3f94f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -65,6 +65,8 @@ if test "$with_session_info" = "auto" || test "$with_session_info" = "console-ki
if test x"$have_console_kit" = "xyes"; then
AC_DEFINE([HAVE_CONSOLE_KIT], [1], [If defined, vdagentd will be compiled with ConsoleKit support])
with_session_info="console-kit"
+ else
+ with_session_info="none"
fi
else
have_console_kit="no"