summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-06-05 22:40:09 +0200
committerattilamolnar <attilamolnar@hush.com>2013-06-05 22:40:09 +0200
commitf4d8359382153309e67a6b344ae503c321653c81 (patch)
treeea94c246bc46e045095a6cc16409f0202e3d5bd0 /configure
parentf07eda62da11eaab091e817e41d3a2bc8f4bd8d0 (diff)
Report the full GnuTLS version in configure
Fix incorrect version being reported when the minor version is longer than one digit (2.10.x)
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index cd5cf4258..f738a65a0 100755
--- a/configure
+++ b/configure
@@ -189,7 +189,7 @@ if (defined $opt_data_dir) {
if (defined $opt_log_dir) {
$config{LOG_DIR} = $opt_log_dir;
}
-chomp($config{HAS_GNUTLS} = `pkg-config --modversion gnutls 2>/dev/null | cut -c 1,2,3`); # GNUTLS Version.
+chomp($config{HAS_GNUTLS} = `pkg-config --modversion gnutls 2>/dev/null`); # GNUTLS Version.
if (defined $opt_freebsd_port)
{