diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | configure.ac | 15 |
2 files changed, 14 insertions, 5 deletions
@@ -20,6 +20,8 @@ | |||
20 | [serverloop.c ssh.c openbsd-compat/Makefile.in] | 20 | [serverloop.c ssh.c openbsd-compat/Makefile.in] |
21 | [openbsd-compat/openbsd-compat.h] Implement tun(4) forwarding | 21 | [openbsd-compat/openbsd-compat.h] Implement tun(4) forwarding |
22 | compatability support for Linux, diff from reyk@ | 22 | compatability support for Linux, diff from reyk@ |
23 | - (djm) [configure.ac] Disable Linux tun(4) compat code if linux/tun.h does | ||
24 | not exist | ||
23 | 25 | ||
24 | 20051229 | 26 | 20051229 |
25 | - (tim) [buildpkg.sh.in] grep for $SSHDUID instead of $SSHDGID on /etc/passwd | 27 | - (tim) [buildpkg.sh.in] grep for $SSHDUID instead of $SSHDGID on /etc/passwd |
@@ -3575,4 +3577,4 @@ | |||
3575 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM | 3577 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM |
3576 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu | 3578 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu |
3577 | 3579 | ||
3578 | $Id: ChangeLog,v 1.4057 2005/12/31 05:33:36 djm Exp $ | 3580 | $Id: ChangeLog,v 1.4058 2005/12/31 05:42:03 djm Exp $ |
diff --git a/configure.ac b/configure.ac index 64046759f..3126cfcb0 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1,4 +1,4 @@ | |||
1 | # $Id: configure.ac,v 1.317 2005/12/31 05:33:37 djm Exp $ | 1 | # $Id: configure.ac,v 1.318 2005/12/31 05:42:03 djm Exp $ |
2 | # | 2 | # |
3 | # Copyright (c) 1999-2004 Damien Miller | 3 | # Copyright (c) 1999-2004 Damien Miller |
4 | # | 4 | # |
@@ -326,9 +326,16 @@ main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16)) | |||
326 | [Define if cmsg_type is not passed correctly]) | 326 | [Define if cmsg_type is not passed correctly]) |
327 | ;; | 327 | ;; |
328 | esac | 328 | esac |
329 | AC_DEFINE(SSH_TUN_LINUX, 1, [Open tunnel devices the Linux tun/tap way]) | 329 | # tun(4) forwarding compat code |
330 | AC_DEFINE(SSH_TUN_COMPAT_AF, 1, [Use tunnel device compatibility to OpenBSD]) | 330 | AC_CHECK_HEADERS(linux/tun.h) |
331 | AC_DEFINE(SSH_TUN_PREPEND_AF, 1, [Prepend the address family to IP tunnel traffic]) | 331 | if test "x$ac_cv_header_linux_tun_h" = "xyes" ; then |
332 | AC_DEFINE(SSH_TUN_LINUX, 1, | ||
333 | [Open tunnel devices the Linux tun/tap way]) | ||
334 | AC_DEFINE(SSH_TUN_COMPAT_AF, 1, | ||
335 | [Use tunnel device compatibility to OpenBSD]) | ||
336 | AC_DEFINE(SSH_TUN_PREPEND_AF, 1, | ||
337 | [Prepend the address family to IP tunnel traffic]) | ||
338 | fi | ||
332 | ;; | 339 | ;; |
333 | mips-sony-bsd|mips-sony-newsos4) | 340 | mips-sony-bsd|mips-sony-newsos4) |
334 | AC_DEFINE(NEED_SETPRGP, 1, [Need setpgrp to acquire controlling tty]) | 341 | AC_DEFINE(NEED_SETPRGP, 1, [Need setpgrp to acquire controlling tty]) |