Skip to content

Commit 800be64

Browse files
configure.ac, lib/Makefile.am: Respect $(bindir) in PASSWD_PROGRAM
Suggested-by: Evgeny Grin (Karlson2k) <k2k@drgrin.dev> Signed-off-by: Alejandro Colomar <alx@kernel.org>
1 parent d7ce7e8 commit 800be64

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

configure.ac

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,6 @@ done])
103103
AC_DEFINE_UNQUOTED([FAILLOG_FILE], ["$shadow_cv_logdir/faillog"],
104104
[Path for faillog file.])
105105

106-
AC_DEFINE_UNQUOTED([PASSWD_PROGRAM], ["$exec_prefix/bin/passwd"],
107-
[Path to passwd program.])
108-
109106
AC_ARG_ENABLE([shadowgrp],
110107
[AS_HELP_STRING([--enable-shadowgrp], [enable shadow group support @<:@default=yes@:>@])],
111108
[case "${enableval}" in

lib/Makefile.am

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11

22
AUTOMAKE_OPTIONS = 1.0 foreign
33

4-
DEFS =
4+
DEFS = \
5+
-DPASSWD_PROGRAM='"$(bindir)/passwd"'
56

67
noinst_LTLIBRARIES = libshadow.la
78

0 commit comments

Comments
 (0)