summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2016-08-23 14:32:37 +1000
committerDamien Miller <djm@mindrot.org>2016-08-23 14:32:37 +1000
commit857568d2ac81c14bcfd625b27536c1e28c992b3c (patch)
tree2191644b90b050033d5e220d58fecca5432aee4c /configure.ac
parentcc182d01cef8ca35a1d25ea9bf4e2ff72e588208 (diff)
removing UseLogin bits from configure.ac
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac30
1 files changed, 0 insertions, 30 deletions
diff --git a/configure.ac b/configure.ac
index a3c22c187..f6b56db17 100644
--- a/configure.ac
+++ b/configure.ac
@@ -79,31 +79,6 @@ if test -z "$AR" ; then
79 AC_MSG_ERROR([*** 'ar' missing, please install or fix your \$PATH ***]) 79 AC_MSG_ERROR([*** 'ar' missing, please install or fix your \$PATH ***])
80fi 80fi
81 81
82# Use LOGIN_PROGRAM from environment if possible
83login_program=$LOGIN_PROGRAM
84# Allow override on command-line
85AC_ARG_WITH([login-program],
86 [ --with-login-program=path Specify login program name ],
87 [
88 if test "x$withval" != "xno" && \
89 test "x$withval" != "xyes" ; then
90 login_program=$withval
91 fi
92 ]
93)
94# If no login_program specified then find one using the path.
95if test ! -z "$login_program" ; then
96 AC_DEFINE_UNQUOTED([LOGIN_PROGRAM_FALLBACK], ["$login_program"],
97 [login program to use if system headers lack LOGIN_PROGRAM])
98else
99 # Search for login
100 AC_PATH_PROG([LOGIN_PROGRAM_FALLBACK], [login])
101 if test ! -z "$LOGIN_PROGRAM_FALLBACK" ; then
102 AC_DEFINE_UNQUOTED([LOGIN_PROGRAM_FALLBACK],
103 ["$LOGIN_PROGRAM_FALLBACK"])
104 fi
105fi
106
107AC_PATH_PROG([PATH_PASSWD_PROG], [passwd]) 82AC_PATH_PROG([PATH_PASSWD_PROG], [passwd])
108if test ! -z "$PATH_PASSWD_PROG" ; then 83if test ! -z "$PATH_PASSWD_PROG" ; then
109 AC_DEFINE_UNQUOTED([_PATH_PASSWD_PROG], ["$PATH_PASSWD_PROG"], 84 AC_DEFINE_UNQUOTED([_PATH_PASSWD_PROG], ["$PATH_PASSWD_PROG"],
@@ -678,8 +653,6 @@ main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16))
678 CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1" 653 CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1"
679 IPADDR_IN_DISPLAY=yes 654 IPADDR_IN_DISPLAY=yes
680 AC_DEFINE([USE_PIPES]) 655 AC_DEFINE([USE_PIPES])
681 AC_DEFINE([LOGIN_NO_ENDOPT], [1],
682 [Define if your login program cannot handle end of options ("--")])
683 AC_DEFINE([LOGIN_NEEDS_UTMPX]) 656 AC_DEFINE([LOGIN_NEEDS_UTMPX])
684 AC_DEFINE([LOCKED_PASSWD_STRING], ["*"], 657 AC_DEFINE([LOCKED_PASSWD_STRING], ["*"],
685 [String used in /etc/passwd to denote locked account]) 658 [String used in /etc/passwd to denote locked account])
@@ -906,9 +879,6 @@ mips-sony-bsd|mips-sony-newsos4)
906 fi 879 fi
907 AC_DEFINE([PAM_SUN_CODEBASE]) 880 AC_DEFINE([PAM_SUN_CODEBASE])
908 AC_DEFINE([LOGIN_NEEDS_UTMPX]) 881 AC_DEFINE([LOGIN_NEEDS_UTMPX])
909 AC_DEFINE([LOGIN_NEEDS_TERM], [1],
910 [Some versions of /bin/login need the TERM supplied
911 on the commandline])
912 AC_DEFINE([PAM_TTY_KLUDGE]) 882 AC_DEFINE([PAM_TTY_KLUDGE])
913 AC_DEFINE([SSHPAM_CHAUTHTOK_NEEDS_RUID], [1], 883 AC_DEFINE([SSHPAM_CHAUTHTOK_NEEDS_RUID], [1],
914 [Define if pam_chauthtok wants real uid set 884 [Define if pam_chauthtok wants real uid set