From: Pieter Lexis Date: Thu, 1 Sep 2016 10:35:31 +0000 (+0200) Subject: Rec: show context lib in configure output X-Git-Tag: rec-4.0.3~8^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=af1da12f91fdeafbc3a200f1225c38008f43a086;p=thirdparty%2Fpdns.git Rec: show context lib in configure output (cherry picked from commit 0079fda22e9f8b32e5f6727d023d0b421e5ac1e3) --- diff --git a/pdns/recursordist/configure.ac b/pdns/recursordist/configure.ac index 1d1500f0f3..fe5e625612 100644 --- a/pdns/recursordist/configure.ac +++ b/pdns/recursordist/configure.ac @@ -42,6 +42,7 @@ PDNS_CHECK_NETWORK_LIBS # Boost Context was introduced in 1.51 (Aug 2012), but there was an immediate # API break in 1.52 (Nov 2012), so we only support that, and later. +pdns_context_library="System V ucontexts" AC_DEFUN([PDNS_SELECT_CONTEXT_IMPL], [ AC_MSG_CHECKING([whether Boost is new enough to use the context library...]) @@ -65,6 +66,7 @@ AC_DEFUN([PDNS_SELECT_CONTEXT_IMPL], [ fi case $boost_cv_lib_context in (yes) + pdns_context_library="Boost context" AC_MSG_NOTICE([MTasker will use the Boost context library for context switching]) ;; *) @@ -206,4 +208,5 @@ AS_IF([test "x$systemd" != "xn"], [AC_MSG_NOTICE([systemd: yes])], [AC_MSG_NOTICE([systemd: no])] ) +AC_MSG_NOTICE([Context library: $pdns_context_library]) AC_MSG_NOTICE([])