summaryrefslogtreecommitdiff
path: root/m4/hooks.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/hooks.m4')
-rw-r--r--m4/hooks.m415
1 files changed, 15 insertions, 0 deletions
diff --git a/m4/hooks.m4 b/m4/hooks.m4
index 4340e0db19..ab0a3d05ea 100644
--- a/m4/hooks.m4
+++ b/m4/hooks.m4
@@ -300,6 +300,21 @@ AC_MSG_ERROR([[
fi
AM_CONDITIONAL(ENABLE_OCSP, test "$ac_enable_ocsp" != "no")
+ AC_MSG_CHECKING([whether to disable session tickets support])
+ AC_ARG_ENABLE(session-tickets,
+ AS_HELP_STRING([--disable-session-tickets],
+ [disable session tickets support]),
+ ac_enable_session_tickets=no)
+ if test x$ac_enable_session_tickets != xno; then
+ ac_enable_session_tickets=yes
+ AC_MSG_RESULT(no)
+ AC_DEFINE([ENABLE_SESSION_TICKETS], 1, [enable session tickets support])
+ else
+ ac_full=0
+ AC_MSG_RESULT(yes)
+ fi
+ AM_CONDITIONAL(ENABLE_SESSION_TICKETS, test "$ac_enable_session_tickets" != "no")
+
# For storing integers in pointers without warnings
# http://developer.gnome.org/doc/API/2.0/glib/glib-Type-Conversion-Macros.html#desc
AC_CHECK_SIZEOF(void *)