diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 637b14e40..1b8aa5e1c 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1,4 +1,4 @@ | |||
1 | # $Id: configure.ac,v 1.56 2002/05/11 20:17:44 tim Exp $ | 1 | # $Id: configure.ac,v 1.57 2002/05/13 00:48:58 djm Exp $ |
2 | 2 | ||
3 | AC_INIT | 3 | AC_INIT |
4 | AC_CONFIG_SRCDIR([ssh.c]) | 4 | AC_CONFIG_SRCDIR([ssh.c]) |
@@ -2011,6 +2011,19 @@ if test "$USES_LOGIN_CONF" != "yes" ; then | |||
2011 | AC_SUBST(user_path) | 2011 | AC_SUBST(user_path) |
2012 | fi | 2012 | fi |
2013 | 2013 | ||
2014 | # Set superuser path separately to user path | ||
2015 | MD5_MSG="no" | ||
2016 | AC_ARG_WITH(superuser-path, | ||
2017 | [ --with-superuser-path= Specify different path for super-user], | ||
2018 | [ | ||
2019 | if test "x$withval" != "xno" ; then | ||
2020 | AC_DEFINE_UNQUOTED(SUPERUSER_PATH, "$withval") | ||
2021 | superuser_path=$withval | ||
2022 | fi | ||
2023 | ] | ||
2024 | ) | ||
2025 | |||
2026 | |||
2014 | # Whether to force IPv4 by default (needed on broken glibc Linux) | 2027 | # Whether to force IPv4 by default (needed on broken glibc Linux) |
2015 | IPV4_HACK_MSG="no" | 2028 | IPV4_HACK_MSG="no" |
2016 | AC_ARG_WITH(ipv4-default, | 2029 | AC_ARG_WITH(ipv4-default, |
@@ -2351,6 +2364,7 @@ E=`eval echo ${libexecdir}/ssh-askpass` ; E=`eval echo ${E}` | |||
2351 | F=`eval echo ${mandir}/${mansubdir}X` ; F=`eval echo ${F}` | 2364 | F=`eval echo ${mandir}/${mansubdir}X` ; F=`eval echo ${F}` |
2352 | G=`eval echo ${piddir}` ; G=`eval echo ${G}` | 2365 | G=`eval echo ${piddir}` ; G=`eval echo ${G}` |
2353 | H=`eval echo ${user_path}` ; H=`eval echo ${H}` | 2366 | H=`eval echo ${user_path}` ; H=`eval echo ${H}` |
2367 | I=`eval echo ${superuser_path}` ; I=`eval echo ${I}` | ||
2354 | 2368 | ||
2355 | echo "" | 2369 | echo "" |
2356 | echo "OpenSSH has been configured with the following options:" | 2370 | echo "OpenSSH has been configured with the following options:" |
@@ -2365,6 +2379,9 @@ echo " At runtime, sshd will use the path defined in /etc/login.conf" | |||
2365 | else | 2379 | else |
2366 | echo " sshd default user PATH: $H" | 2380 | echo " sshd default user PATH: $H" |
2367 | fi | 2381 | fi |
2382 | if test ! -z "$superuser_path" ; then | ||
2383 | echo " sshd superuser user PATH: $I" | ||
2384 | fi | ||
2368 | echo " Manpage format: $MANTYPE" | 2385 | echo " Manpage format: $MANTYPE" |
2369 | echo " PAM support: ${PAM_MSG}" | 2386 | echo " PAM support: ${PAM_MSG}" |
2370 | echo " KerberosIV support: $KRB4_MSG" | 2387 | echo " KerberosIV support: $KRB4_MSG" |