- (djm) Configure fixes from SAKAI Kiyotaka <ksakai@kso.netwk.ntt-at.co.jp>
diff --git a/ChangeLog b/ChangeLog
index 060539f..5742a59 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 20000612
  - (djm) Glob manpages in RPM spec files to catch compressed files
  - (djm) Full license in auth-pam.c
+ - (djm) Configure fixes from SAKAI Kiyotaka <ksakai@kso.netwk.ntt-at.co.jp>
 
 20000610
  - (djm) Minor doc tweaks
diff --git a/configure.in b/configure.in
index 9eb3839..a9b3d2f 100644
--- a/configure.in
+++ b/configure.in
@@ -1003,7 +1003,7 @@
 if test -z "$conf_lastlog_location"; then
 	if test x"$system_lastlog_path" = x"no" ; then
 		for f in /var/log/lastlog /usr/adm/lastlog /var/adm/lastlog /etc/security/lastlog ; do
-				if test -d "$f" -o -e "$f" ; then
+				if test -d "$f" -o -f "$f" ; then
 					conf_lastlog_location=$f
 				fi
 		done