summaryrefslogtreecommitdiff
path: root/utils
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 /utils
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 'utils')
-rw-r--r--utils/Makefile8
1 files changed, 4 insertions, 4 deletions
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)