From: Evgeny Grin (Karlson2k) Date: Fri, 11 Jul 2025 17:57:39 +0000 (+0200) Subject: configure: Remove duplicated check and unused Makefile substitution X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50f88ab8be751497abf3f84e4790721028bba977;p=thirdparty%2Fshadow.git configure: Remove duplicated check and unused Makefile substitution Lines were incorrectly added by 5cd04d03f94622c12220d4a6352824af081b8531 The check is fully duplicated and does nothing except setting wrong variable LIYESCRYPT. Such variable was never used in the project. Signed-off-by: Evgeny Grin (Karlson2k) --- diff --git a/configure.ac b/configure.ac index bacce98a2..05a0407fa 100644 --- a/configure.ac +++ b/configure.ac @@ -345,13 +345,9 @@ if test "$enable_logind" = "yes"; then fi AM_CONDITIONAL(ENABLE_LOGIND, test "x$enable_logind" != "xno") -AC_SUBST(LIBCRYPT) AC_CHECK_LIB(crypt, crypt, [LIBCRYPT=-lcrypt], [AC_MSG_ERROR([crypt() not found])]) - -AC_SUBST(LIYESCRYPT) -AC_CHECK_LIB(crypt, crypt, [LIYESCRYPT=-lcrypt], - [AC_MSG_ERROR([crypt() not found])]) +AC_SUBST(LIBCRYPT) AC_SUBST(LIBBSD) if test "$with_libbsd" != "no"; then