summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-02-19 12:40:36 +0000
committerng0 <ng0@n0.is>2019-02-19 12:40:36 +0000
commit2f9e78d0db73fa953f4f542f3fbc9ddf2c9e260f (patch)
treef700ff67202a249d5c121a9f78f64531e6e0406c /configure.ac
parentb9e95f034c7d2e059340c5d282933c102e834c71 (diff)
gnunet-gns-proxy-setup-ca: conditionally sed openssl and certutil location,
use variable for locations, check for openssl and certutil in configure phase.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 40890ad1a..b3caee676 100644
--- a/configure.ac
+++ b/configure.ac
@@ -377,6 +377,9 @@ AC_ARG_ENABLE(gcc-hardening,
LDFLAGS="$LDFLAGS -pie"
fi])
+# gnunet-gns-proxy-setup-ca requires openssl and certutil (nss)
+AC_CHECK_PROG(have_openssl, [openssl], [yes], [no])
+AC_CHECK_PROG(have_certutil, [certutil], [yes], [no])
# Linker hardening options
# Currently these options are ELF specific - you can't use this with MacOSX