openbsd-ports/net/bro/patches/patch-configure_in
2011-06-02 15:43:05 +00:00

27 lines
856 B
Plaintext

$OpenBSD: patch-configure_in,v 1.2 2011/06/02 15:43:05 kili Exp $
--- configure.in.orig Tue Jul 15 02:07:48 2008
+++ configure.in Thu Jun 2 17:12:41 2011
@@ -130,7 +130,7 @@ AC_ARG_WITH(binpac,
AC_LBL_ENABLE_CHECK([activemapping binpac broccoli brov6 debug \
expire-dfa-states gtk-doc int64 openssl perftools perl \
- select-loop shippedpcap])
+ select-loop shippedpcap silent-rules])
dnl ################################################
dnl # OpenSSL
@@ -215,6 +215,13 @@ if test "$use_openssl" = "yes"; then
AC_MSG_RESULT(yes),
AC_MSG_RESULT(no))
AC_LANG_POP([C++])
+fi
+
+if test "$use_openssl" = "yes"; then
+ AC_CHECK_TYPE(STACK,
+ AC_DEFINE([OPENSSL_STACK_TYPE], [STACK], [OpenSSL's stack type]),
+ AC_DEFINE([OPENSSL_STACK_TYPE], [_STACK], [OpenSSL's stack type]),
+ [#include <openssl/stack.h>])
fi
# do we use ssl?