diff options
author | Damien Miller <djm@mindrot.org> | 1999-11-19 19:14:04 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 1999-11-19 19:14:04 +1100 |
commit | 36fb30f6dd11515087e6298cb17e96a3f2f5b679 (patch) | |
tree | e7edfad23052bbd9e9988b26aa906fc95dfdfdd9 | |
parent | 01c114cc800b9a7785186610c9a9553258fbe8ff (diff) | |
download | openssh-git-36fb30f6dd11515087e6298cb17e96a3f2f5b679.tar.gz |
Die if lastlog not foundV_1_2_PRE13
-rw-r--r-- | configure.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 697784c6..649c789d 100644 --- a/configure.in +++ b/configure.in @@ -158,11 +158,15 @@ dnl Look for lastlog location AC_MSG_CHECKING([location of lastlog file]) for lastlog in /var/log/lastlog /var/adm/lastlog /etc/security/lastlog ; do if test -f $lastlog ; then + gotlastlog="yes" AC_MSG_RESULT($lastlog) AC_DEFINE_UNQUOTED(LASTLOG_LOCATION, "$lastlog") break fi done +if test -z "$gotlastlog" ; then + AC_MSG_ERROR([*** Cannot find lastlog ***]) +fi AC_MSG_CHECKING([whether libc defines __progname]) AC_TRY_LINK([], |