summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2014-03-05 14:46:19 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2014-03-05 14:46:19 +0100
commitd9ce82a4ce690857f828e6c434718c2a85bfbab0 (patch)
treeb9b151b96ccd81e68a1124f2c2d9d48cb13354c8 /m4
parent70ea3b701bf80847903bbf3d2f010cfbf55410ba (diff)
downloadgnutls-d9ce82a4ce690857f828e6c434718c2a85bfbab0.tar.gz
session tickets can be disabled
Diffstat (limited to '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 *)