diff options
author | BlackNoxis <steven.darklight@gmail.com> | 2014-10-27 18:38:05 +0200 |
---|---|---|
committer | BlackNoxis <steven.darklight@gmail.com> | 2014-10-27 18:38:05 +0200 |
commit | 24934e623441310f644e5f72855b0f2bf9f3cd1a (patch) | |
tree | a453939bf58199bc2c3ff27bcf0accf2b221c6c4 /lxde-base/lxdm/files/lxdm-0.4.1-optional-consolekit.patch | |
parent | 687f45092b4f4ccf33765cee7427f054bae22344 (diff) |
Incoming! Moving Rogento.git to kogaion-desktop. Finally
Diffstat (limited to 'lxde-base/lxdm/files/lxdm-0.4.1-optional-consolekit.patch')
-rw-r--r-- | lxde-base/lxdm/files/lxdm-0.4.1-optional-consolekit.patch | 45 |
1 files changed, 25 insertions, 20 deletions
diff --git a/lxde-base/lxdm/files/lxdm-0.4.1-optional-consolekit.patch b/lxde-base/lxdm/files/lxdm-0.4.1-optional-consolekit.patch index 021f3212..621a9d62 100644 --- a/lxde-base/lxdm/files/lxdm-0.4.1-optional-consolekit.patch +++ b/lxde-base/lxdm/files/lxdm-0.4.1-optional-consolekit.patch @@ -1,5 +1,13 @@ ---- a/configure.ac -+++ b/configure.ac +X-Gentoo-Bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=443666 +X-Git-Url: http://lxde.git.sourceforge.net/git/gitweb.cgi?p=lxde/lxdm;a=patch;h=902438eb83b4ae97d774e4e5f38b46f2d826df2f +X-Git-Url: http://lxde.git.sourceforge.net/git/gitweb.cgi?p=lxde/lxdm;a=patch;h=371b018474217bdff1d5108b384fbf0f45aa873d + +Signed-off-by: Markos Chandras <hwoarang@gentoo.org> + +Index: lxdm-0.4.1/configure.ac +=================================================================== +--- lxdm-0.4.1.orig/configure.ac ++++ lxdm-0.4.1/configure.ac @@ -28,8 +28,6 @@ if test "x$USE_PAM" != "xno" ; then fi]) fi @@ -9,30 +17,27 @@ # Checks for header files. AC_PATH_X AC_CHECK_HEADERS([shadow.h stdlib.h string.h unistd.h utmpx.h]) -@@ -89,11 +87,21 @@ PKG_CHECK_MODULES(GTK, [$pkg_modules]) +@@ -89,11 +87,22 @@ PKG_CHECK_MODULES(GTK, [$pkg_modules]) AC_SUBST(GTK_CFLAGS) AC_SUBST(GTK_LIBS) -PKG_CHECK_MODULES(CONSOLEKIT, "ck-connector",[ -- AC_SUBST(CONSOLEKIT_CFLAGS) -- AC_SUBST(CONSOLEKIT_LIBS)],[ -- echo "ConsoleKit devel package not found" -- ]) ++ +AC_ARG_ENABLE(consolekit, -+AC_HELP_STRING([--enable-consolekit], [enable ConsoleKit support]), -+[case "${enableval}" in -+ yes) enable_ck=yes ;; -+ no) enable_ck=no ;; -+ *) AC_MSG_ERROR([bad value "${enableval}" for --enable-consolekit, use "yes" (default) or "no".]) ;; -+esac],[]) -+if test "x$enable_ck" = "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" -+ ]) ++ 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]), |