aboutsummaryrefslogtreecommitdiff
path: root/external/unbound/dnscrypt/dnscrypt.m4
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2018-03-18 18:50:21 +0200
committerRiccardo Spagni <ric@spagni.net>2018-03-18 18:50:21 +0200
commit1f6e6001ed37b48788ef071f3297b7e9d67586a5 (patch)
tree7ff391303a4b5643294bc4f91d1c493791f98879 /external/unbound/dnscrypt/dnscrypt.m4
parentMerge pull request #3426 (diff)
parentUnbound: add git submodule for unbound (diff)
downloadmonero-1f6e6001ed37b48788ef071f3297b7e9d67586a5.tar.xz
Merge pull request #2133
efe70a15 Unbound: add git submodule for unbound (anonimal) 84c5a9ba Unbound: remove unbound from in-tree source (anonimal)
Diffstat (limited to '')
-rw-r--r--external/unbound/dnscrypt/dnscrypt.m425
1 files changed, 0 insertions, 25 deletions
diff --git a/external/unbound/dnscrypt/dnscrypt.m4 b/external/unbound/dnscrypt/dnscrypt.m4
deleted file mode 100644
index 077d28221..000000000
--- a/external/unbound/dnscrypt/dnscrypt.m4
+++ /dev/null
@@ -1,25 +0,0 @@
-# dnscrypt.m4
-
-# dnsc_DNSCRYPT([action-if-true], [action-if-false])
-# --------------------------------------------------------------------------
-# Check for required dnscrypt libraries and add dnscrypt configure args.
-AC_DEFUN([dnsc_DNSCRYPT],
-[
- AC_ARG_ENABLE([dnscrypt],
- AS_HELP_STRING([--enable-dnscrypt],
- [Enable dnscrypt support (requires libsodium)]),
- [opt_dnscrypt=$enableval], [opt_dnscrypt=no])
-
- if test "x$opt_dnscrypt" != "xno"; then
- AC_ARG_WITH([libsodium], AC_HELP_STRING([--with-libsodium=path],
- [Path where libsodium is installed, for dnscrypt]), [
- CFLAGS="$CFLAGS -I$withval/include"
- LDFLAGS="$LDFLAGS -L$withval/lib"
- ])
- AC_SEARCH_LIBS([sodium_init], [sodium], [],
- AC_MSG_ERROR([The sodium library was not found. Please install sodium!]))
- $1
- else
- $2
- fi
-])