]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
configure: Remove duplicated check and unused Makefile substitution
authorEvgeny Grin (Karlson2k) <k2k@drgrin.dev>
Fri, 11 Jul 2025 17:57:39 +0000 (19:57 +0200)
committerAlejandro Colomar <foss+github@alejandro-colomar.es>
Sat, 19 Jul 2025 04:42:33 +0000 (06:42 +0200)
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) <k2k@drgrin.dev>
configure.ac

index bacce98a27507fa907e2083791152f41e4c28ac4..05a0407fa4286aacda0137aeb558f11de8dc56fb 100644 (file)
@@ -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