- (djm) Configure fixes from SAKAI Kiyotaka <ksakai@kso.netwk.ntt-at.co.jp>
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