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. --- trans/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'trans/Makefile') diff --git a/trans/Makefile b/trans/Makefile index a2942820..71e64248 100644 --- a/trans/Makefile +++ b/trans/Makefile @@ -1,6 +1,6 @@ # # Copyright (C) 1994, 1995, 1996, 1997, 1999, 2000, 2001, 2002, 2006, 2007, -# 2008, 2013 Free Software Foundation, Inc. +# 2008, 2013, 2014 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as @@ -31,7 +31,7 @@ OBJS = $(SRCS:.c=.o) fsysServer.o ifsockServer.o passwordServer.o \ device_replyServer.o elfcore.o HURDLIBS = ports netfs trivfs iohelp fshelp pipe ihash shouldbeinlibc LDLIBS += -lpthread -password-LDLIBS = $(LIBCRYPT) +password-LDLIBS = -lcrypt password-MIGSFLAGS=\ "-DIO_INTRAN=trivfs_protid_t trivfs_begin_using_protid (io_t)" \ "-DIO_DESTRUCTOR=trivfs_end_using_protid (trivfs_protid_t)" \ -- cgit v1.2.3