diff options
author | Tim Rice <tim@multitalents.net> | 2003-09-22 19:51:36 -0700 |
---|---|---|
committer | Tim Rice <tim@multitalents.net> | 2003-09-22 19:51:36 -0700 |
commit | efa09bf250909dca709deb74402ff6a8e86cc3c1 (patch) | |
tree | 2b9d7969bc05a1bb1f04e19ef2697a6ca408f984 /configure.ac | |
parent | d77263ea5c4f0df91bfec4ecef6e69643c9065dc (diff) |
[configure.ac] add --disable-etc-default-login option. ok djm
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 15f6e1f43..716431080 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1,4 +1,4 @@ | |||
1 | # $Id: configure.ac,v 1.154.2.9 2003/09/22 04:39:14 tim Exp $ | 1 | # $Id: configure.ac,v 1.154.2.10 2003/09/23 02:51:37 tim Exp $ |
2 | 2 | ||
3 | AC_INIT | 3 | AC_INIT |
4 | AC_CONFIG_SRCDIR([ssh.c]) | 4 | AC_CONFIG_SRCDIR([ssh.c]) |
@@ -2215,11 +2215,15 @@ else | |||
2215 | fi | 2215 | fi |
2216 | 2216 | ||
2217 | # check for /etc/default/login and use it if present. | 2217 | # check for /etc/default/login and use it if present. |
2218 | AC_ARG_ENABLE(etc-default-login, | ||
2219 | [ --disable-etc-default-login Disable using PATH from /etc/default/login [no]],, | ||
2220 | [ | ||
2218 | AC_CHECK_FILE("/etc/default/login", [ external_path_file=/etc/default/login ]) | 2221 | AC_CHECK_FILE("/etc/default/login", [ external_path_file=/etc/default/login ]) |
2219 | 2222 | ||
2220 | if test "x$external_path_file" = "x/etc/default/login"; then | 2223 | if test "x$external_path_file" = "x/etc/default/login"; then |
2221 | AC_DEFINE(HAVE_ETC_DEFAULT_LOGIN) | 2224 | AC_DEFINE(HAVE_ETC_DEFAULT_LOGIN) |
2222 | fi | 2225 | fi |
2226 | ]) | ||
2223 | 2227 | ||
2224 | dnl BSD systems use /etc/login.conf so --with-default-path= has no effect | 2228 | dnl BSD systems use /etc/login.conf so --with-default-path= has no effect |
2225 | if test $ac_cv_func_login_getcapbool = "yes" -a \ | 2229 | if test $ac_cv_func_login_getcapbool = "yes" -a \ |