From 263118a6681918add6861eaede318657ee23b7c4 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sat, 12 Apr 2014 18:33:35 +0200 Subject: build: Remove configure check for libcrypt. GNU libc has provided the 'crypt' function in libcrypt for a long time, making this check unnecessary. * configure.ac: Remove libcrypt check and 'LIBCRYPT' substitution. * config.make.in (LIBCRYPT): Remove. * trans/Makefile (password-LDLIBS): Change $(LIBCRYPT) to -lcrypt. * utils/Makefile (login-LDLIBS, addauth-LDLIBS, setauth-LDLIBS): Likewise. --- configure.ac | 4 ---- 1 file changed, 4 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index ecabfdfd..873ced81 100644 --- a/configure.ac +++ b/configure.ac @@ -106,10 +106,6 @@ fi dnl Let these propagate from the environment. AC_SUBST(CFLAGS) AC_SUBST(CPPFLAGS) AC_SUBST(LDFLAGS) -# See if there's a separate libcrypt (many systems put crypt there). -AC_CHECK_LIB(crypt, crypt, LIBCRYPT=-lcrypt) -AC_SUBST(LIBCRYPT) - hurd_MIG_RETCODE # See if --version-script is available. -- cgit v1.2.3