[configure.ac] add --disable-etc-default-login option. ok djm
diff --git a/ChangeLog b/ChangeLog
index 35c6480..344aa56 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;
@@ -1209,4 +1210,4 @@
- Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
Report from murple@murple.net, diagnosis from dtucker@zip.com.au
-$Id: ChangeLog,v 1.3037 2003/09/22 15:36:15 mouring Exp $
+$Id: ChangeLog,v 1.3038 2003/09/23 02:50:14 tim Exp $
diff --git a/configure.ac b/configure.ac
index ac1a4d9..dbb08fb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
-# $Id: configure.ac,v 1.164 2003/09/22 04:38:11 tim Exp $
+# $Id: configure.ac,v 1.165 2003/09/23 02:50:14 tim Exp $
AC_INIT
AC_CONFIG_SRCDIR([ssh.c])
@@ -2215,11 +2215,15 @@
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 \