/
githubmirror
/
authselect
Обзор
Документация
Войти
/
githubmirror
/
authselect
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
0.4
src/conf_macros.m4
55 строк
2 KB
Pavel Březina
lib: call dconf update when activating a profile
18 фев 2018, 17:20
18 фев 2018, 17:20
b965afd
Код
Авторство
О чём код?
dnl Add new --with option. dnl dnl Arg 1: option-name dnl Arg 2: variable_name dnl Arg 3: output variable name dnl Arg 4: value-type dnl Arg 5: help string dnl Arg 6: default value dnl AC_DEFUN([CONFIGURABLE_VALUE], [ AC_ARG_WITH([$1], [AC_HELP_STRING([--with-$1=$4], [$5 [$6]])]) $3="$6" if test x"$with_$2" != x; then $3=$with_$2 fi AC_SUBST($3) ]) CONFIGURABLE_VALUE(config-dir, config_dir, AUTHSELECT_CONFIG_DIR, DIR, [Path to the directory where authselect stores its configuration], $sysconfdir/authselect) CONFIGURABLE_VALUE(profile-dir, profile_dir, AUTHSELECT_PROFILE_DIR, DIR, [Path to the directory where are stored authselect default profiles], $datarootdir/authselect/default) CONFIGURABLE_VALUE(vendor-dir, vendor_dir, AUTHSELECT_VENDOR_DIR, DIR, [Path to the directory where are stored profiles created by 3rd-party vendors], $datarootdir/authselect/vendor) CONFIGURABLE_VALUE(custom-dir, custom_dir, AUTHSELECT_CUSTOM_DIR, DIR, [Path to the directory where are stored profiles created by administrator], $sysconfdir/authselect/custom) CONFIGURABLE_VALUE(pam-dir, pam_dir, AUTHSELECT_PAM_DIR, DIR, [Path to the pam.d directory where generated pam stacks will be stored], $sysconfdir/pam.d) CONFIGURABLE_VALUE(nsswitch-conf, nsswitch_conf, AUTHSELECT_NSSWITCH_CONF, PATH, [Path to the nsswitch.conf file], $sysconfdir/nsswitch.conf) CONFIGURABLE_VALUE(dconf-dir, dconf_dir, AUTHSELECT_DCONF_DIR, DIR, [Path to the dconf database directory to store gdm options], $sysconfdir/dconf/db/distro.d) CONFIGURABLE_VALUE(dconf-file, dconf_file, AUTHSELECT_DCONF_FILE, NAME, [Name of authselect dconf file to be stored in dconf-db], 20-authselect) CONFIGURABLE_VALUE(dconf, dconf, AUTHSELECT_DCONF_BIN, PATH, [Path to the dconf utility], $bindir/dconf)