conf_macros.m4 revision b2f9e5b7d553172401a340eb4a9c3abda6b5db43
008ab149b6efb915d8e0034c0b8266f8c3e3f872ndAC_DEFUN([WITH_DISTRO_VERSION],
008ab149b6efb915d8e0034c0b8266f8c3e3f872nd [ AC_ARG_WITH([distro-version],
008ab149b6efb915d8e0034c0b8266f8c3e3f872nd [AC_HELP_STRING([--with-distro-version=VERSION],
008ab149b6efb915d8e0034c0b8266f8c3e3f872nd [Distro version number []]
008ab149b6efb915d8e0034c0b8266f8c3e3f872nd AC_DEFINE_UNQUOTED(DISTRO_VERSION, "$with_distro_version",
008ab149b6efb915d8e0034c0b8266f8c3e3f872nd [Distro version number])
008ab149b6efb915d8e0034c0b8266f8c3e3f872ndAC_DEFUN([WITH_DB_PATH],
008ab149b6efb915d8e0034c0b8266f8c3e3f872nd [ AC_ARG_WITH([db-path],
008ab149b6efb915d8e0034c0b8266f8c3e3f872nd [AC_HELP_STRING([--with-db-path=PATH],
008ab149b6efb915d8e0034c0b8266f8c3e3f872nd [Path to the SSSD databases [/var/lib/sss/db]]
008ab149b6efb915d8e0034c0b8266f8c3e3f872nd config_dbpath="\"VARDIR\"/lib/sss/db"
4930be147adf9e3f6d3ca9313a6524f9bf654b2dnd dbpath="${localstatedir}/lib/sss/db"
008ab149b6efb915d8e0034c0b8266f8c3e3f872nd if test x"$with_db_path" != x; then
008ab149b6efb915d8e0034c0b8266f8c3e3f872nd config_dbpath=$with_db_path
008ab149b6efb915d8e0034c0b8266f8c3e3f872nd dbpath=$with_db_path
008ab149b6efb915d8e0034c0b8266f8c3e3f872nd AC_SUBST(dbpath)
008ab149b6efb915d8e0034c0b8266f8c3e3f872nd AC_DEFINE_UNQUOTED(DB_PATH, "$config_dbpath", [Path to the SSSD databases])
4930be147adf9e3f6d3ca9313a6524f9bf654b2dndAC_DEFUN([WITH_PLUGIN_PATH],
008ab149b6efb915d8e0034c0b8266f8c3e3f872nd [ AC_ARG_WITH([plugin-path],
008ab149b6efb915d8e0034c0b8266f8c3e3f872nd [AC_HELP_STRING([--with-plugin-path=PATH],
008ab149b6efb915d8e0034c0b8266f8c3e3f872nd [Path to the SSSD data provider plugins [/usr/lib/sssd]]
008ab149b6efb915d8e0034c0b8266f8c3e3f872nd pluginpath="${libdir}/sssd"
008ab149b6efb915d8e0034c0b8266f8c3e3f872nd config_pluginpath="\"LIBDIR\"/sssd"
008ab149b6efb915d8e0034c0b8266f8c3e3f872nd if test x"$with_plugin_path" != x; then
008ab149b6efb915d8e0034c0b8266f8c3e3f872nd pluginpath=$with_plugin_path
008ab149b6efb915d8e0034c0b8266f8c3e3f872nd config_pluginpath=$with_plugin_path
008ab149b6efb915d8e0034c0b8266f8c3e3f872nd AC_SUBST(pluginpath)
008ab149b6efb915d8e0034c0b8266f8c3e3f872nd AC_DEFINE_UNQUOTED(DATA_PROVIDER_PLUGINS_PATH, "$config_pluginpath", [Path to the SSSD data provider plugins])
4930be147adf9e3f6d3ca9313a6524f9bf654b2dndAC_DEFUN([WITH_PID_PATH],
008ab149b6efb915d8e0034c0b8266f8c3e3f872nd [ AC_ARG_WITH([pid-path],
008ab149b6efb915d8e0034c0b8266f8c3e3f872nd [AC_HELP_STRING([--with-pid-path=PATH],
4930be147adf9e3f6d3ca9313a6524f9bf654b2dnd [Where to store pid files for the SSSD [/var/run]]
008ab149b6efb915d8e0034c0b8266f8c3e3f872nd config_pidpath="\"VARDIR\"/run"
4930be147adf9e3f6d3ca9313a6524f9bf654b2dnd pidpath="${localstatedir}/run"
4930be147adf9e3f6d3ca9313a6524f9bf654b2dnd if test x"$with_pid_path" != x; then
4930be147adf9e3f6d3ca9313a6524f9bf654b2dnd config_pidpath=$with_pid_path
4930be147adf9e3f6d3ca9313a6524f9bf654b2dnd pidpath=$with_pid_path
008ab149b6efb915d8e0034c0b8266f8c3e3f872nd AC_SUBST(pidpath)
008ab149b6efb915d8e0034c0b8266f8c3e3f872nd AC_DEFINE_UNQUOTED(PID_PATH, "$config_pidpath", [Where to store pid files for the SSSD])
008ab149b6efb915d8e0034c0b8266f8c3e3f872ndAC_DEFUN([WITH_LOG_PATH],
008ab149b6efb915d8e0034c0b8266f8c3e3f872nd [ AC_ARG_WITH([log-path],
4930be147adf9e3f6d3ca9313a6524f9bf654b2dnd [AC_HELP_STRING([--with-log-path=PATH],
4930be147adf9e3f6d3ca9313a6524f9bf654b2dnd [Where to store log files for the SSSD [/var/log/sssd]]
4930be147adf9e3f6d3ca9313a6524f9bf654b2dnd config_logpath="\"VARDIR\"/log/sssd"
4930be147adf9e3f6d3ca9313a6524f9bf654b2dnd logpath="${localstatedir}/log/sssd"
008ab149b6efb915d8e0034c0b8266f8c3e3f872nd if test x"$with_log_path" != x; then
008ab149b6efb915d8e0034c0b8266f8c3e3f872nd config_logpath=$with_log_path
4930be147adf9e3f6d3ca9313a6524f9bf654b2dnd logpath=$with_log_path
4930be147adf9e3f6d3ca9313a6524f9bf654b2dnd AC_SUBST(logpath)
4930be147adf9e3f6d3ca9313a6524f9bf654b2dnd AC_DEFINE_UNQUOTED(LOG_PATH, "$config_logpath", [Where to store log files for the SSSD])
4930be147adf9e3f6d3ca9313a6524f9bf654b2dndAC_DEFUN([WITH_PUBCONF_PATH],
4930be147adf9e3f6d3ca9313a6524f9bf654b2dnd [ AC_ARG_WITH([pubconf-path],
4930be147adf9e3f6d3ca9313a6524f9bf654b2dnd [AC_HELP_STRING([--with-pubconf-path=PATH],
4930be147adf9e3f6d3ca9313a6524f9bf654b2dnd [Where to store pubconf files for the SSSD [/var/lib/sss/pubconf]]
4930be147adf9e3f6d3ca9313a6524f9bf654b2dnd config_pubconfpath="\"VARDIR\"/lib/sss/pubconf"
008ab149b6efb915d8e0034c0b8266f8c3e3f872nd pubconfpath="${localstatedir}/lib/sss/pubconf"
008ab149b6efb915d8e0034c0b8266f8c3e3f872nd if test x"$with_pubconf_path" != x; then
4930be147adf9e3f6d3ca9313a6524f9bf654b2dnd config_pubconfpath=$with_pubconf_path
4930be147adf9e3f6d3ca9313a6524f9bf654b2dnd pubconfpath=$with_pubconf_path
4930be147adf9e3f6d3ca9313a6524f9bf654b2dnd AC_SUBST(pubconfpath)
008ab149b6efb915d8e0034c0b8266f8c3e3f872nd AC_DEFINE_UNQUOTED(PUBCONF_PATH, "$config_pubconfpath", [Where to store pubconf files for the SSSD])
008ab149b6efb915d8e0034c0b8266f8c3e3f872ndAC_DEFUN([WITH_PIPE_PATH],
008ab149b6efb915d8e0034c0b8266f8c3e3f872nd [ AC_ARG_WITH([pipe-path],
008ab149b6efb915d8e0034c0b8266f8c3e3f872nd [AC_HELP_STRING([--with-pipe-path=PATH],
008ab149b6efb915d8e0034c0b8266f8c3e3f872nd [Where to store pipe files for the SSSD interconnects [/var/lib/sss/pipes]]
008ab149b6efb915d8e0034c0b8266f8c3e3f872nd config_pipepath="\"VARDIR\"/lib/sss/pipes"
4930be147adf9e3f6d3ca9313a6524f9bf654b2dnd pipepath="${localstatedir}/lib/sss/pipes"
008ab149b6efb915d8e0034c0b8266f8c3e3f872nd if test x"$with_pipe_path" != x; then
008ab149b6efb915d8e0034c0b8266f8c3e3f872nd config_pipepath=$with_pipe_path
4930be147adf9e3f6d3ca9313a6524f9bf654b2dnd pipepath=$with_pipe_path
008ab149b6efb915d8e0034c0b8266f8c3e3f872nd AC_SUBST(pipepath)
008ab149b6efb915d8e0034c0b8266f8c3e3f872nd AC_DEFINE_UNQUOTED(PIPE_PATH, "$config_pipepath", [Where to store pipe files for the SSSD interconnects])
008ab149b6efb915d8e0034c0b8266f8c3e3f872ndAC_DEFUN([WITH_MCACHE_PATH],
4930be147adf9e3f6d3ca9313a6524f9bf654b2dnd [ AC_ARG_WITH([mcache-path],
008ab149b6efb915d8e0034c0b8266f8c3e3f872nd [AC_HELP_STRING([--with-mcache-path=PATH],
4930be147adf9e3f6d3ca9313a6524f9bf654b2dnd [Where to store mmap cache files for the SSSD interconnects [/var/lib/sss/mc]]
008ab149b6efb915d8e0034c0b8266f8c3e3f872nd config_mcpath="\"VARDIR\"/lib/sss/mc"
008ab149b6efb915d8e0034c0b8266f8c3e3f872nd mcpath="${localstatedir}/lib/sss/mc"
4930be147adf9e3f6d3ca9313a6524f9bf654b2dnd if test x"$with_mcache_path" != x; then
008ab149b6efb915d8e0034c0b8266f8c3e3f872nd config_mcpath=$with_mcache_path
008ab149b6efb915d8e0034c0b8266f8c3e3f872nd mcpath=$with_mcache_path
008ab149b6efb915d8e0034c0b8266f8c3e3f872nd AC_SUBST(mcpath)
008ab149b6efb915d8e0034c0b8266f8c3e3f872nd AC_DEFINE_UNQUOTED(MCACHE_PATH, "$config_mcpath", [Where to store mmap cache files for the SSSD interconnects])
008ab149b6efb915d8e0034c0b8266f8c3e3f872ndAC_DEFUN([WITH_INITSCRIPT],
4930be147adf9e3f6d3ca9313a6524f9bf654b2dnd [ AC_ARG_WITH([initscript],
4930be147adf9e3f6d3ca9313a6524f9bf654b2dnd [AC_HELP_STRING([--with-initscript=INITSCRIPT_TYPE],
008ab149b6efb915d8e0034c0b8266f8c3e3f872nd [Type of your init script (sysv|systemd). [sysv]]
008ab149b6efb915d8e0034c0b8266f8c3e3f872nd default_initscript=sysv
008ab149b6efb915d8e0034c0b8266f8c3e3f872nd if test x"$with_initscript" = x; then
[Where to store init script for sssd [/etc/rc.d/init.d]]
initdir="${sysconfdir}/rc.d/init.d"
initdir="${sysconfdir}/init.d"
[Where to look for XML catalog [/etc/xml/catalog]]
SGML_CATALOG_FILES="/etc/xml/catalog"
[Path to kerberos plugin store [/usr/lib/krb5/plugins/libkrb5]]
krb5pluginpath="${libdir}/krb5/plugins/libkrb5"
AC_DEFINE_UNQUOTED(KRB5_RCACHE_DIR, "$krb5rcachedir", [Directory used for storing Kerberos replay caches])
AC_DEFINE_UNQUOTED(DEFAULT_CCACHE_DIR, "$config_def_ccache_dir", [The default value of krb5_ccachedir])
[The default value of krb5_ccname_template [FILE:%d/krb5cc_%U_XXXXXX]]
config_def_ccname_template="FILE:%d/krb5cc_%U_XXXXXX"
AC_DEFINE_UNQUOTED(DEFAULT_CCNAME_TEMPLATE, "$config_def_ccname_template", [The default value of krb5_ccname_template])
[Path to kerberos authdata plugin store [/usr/lib/krb5/plugins/authdata]]
krb5authdatapluginpath="${libdir}/krb5/plugins/authdata"
[Path to nscd binary to attempt to flush nscd cache after local domain operations [/usr/sbin/nscd]]
NSCD_PATH="/usr/sbin/nscd"
[The shell used to deny access to users [/sbin/nologin]]
nologin_shell="/sbin/nologin"
[Path to the 3rd party application plugins [/usr/lib/sssd/modules]]
appmodpath="${libdir}/sssd/modules"
config_appmodpath="\"LIBDIR\"/sssd/modules"
[Path to the sudo library [/usr/lib/]]