From 76009efdf0cb44b11f55f71b6374ce60f4de0a2a Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Mon, 23 Sep 1996 19:55:19 +0000 Subject: Check for libcrypt. --- configure.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index f42f6e6e..e62038af 100644 --- a/configure.in +++ b/configure.in @@ -1,5 +1,5 @@ dnl Process this file with autoconf to produce a configure script. -AC_REVISION([$Id: configure.in,v 1.8 1996/09/05 14:14:01 thomas Exp $]) +AC_REVISION([$Id: configure.in,v 1.9 1996/09/23 19:55:19 miles Exp $]) AC_PREREQ(2.4) dnl Minimum Autoconf version required. AC_INIT(hurd/hurd_types.h) dnl A distinctive file to look for in srcdir. @@ -39,6 +39,10 @@ AC_CHECK_TOOL(MIG, mig) 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) + if test $srcdir = .; then # Configuring in source directory; don't create any Makefiles. makefiles= -- cgit v1.2.3