- (djm) Add --with-pam to RPM spec files
diff --git a/ChangeLog b/ChangeLog
index 4901453..f3edcd4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,7 @@
  - (djm) Try to avoid adding -I/usr/include to CPPFLAGS during SSL tests. This
    can cause weird segfaults errors on Solaris 
  - (djm) Avoid warning in PAM code by making read_passphrase arguments const
+ - (djm) Add --with-pam to RPM spec files
 
 20010115
  - (bal) sftp-server.c change to use chmod() if fchmod() does not exist.
diff --git a/contrib/caldera/openssh.spec b/contrib/caldera/openssh.spec
index 3191c67..d0546f2 100644
--- a/contrib/caldera/openssh.spec
+++ b/contrib/caldera/openssh.spec
@@ -142,6 +142,7 @@
 		--prefix=/usr				\
 		--sysconfdir=/etc/ssh			\
 		--libexecdir=%{_libexecdir}/openssh	\
+		--with-pam \
 		--with-tcp-wrappers			\
 		--with-ipv4-default			\
 		--with-rsh=/usr/bin/rsh
diff --git a/contrib/redhat/openssh.spec b/contrib/redhat/openssh.spec
index 7603d08..731fb04 100644
--- a/contrib/redhat/openssh.spec
+++ b/contrib/redhat/openssh.spec
@@ -142,10 +142,11 @@
 
 %configure \
 	--libexecdir=%{_libexecdir}/openssh \
+	--with-pam \
 	--with-tcp-wrappers \
 	--with-ipv4-default \
 	--with-rsh=/usr/bin/rsh \
-	--with-default-path=/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin
+	--with-default-path=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
 
 make
 
diff --git a/contrib/suse/openssh.spec b/contrib/suse/openssh.spec
index 4578647..04625f6 100644
--- a/contrib/suse/openssh.spec
+++ b/contrib/suse/openssh.spec
@@ -88,8 +88,13 @@
 
 %build
 CFLAGS="$RPM_OPT_FLAGS" \
-./configure --prefix=/usr --sysconfdir=/etc/ssh --with-gnome-askpass \
-            --with-tcp-wrappers --with-ipv4-default --libexecdir=/usr/lib/ssh
+./configure	--prefix=/usr \
+				--sysconfdir=/etc/ssh \
+				--with-pam \
+				--with-gnome-askpass \
+            --with-tcp-wrappers \
+				--with-ipv4-default \
+				--libexecdir=/usr/lib/ssh
 make
 
 cd contrib