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. --- utils/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'utils') diff --git a/utils/Makefile b/utils/Makefile index 81fa2932..241b0604 100644 --- a/utils/Makefile +++ b/utils/Makefile @@ -1,4 +1,4 @@ -# Copyright (C) 1994,95,96,97,98,99,2000,01,02,12 Free Software Foundation, +# Copyright (C) 1994,95,96,97,98,99,2000,01,02,12,14 Free Software Foundation, # Inc. # # This program is free software; you can redistribute it and/or @@ -36,9 +36,9 @@ SRCS = shd.c ps.c settrans.c syncfs.c showtrans.c addauth.c rmauth.c \ OBJS = $(filter-out %.sh,$(SRCS:.c=.o)) HURDLIBS = ps ihash store fshelp ports ftpconn shouldbeinlibc LDLIBS += -lpthread -login-LDLIBS = -lutil $(LIBCRYPT) -addauth-LDLIBS = $(LIBCRYPT) -setauth-LDLIBS = $(LIBCRYPT) +login-LDLIBS = -lutil -lcrypt +addauth-LDLIBS = -lcrypt +setauth-LDLIBS = -lcrypt mount-LDLIBS = $(libblkid_LIBS) mount-CPPFLAGS = $(libblkid_CFLAGS) -- cgit v1.2.3