diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | configure.ac | 61 |
2 files changed, 6 insertions, 59 deletions
@@ -1,3 +1,7 @@ | |||
1 | 20140612 | ||
2 | - (dtucker) [configure.ac] Remove tcpwrappers support, support has already | ||
3 | been removed from sshd.c. | ||
4 | |||
1 | 20140611 | 5 | 20140611 |
2 | - (dtucker) [defines.h] Add va_copy if we don't already have it, taken from | 6 | - (dtucker) [defines.h] Add va_copy if we don't already have it, taken from |
3 | openbsd-compat/bsd-asprintf.c. | 7 | openbsd-compat/bsd-asprintf.c. |
diff --git a/configure.ac b/configure.ac index 66fbe821f..f48ba4a49 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1,4 +1,4 @@ | |||
1 | # $Id: configure.ac,v 1.575 2014/05/27 04:34:43 djm Exp $ | 1 | # $Id: configure.ac,v 1.576 2014/06/13 01:06:04 dtucker Exp $ |
2 | # | 2 | # |
3 | # Copyright (c) 1999-2004 Damien Miller | 3 | # Copyright (c) 1999-2004 Damien Miller |
4 | # | 4 | # |
@@ -15,7 +15,7 @@ | |||
15 | # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 15 | # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
16 | 16 | ||
17 | AC_INIT([OpenSSH], [Portable], [openssh-unix-dev@mindrot.org]) | 17 | AC_INIT([OpenSSH], [Portable], [openssh-unix-dev@mindrot.org]) |
18 | AC_REVISION($Revision: 1.575 $) | 18 | AC_REVISION($Revision: 1.576 $) |
19 | AC_CONFIG_SRCDIR([ssh.c]) | 19 | AC_CONFIG_SRCDIR([ssh.c]) |
20 | AC_LANG([C]) | 20 | AC_LANG([C]) |
21 | 21 | ||
@@ -1380,62 +1380,6 @@ AC_ARG_WITH([skey], | |||
1380 | ] | 1380 | ] |
1381 | ) | 1381 | ) |
1382 | 1382 | ||
1383 | # Check whether user wants TCP wrappers support | ||
1384 | TCPW_MSG="no" | ||
1385 | AC_ARG_WITH([tcp-wrappers], | ||
1386 | [ --with-tcp-wrappers[[=PATH]] Enable tcpwrappers support (optionally in PATH)], | ||
1387 | [ | ||
1388 | if test "x$withval" != "xno" ; then | ||
1389 | saved_LIBS="$LIBS" | ||
1390 | saved_LDFLAGS="$LDFLAGS" | ||
1391 | saved_CPPFLAGS="$CPPFLAGS" | ||
1392 | if test -n "${withval}" && \ | ||
1393 | test "x${withval}" != "xyes"; then | ||
1394 | if test -d "${withval}/lib"; then | ||
1395 | if test -n "${need_dash_r}"; then | ||
1396 | LDFLAGS="-L${withval}/lib -R${withval}/lib ${LDFLAGS}" | ||
1397 | else | ||
1398 | LDFLAGS="-L${withval}/lib ${LDFLAGS}" | ||
1399 | fi | ||
1400 | else | ||
1401 | if test -n "${need_dash_r}"; then | ||
1402 | LDFLAGS="-L${withval} -R${withval} ${LDFLAGS}" | ||
1403 | else | ||
1404 | LDFLAGS="-L${withval} ${LDFLAGS}" | ||
1405 | fi | ||
1406 | fi | ||
1407 | if test -d "${withval}/include"; then | ||
1408 | CPPFLAGS="-I${withval}/include ${CPPFLAGS}" | ||
1409 | else | ||
1410 | CPPFLAGS="-I${withval} ${CPPFLAGS}" | ||
1411 | fi | ||
1412 | fi | ||
1413 | LIBS="-lwrap $LIBS" | ||
1414 | AC_MSG_CHECKING([for libwrap]) | ||
1415 | AC_LINK_IFELSE([AC_LANG_PROGRAM([[ | ||
1416 | #include <sys/types.h> | ||
1417 | #include <sys/socket.h> | ||
1418 | #include <netinet/in.h> | ||
1419 | #include <tcpd.h> | ||
1420 | int deny_severity = 0, allow_severity = 0; | ||
1421 | ]], [[ | ||
1422 | hosts_access(0); | ||
1423 | ]])], [ | ||
1424 | AC_MSG_RESULT([yes]) | ||
1425 | AC_DEFINE([LIBWRAP], [1], | ||
1426 | [Define if you want | ||
1427 | TCP Wrappers support]) | ||
1428 | SSHDLIBS="$SSHDLIBS -lwrap" | ||
1429 | TCPW_MSG="yes" | ||
1430 | ], [ | ||
1431 | AC_MSG_ERROR([*** libwrap missing]) | ||
1432 | |||
1433 | ]) | ||
1434 | LIBS="$saved_LIBS" | ||
1435 | fi | ||
1436 | ] | ||
1437 | ) | ||
1438 | |||
1439 | # Check whether user wants to use ldns | 1383 | # Check whether user wants to use ldns |
1440 | LDNS_MSG="no" | 1384 | LDNS_MSG="no" |
1441 | AC_ARG_WITH(ldns, | 1385 | AC_ARG_WITH(ldns, |
@@ -4859,7 +4803,6 @@ echo " KerberosV support: $KRB5_MSG" | |||
4859 | echo " SELinux support: $SELINUX_MSG" | 4803 | echo " SELinux support: $SELINUX_MSG" |
4860 | echo " Smartcard support: $SCARD_MSG" | 4804 | echo " Smartcard support: $SCARD_MSG" |
4861 | echo " S/KEY support: $SKEY_MSG" | 4805 | echo " S/KEY support: $SKEY_MSG" |
4862 | echo " TCP Wrappers support: $TCPW_MSG" | ||
4863 | echo " MD5 password support: $MD5_MSG" | 4806 | echo " MD5 password support: $MD5_MSG" |
4864 | echo " libedit support: $LIBEDIT_MSG" | 4807 | echo " libedit support: $LIBEDIT_MSG" |
4865 | echo " Solaris process contract support: $SPC_MSG" | 4808 | echo " Solaris process contract support: $SPC_MSG" |