diff options
author | Pavel Březina <pbrezina@redhat.com> | 2013-06-24 15:30:04 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-08-08 22:34:43 +0200 |
commit | 230e4e4898fa36d5bbbd4835b728cf466c42638b (patch) | |
tree | fb81f347105c1f3fb5ae3512944ca640ec191017 /src/conf_macros.m4 | |
parent | 60d3b256f3676b8202d6472fac57be5692df5cdc (diff) | |
download | sssd-230e4e4898fa36d5bbbd4835b728cf466c42638b.tar.gz sssd-230e4e4898fa36d5bbbd4835b728cf466c42638b.tar.xz sssd-230e4e4898fa36d5bbbd4835b728cf466c42638b.zip |
init script: source /etc/sysconfig/sssd
https://fedorahosted.org/sssd/ticket/1959
Diffstat (limited to 'src/conf_macros.m4')
-rw-r--r-- | src/conf_macros.m4 | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/conf_macros.m4 b/src/conf_macros.m4 index 65f4d6ce9..4766930ea 100644 --- a/src/conf_macros.m4 +++ b/src/conf_macros.m4 @@ -152,6 +152,19 @@ AC_DEFUN([WITH_INITSCRIPT], AC_MSG_NOTICE([Will use init script type: $initscript]) ]) +AC_DEFUN([WITH_ENVIRONMENT_FILE], + [ AC_ARG_WITH([environment_file], + [AC_HELP_STRING([--with-environment-file=PATH], [Path to environment file [/etc/sysconfig/sssd]]) + ] + ) + + ENVIRONMENT_FILE_PATH="${sysconfdir}/sysconfig/sssd" + if test x"$with_environment_file" != x; then + ENVIRONMENT_FILE_PATH=$with_environment_file + fi + AC_SUBST(environment_file, [$ENVIRONMENT_FILE_PATH]) + ]) + AC_DEFUN([WITH_INIT_DIR], [ AC_ARG_WITH([init-dir], [AC_HELP_STRING([--with-init-dir=DIR], |