36 lines
1.1 KiB
Diff
36 lines
1.1 KiB
Diff
|
--- lxdm-0.4.1.orig/configure.ac 2014-06-30 14:28:36.720796000 +0200
|
||
|
+++ lxdm-0.4.1/configure.ac 2014-06-30 14:29:47.328029842 +0200
|
||
|
@@ -19,8 +19,6 @@
|
||
|
AC_ARG_WITH(pam,AC_HELP_STRING([--without-pam],[build without pam]),
|
||
|
[],[AC_CHECK_LIB([pam], [pam_open_session])])
|
||
|
|
||
|
-AC_CHECK_LIB([ck-connector],[ck_connector_open_session])
|
||
|
-
|
||
|
# Checks for header files.
|
||
|
AC_PATH_X
|
||
|
AC_CHECK_HEADERS([shadow.h stdlib.h string.h unistd.h utmpx.h])
|
||
|
@@ -80,11 +78,22 @@
|
||
|
AC_SUBST(GTK_CFLAGS)
|
||
|
AC_SUBST(GTK_LIBS)
|
||
|
|
||
|
-PKG_CHECK_MODULES(CONSOLEKIT, "ck-connector",[
|
||
|
+
|
||
|
+AC_ARG_ENABLE(consolekit,
|
||
|
+ AC_HELP_STRING([--disable-consolekit],[disable ConsoleKit support]),
|
||
|
+ [enable_consolekit=$enableval],
|
||
|
+ [enable_consolekit=yes]
|
||
|
+)
|
||
|
+
|
||
|
+if test "x$enable_consolekit" = "xyes" ; then
|
||
|
+ AC_CHECK_LIB([ck-connector],[ck_connector_open_session])
|
||
|
+ PKG_CHECK_MODULES(CONSOLEKIT, "ck-connector",[
|
||
|
AC_SUBST(CONSOLEKIT_CFLAGS)
|
||
|
AC_SUBST(CONSOLEKIT_LIBS)],[
|
||
|
echo "ConsoleKit devel package not found"
|
||
|
])
|
||
|
+fi
|
||
|
+
|
||
|
|
||
|
AC_ARG_ENABLE(password,
|
||
|
AC_HELP_STRING([--enable-password],[enable to load autologin password store at config file]),
|