Changeset View
Changeset View
Standalone View
Standalone View
crypto/openssh/configure.ac
Show First 20 Lines • Show All 991 Lines • ▼ Show 20 Lines | |||||
AC_MSG_CHECKING([for /proc/pid/fd directory]) | AC_MSG_CHECKING([for /proc/pid/fd directory]) | ||||
if test -d "/proc/$$/fd" ; then | if test -d "/proc/$$/fd" ; then | ||||
AC_DEFINE([HAVE_PROC_PID], [1], [Define if you have /proc/$pid/fd]) | AC_DEFINE([HAVE_PROC_PID], [1], [Define if you have /proc/$pid/fd]) | ||||
AC_MSG_RESULT([yes]) | AC_MSG_RESULT([yes]) | ||||
else | else | ||||
AC_MSG_RESULT([no]) | AC_MSG_RESULT([no]) | ||||
fi | fi | ||||
# Check whether user wants TCP wrappers support | |||||
TCPW_MSG="no" | |||||
AC_ARG_WITH([tcp-wrappers], | |||||
[ --with-tcp-wrappers[[=PATH]] Enable tcpwrappers support (optionally in PATH)], | |||||
[ | |||||
if test "x$withval" != "xno" ; then | |||||
saved_LIBS="$LIBS" | |||||
saved_LDFLAGS="$LDFLAGS" | |||||
saved_CPPFLAGS="$CPPFLAGS" | |||||
if test -n "${withval}" && \ | |||||
test "x${withval}" != "xyes"; then | |||||
if test -d "${withval}/lib"; then | |||||
if test -n "${need_dash_r}"; then | |||||
LDFLAGS="-L${withval}/lib -R${withval}/lib ${LDFLAGS}" | |||||
else | |||||
LDFLAGS="-L${withval}/lib ${LDFLAGS}" | |||||
fi | |||||
else | |||||
if test -n "${need_dash_r}"; then | |||||
LDFLAGS="-L${withval} -R${withval} ${LDFLAGS}" | |||||
else | |||||
LDFLAGS="-L${withval} ${LDFLAGS}" | |||||
fi | |||||
fi | |||||
if test -d "${withval}/include"; then | |||||
CPPFLAGS="-I${withval}/include ${CPPFLAGS}" | |||||
else | |||||
CPPFLAGS="-I${withval} ${CPPFLAGS}" | |||||
fi | |||||
fi | |||||
LIBS="-lwrap $LIBS" | |||||
AC_MSG_CHECKING([for libwrap]) | |||||
AC_LINK_IFELSE([AC_LANG_PROGRAM([[ | |||||
#include <sys/types.h> | |||||
#include <sys/socket.h> | |||||
#include <netinet/in.h> | |||||
#include <tcpd.h> | |||||
int deny_severity = 0, allow_severity = 0; | |||||
]], [[ | |||||
hosts_access(0); | |||||
]])], [ | |||||
AC_MSG_RESULT([yes]) | |||||
AC_DEFINE([LIBWRAP], [1], | |||||
[Define if you want | |||||
TCP Wrappers support]) | |||||
SSHDLIBS="$SSHDLIBS -lwrap" | |||||
TCPW_MSG="yes" | |||||
], [ | |||||
AC_MSG_ERROR([*** libwrap missing]) | |||||
]) | |||||
LIBS="$saved_LIBS" | |||||
fi | |||||
] | |||||
) | |||||
# Check whether user wants to use ldns | # Check whether user wants to use ldns | ||||
LDNS_MSG="no" | LDNS_MSG="no" | ||||
AC_ARG_WITH(ldns, | AC_ARG_WITH(ldns, | ||||
[ --with-ldns[[=PATH]] Use ldns for DNSSEC support (optionally in PATH)], | [ --with-ldns[[=PATH]] Use ldns for DNSSEC support (optionally in PATH)], | ||||
[ | [ | ||||
ldns="" | ldns="" | ||||
if test "x$withval" = "xyes" ; then | if test "x$withval" = "xyes" ; then | ||||
AC_PATH_TOOL([LDNSCONFIG], [ldns-config], [no]) | AC_PATH_TOOL([LDNSCONFIG], [ldns-config], [no]) | ||||
▲ Show 20 Lines • Show All 1,982 Lines • ▼ Show 20 Lines | |||||
if test ! -z "$superuser_path" ; then | if test ! -z "$superuser_path" ; then | ||||
echo " sshd superuser user PATH: $J" | echo " sshd superuser user PATH: $J" | ||||
fi | fi | ||||
echo " Manpage format: $MANTYPE" | echo " Manpage format: $MANTYPE" | ||||
echo " PAM support: $PAM_MSG" | echo " PAM support: $PAM_MSG" | ||||
echo " OSF SIA support: $SIA_MSG" | echo " OSF SIA support: $SIA_MSG" | ||||
echo " KerberosV support: $KRB5_MSG" | echo " KerberosV support: $KRB5_MSG" | ||||
echo " SELinux support: $SELINUX_MSG" | echo " SELinux support: $SELINUX_MSG" | ||||
echo " TCP Wrappers support: $TCPW_MSG" | |||||
echo " MD5 password support: $MD5_MSG" | echo " MD5 password support: $MD5_MSG" | ||||
echo " libedit support: $LIBEDIT_MSG" | echo " libedit support: $LIBEDIT_MSG" | ||||
echo " libldns support: $LDNS_MSG" | echo " libldns support: $LDNS_MSG" | ||||
echo " Solaris process contract support: $SPC_MSG" | echo " Solaris process contract support: $SPC_MSG" | ||||
echo " Solaris project support: $SP_MSG" | echo " Solaris project support: $SP_MSG" | ||||
echo " Solaris privilege support: $SPP_MSG" | echo " Solaris privilege support: $SPP_MSG" | ||||
echo " IP address in \$DISPLAY hack: $DISPLAY_HACK_MSG" | echo " IP address in \$DISPLAY hack: $DISPLAY_HACK_MSG" | ||||
echo " Translate v4 in v6 hack: $IPV4_IN6_HACK_MSG" | echo " Translate v4 in v6 hack: $IPV4_IN6_HACK_MSG" | ||||
▲ Show 20 Lines • Show All 48 Lines • Show Last 20 Lines |