diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2022-01-23 08:00:00 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2022-01-23 08:00:00 +0000 |
commit | ddc943c6cb42257b0dcba20e6baea4ff370a727c (patch) | |
tree | d8c95ff4beaed1c02a72990ed3476324d4f25294 /configure.ac | |
parent | f43cfa1a97776ba995437800b75e9dc77ef82349 (diff) | |
download | pam-ddc943c6cb42257b0dcba20e6baea4ff370a727c.tar.gz pam-ddc943c6cb42257b0dcba20e6baea4ff370a727c.tar.bz2 pam-ddc943c6cb42257b0dcba20e6baea4ff370a727c.zip |
Introduce SCONFIGDIR macro
Follow the VENDORDIR example and introduce a macro defined to the
argument of --enable-sconfigdir option. Unlike --enable-vendordir,
--enable-sconfigdir has a default value, so when --enable-sconfigdir
is not used for build, SCONFIGDIR will be defined to that default value.
* configure.ac (AC_DEFINE_UNQUOTED): Add SCONFIGDIR.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index eb98d69a..8af303a1 100644 --- a/configure.ac +++ b/configure.ac @@ -259,6 +259,8 @@ AC_MSG_RESULT([Defining \$ISA to "$ISA"]) AC_ARG_ENABLE(sconfigdir, AS_HELP_STRING([--enable-sconfigdir=DIR],[path to module conf files @<:@default=$sysconfdir/security@:>@]), SCONFIGDIR=$enableval, SCONFIGDIR=$sysconfdir/security) +AC_DEFINE_UNQUOTED([SCONFIGDIR], ["$SCONFIGDIR"], + [Directory for system PAM modules configuration files]) AC_SUBST(SCONFIGDIR) AC_ARG_ENABLE(pamlocking, |