- Configure tweaking for new login code on Irix 5.3
diff --git a/defines.h b/defines.h
index 52f6c9f..e60a587 100644
--- a/defines.h
+++ b/defines.h
@@ -281,12 +281,12 @@
 #  define WTMP_FILE _PATH_WTMP
 #endif
 /* pick up the user's location for lastlog if given */
-#ifdef CONF_LASTLOG_FILE
-#  define LASTLOG_FILE CONF_LASTLOG_FILE
-#endif
 #if !defined(LASTLOG_FILE) && defined(_PATH_LASTLOG)
 #  define LASTLOG_FILE _PATH_LASTLOG
 #endif
+#if !defined(LASTLOG_FILE) && defined(CONF_LASTLOG_FILE)
+#  define LASTLOG_FILE CONF_LASTLOG_FILE
+#endif
 
 
 /* The login() library function in libutil is first choice */