summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-09-23 19:55:19 +0000
committerMiles Bader <miles@gnu.org>1996-09-23 19:55:19 +0000
commit76009efdf0cb44b11f55f71b6374ce60f4de0a2a (patch)
tree9d8d8f087761e8c5898b1fe5b2e80f78e4155488 /configure.in
parentb15a0f589f4fdb544c7147cd477f1144f9e404e1 (diff)
Check for libcrypt.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in6
1 files changed, 5 insertions, 1 deletions
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=