summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2014-01-23 23:14:39 +1100
committerDarren Tucker <dtucker@zip.com.au>2014-01-23 23:14:39 +1100
commit42a092530159637da9cb7f9e1b5f4679e34a85e6 (patch)
tree6769e47527db4137a8c7efea3595b0d441bcd056 /configure.ac
parent617da33c20cb59f9ea6c99c881d92493371ef7b8 (diff)
- (dtucker) [configure.ac] NetBSD's (and FreeBSD's) strnvis is gratuitously
incompatible with OpenBSD's despite post-dating it by more than a decade. Declare it as broken, and document FreeBSD's as the same. ok djm@
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac9
1 files changed, 6 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 12d62e294..736f65027 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
1# $Id: configure.ac,v 1.558 2014/01/22 10:30:13 djm Exp $ 1# $Id: configure.ac,v 1.559 2014/01/23 12:14:40 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
17AC_INIT([OpenSSH], [Portable], [openssh-unix-dev@mindrot.org]) 17AC_INIT([OpenSSH], [Portable], [openssh-unix-dev@mindrot.org])
18AC_REVISION($Revision: 1.558 $) 18AC_REVISION($Revision: 1.559 $)
19AC_CONFIG_SRCDIR([ssh.c]) 19AC_CONFIG_SRCDIR([ssh.c])
20AC_LANG([C]) 20AC_LANG([C])
21 21
@@ -769,6 +769,8 @@ mips-sony-bsd|mips-sony-newsos4)
769 AC_DEFINE([SSH_TUN_PREPEND_AF], [1], 769 AC_DEFINE([SSH_TUN_PREPEND_AF], [1],
770 [Prepend the address family to IP tunnel traffic]) 770 [Prepend the address family to IP tunnel traffic])
771 TEST_MALLOC_OPTIONS="AJRX" 771 TEST_MALLOC_OPTIONS="AJRX"
772 AC_DEFINE([BROKEN_STRNVIS], [1],
773 [NetBSD strnvis argument order is swapped compared to OpenBSD])
772 ;; 774 ;;
773*-*-freebsd*) 775*-*-freebsd*)
774 check_for_libcrypt_later=1 776 check_for_libcrypt_later=1
@@ -777,7 +779,8 @@ mips-sony-bsd|mips-sony-newsos4)
777 AC_CHECK_HEADER([net/if_tap.h], , 779 AC_CHECK_HEADER([net/if_tap.h], ,
778 AC_DEFINE([SSH_TUN_NO_L2], [1], [No layer 2 tunnel support])) 780 AC_DEFINE([SSH_TUN_NO_L2], [1], [No layer 2 tunnel support]))
779 AC_DEFINE([BROKEN_GLOB], [1], [FreeBSD glob does not do what we need]) 781 AC_DEFINE([BROKEN_GLOB], [1], [FreeBSD glob does not do what we need])
780 AC_DEFINE([BROKEN_STRNVIS], [1], [FreeBSD strnvis does not do what we need]) 782 AC_DEFINE([BROKEN_STRNVIS], [1],
783 [FreeBSD strnvis argument order is swapped compared to OpenBSD])
781 TEST_MALLOC_OPTIONS="AJRX" 784 TEST_MALLOC_OPTIONS="AJRX"
782 ;; 785 ;;
783*-*-bsdi*) 786*-*-bsdi*)