summaryrefslogtreecommitdiff
path: root/trans/Makefile
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-04-12 18:33:35 +0200
committerLudovic Courtès <ludo@gnu.org>2014-04-22 10:39:28 +0200
commit263118a6681918add6861eaede318657ee23b7c4 (patch)
tree136b78115830104b4395b882dcfeae9e551fb79a /trans/Makefile
parent20e078293697dd99ddcf2c2151c9f075409cc185 (diff)
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.
Diffstat (limited to 'trans/Makefile')
-rw-r--r--trans/Makefile4
1 files changed, 2 insertions, 2 deletions
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)" \