… | |
… | |
404 | exit(0); |
404 | exit(0); |
405 | }]])],[path_lastlog=`cat conftestval`],[path_lastlog=],[dnl |
405 | }]])],[path_lastlog=`cat conftestval`],[path_lastlog=],[dnl |
406 | AC_MSG_WARN(Define LASTLOG_FILE in config.h manually)])]) |
406 | AC_MSG_WARN(Define LASTLOG_FILE in config.h manually)])]) |
407 | if test x$path_lastlog != x; then |
407 | if test x$path_lastlog != x; then |
408 | AC_DEFINE_UNQUOTED(LASTLOG_FILE, "$path_lastlog", Define location of lastlog) |
408 | AC_DEFINE_UNQUOTED(LASTLOG_FILE, "$path_lastlog", Define location of lastlog) |
409 | if test -d "$path_lastlog"; then |
|
|
410 | AC_DEFINE(LASTLOG_IS_DIR, 1, Define if lastlog is provided via a directory) |
|
|
411 | fi |
|
|
412 | fi |
409 | fi |
413 | dnl# -------------------------------------------------------------------------- |
410 | dnl# -------------------------------------------------------------------------- |
414 | |
411 | |
415 | dnl# find lastlogx |
412 | dnl# find lastlogx |
416 | AC_CACHE_CHECK(where lastlogx is located, path_lastlogx, |
413 | AC_CACHE_CHECK(where lastlogx is located, path_lastlogx, |