gdm/6000-add-openeuler-pam-config.patch
2019-12-17 18:04:31 +08:00

12 lines
761 B
Diff

diff -ru gdm-3.30.1-origin/configure.ac gdm-3.30.1/configure.ac
--- gdm-3.30.1-origin/configure.ac 2019-12-17 15:33:13.656357443 +0800
+++ gdm-3.30.1/configure.ac 2019-12-17 17:19:34.848463487 +0800
@@ -200,6 +200,7 @@
AS_HELP_STRING([--with-default-pam-config: One of redhat, openembedded, exherbo, lfs, arch, none @<:@default=auto@:>@]))
dnl If not given, try autodetecting from release files (see NetworkManager source)
if test x$with_default_pam_config = x; then
+ AC_CHECK_FILE(/etc/openEuler-release,with_default_pam_config="redhat")
AC_CHECK_FILE(/etc/redhat-release,with_default_pam_config="redhat")
AC_CHECK_FILE(/etc/fedora-release,with_default_pam_config="redhat")
AC_CHECK_FILE(/etc/exherbo-release,with_default_pam_config="exherbo")