summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2016-12-21 08:18:24 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2016-12-21 08:18:26 +0100
commit63e3b15f187ecc8f1dc7a6d20a17f4f7b8313721 (patch)
tree98b3ad32e2f0b282dcd139997eb6f05e64c133c3 /configure.ac
parent5f578c41d8449da5487a1aa23615ebb0b99cedc2 (diff)
downloadgnutls-63e3b15f187ecc8f1dc7a6d20a17f4f7b8313721.tar.gz
configure: introduced --with-priority-string optiontmp-default-prio-string
This allows specifying the priority string to be used with gnutls_set_default_priority() on configure time.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index e96c75d356..e3f03b7230 100644
--- a/configure.ac
+++ b/configure.ac
@@ -588,6 +588,12 @@ system_priority_file="/etc/gnutls/default-priorities"
AC_DEFINE_UNQUOTED([SYSTEM_PRIORITY_FILE],
["$system_priority_file"], [The system priority file])
+AC_ARG_WITH(default-priority-string, AS_HELP_STRING([--with-default-priority-string],
+ [specify the default priority string (e.g. @SYSTEM)]),
+ prio_string="$withval",
+ prio_string="NORMAL")
+
+AC_DEFINE_UNQUOTED([DEFAULT_PRIORITY_STRING], ["$prio_string"], [The default priority string])
dnl Check for p11-kit
P11_KIT_MINIMUM=0.23.1