set SHELL in Makefile in case someone makes from a non bourne compatable shell
diff --git a/ChangeLog b/ChangeLog
index ecb62d8..d71072f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 20020507
  - (tim) [openbsd-compat/bsd-arc4random.c] fix logic on when seed_rng() is
    called. Report by Chris Maxwell <maxwell@cs.dal.ca>
+ - (tim) [Makefile.in configure.ac] set SHELL variable in Makefile
 
 20020507
  - (tim) [configure.ac openbsd-compat/bsd-misc.c openbsd-compat/bsd-misc.h]
@@ -543,4 +544,4 @@
  - (stevesk) entropy.c: typo in debug message
  - (djm) ssh-keygen -i needs seeded RNG; report from markus@
 
-$Id: ChangeLog,v 1.2097 2002/05/08 22:57:18 tim Exp $
+$Id: ChangeLog,v 1.2098 2002/05/08 23:04:14 tim Exp $
diff --git a/Makefile.in b/Makefile.in
index 5d45bce..62859bf 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1,4 +1,6 @@
-# $Id: Makefile.in,v 1.204 2002/04/15 03:24:00 djm Exp $
+# $Id: Makefile.in,v 1.205 2002/05/08 23:04:14 tim Exp $
+
+SHELL = @SH@
 
 prefix=@prefix@
 exec_prefix=@exec_prefix@
diff --git a/configure.ac b/configure.ac
index cc79ce8..6f2f9ba 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
-# $Id: configure.ac,v 1.54 2002/05/08 02:51:32 tim Exp $
+# $Id: configure.ac,v 1.55 2002/05/08 23:04:14 tim Exp $
 
 AC_INIT
 AC_CONFIG_SRCDIR([ssh.c])
@@ -21,6 +21,7 @@
 AC_PATH_PROG(TEST_MINUS_S_SH, bash)
 AC_PATH_PROG(TEST_MINUS_S_SH, ksh)
 AC_PATH_PROG(TEST_MINUS_S_SH, sh)
+AC_PATH_PROG(SH, sh)
 
 # System features
 AC_SYS_LARGEFILE