From daa41e62cc1c197e69b5aae937a42856e68c7dd3 Mon Sep 17 00:00:00 2001 From: tim Date: Tue, 23 Sep 2003 02:50:14 +0000 Subject: [PATCH] [configure.ac] add --disable-etc-default-login option. ok djm --- ChangeLog | 1 + configure.ac | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index 864fb353..d3f58f09 100644 --- a/ChangeLog +++ b/ChangeLog @@ -73,6 +73,7 @@ remove fatal callbacks from client code; ok deraadt - (bal) "extration" -> "extraction" in ssh-rand-helper.c; repoted by john on #unixhelp@efnet + - (tim) [configure.ac] add --disable-etc-default-login option. ok djm 20030919 - (djm) Bug #683: Remove reference to --with-ipv4-default from INSTALL; diff --git a/configure.ac b/configure.ac index 684be93a..4fe3e2cd 100644 --- a/configure.ac +++ b/configure.ac @@ -2215,11 +2215,15 @@ else fi # check for /etc/default/login and use it if present. +AC_ARG_ENABLE(etc-default-login, + [ --disable-etc-default-login Disable using PATH from /etc/default/login [no]],, +[ AC_CHECK_FILE("/etc/default/login", [ external_path_file=/etc/default/login ]) if test "x$external_path_file" = "x/etc/default/login"; then AC_DEFINE(HAVE_ETC_DEFAULT_LOGIN) fi +]) dnl BSD systems use /etc/login.conf so --with-default-path= has no effect if test $ac_cv_func_login_getcapbool = "yes" -a \ -- 2.45.1