summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2016-02-08 01:47:59 +0000
committerPeter Powell <petpow@saberuk.com>2016-02-19 20:01:13 +0000
commit8f9ae4c55ec40fa92c229ba1c51c925cb2b6c3ce (patch)
tree8fa49f4fb30330b849913694be0989c30a6152cb
parentdf9eca077e1bb9f46311925097a21d195551a3c4 (diff)
Fix the temporary fix for finding SSL libraries.
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index ab2d50a86..ef6846e50 100755
--- a/configure
+++ b/configure
@@ -297,8 +297,8 @@ if (prompt_bool $interactive, $question, 0) {
} else {
# TODO: finish modulemanager rewrite and replace this code with:
# system './modulemanager', 'enable', '--auto';
- enable_extras 'm_ssl_gnutls.cpp' unless system 'gnutls-cli --version >/dev/null 2>&1';
- enable_extras 'm_ssl_openssl.cpp' unless system 'openssl --version >/dev/null 2>&1';
+ enable_extras 'm_ssl_gnutls.cpp' unless system 'pkg-config --exists gnutls >/dev/null 2>&1';
+ enable_extras 'm_ssl_openssl.cpp' unless system 'pkg-config --exists openssl >/dev/null 2>&1';
}
# Generate SSL certificates.