File: pdns_enable_botan.m4

package info (click to toggle)
pdns-recursor 4.0.4-1%2Bdeb9u3~bpo8%2B1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 5,484 kB
  • sloc: cpp: 36,380; sh: 11,771; makefile: 305; xml: 37
file content (18 lines) | stat: -rw-r--r-- 603 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
AC_DEFUN([PDNS_ENABLE_BOTAN],[
  AC_MSG_CHECKING([whether we will be linking in Botan 1.10])
  AC_ARG_ENABLE([botan1.10],
    [AS_HELP_STRING([--enable-botan1.10],[use Botan 1.10 @<:@default=no@:>@])],
    [enable_botan110=$enableval],
    [enable_botan110=no]
  )
  AC_MSG_RESULT([$enable_botan110])
  AM_CONDITIONAL(BOTAN110, [test "x$enable_botan110" != "xno"])


  AS_IF([test "x$enable_botan110" != "xno"], [
    PKG_CHECK_MODULES([BOTAN110], [botan-1.10],
      [AC_DEFINE([HAVE_BOTAN110],[1],[Define to 1 if you have botan 1.10])],
      [AC_MSG_ERROR([Could not find botan 1.10])]
    )]
  )
])