diff options
author | Miles Bader <miles@gnu.org> | 1996-09-23 19:55:19 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1996-09-23 19:55:19 +0000 |
commit | 4c28aad0e1bdd8267c2fdf74a5af06fc97185d6e (patch) | |
tree | a89ec2a73f68930e6227fd39ef050ce434f33da8 | |
parent | db7941c146278cd195b850b659d8ec82e5aa8347 (diff) |
Check for libcrypt.
-rw-r--r-- | configure.in | 6 |
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= |