- (dtucker) [configure.ac] Add -lcrypt to let DragonFly build OOTB.
diff --git a/ChangeLog b/ChangeLog
index b746504..226373a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
 20060910
  - (dtucker) [contrib/aix/buildbff.sh] Ensure that perl is available.
+ - (dtucker) [configure.ac] Add -lcrypt to let DragonFly build OOTB.
 
 20060909
  - (dtucker) [openbsd-compat/bsd-snprintf.c] Add stdarg.h.
@@ -5423,4 +5424,4 @@
    - (djm) Trim deprecated options from INSTALL. Mention UsePAM
    - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
 
-$Id: ChangeLog,v 1.4541 2006/09/10 03:24:18 dtucker Exp $
+$Id: ChangeLog,v 1.4542 2006/09/10 10:25:51 dtucker Exp $
diff --git a/configure.ac b/configure.ac
index 4a3c39f..80b0360 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
-# $Id: configure.ac,v 1.362 2006/09/08 15:05:21 dtucker Exp $
+# $Id: configure.ac,v 1.363 2006/09/10 10:25:51 dtucker Exp $
 #
 # Copyright (c) 1999-2004 Damien Miller
 #
@@ -15,7 +15,7 @@
 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
 AC_INIT(OpenSSH, Portable, openssh-unix-dev@mindrot.org)
-AC_REVISION($Revision: 1.362 $)
+AC_REVISION($Revision: 1.363 $)
 AC_CONFIG_SRCDIR([ssh.c])
 
 AC_CONFIG_HEADER(config.h)
@@ -253,6 +253,9 @@
 	AC_DEFINE(SSH_TUN_PREPEND_AF, 1,
 	    [Prepend the address family to IP tunnel traffic])
 	;;
+*-*-dragonfly*)
+	SSHDLIBS="$SSHDLIBS -lcrypt"
+	;;
 *-*-hpux*)
 	# first we define all of the options common to all HP-UX releases
 	CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1"