]> andersk Git - openssh.git/commitdiff
Die if lastlog not found V_1_2_PRE13
authordamien <damien>
Fri, 19 Nov 1999 08:14:04 +0000 (08:14 +0000)
committerdamien <damien>
Fri, 19 Nov 1999 08:14:04 +0000 (08:14 +0000)
configure.in

index 697784c6d6352a2c805de01fcf6ce70ac99f76fc..649c789dc180fe12b96dff662a5a1452cf53603b 100644 (file)
@@ -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([], 
This page took 0.035915 seconds and 5 git commands to generate.