# Warn when pkg.m4 is missing
m4_pattern_forbid([^_?PKG_[A-Z_]+$], [*** pkg.m4 missing, please install pkg-config])
-AX_CXX_COMPILE_STDCXX_20([noext], [mandatory])
+AX_CXX_COMPILE_STDCXX_20([ext], [mandatory])
LT_PREREQ([2.2.2])
LT_INIT([disable-static dlopen])
default_options: [
'buildtype=debugoptimized',
'warning_level=2', # TODO Move this to 3 to enable -Wpedantic
- 'cpp_std=c++20',
+ 'cpp_std=gnu++20',
],
)
PDNS_ENABLE_IPCIPHER
PDNS_CHECK_AARCH64_UINT64X2_T
-AX_CXX_COMPILE_STDCXX_20([noext], [mandatory])
+AX_CXX_COMPILE_STDCXX_20([ext], [mandatory])
AC_MSG_CHECKING([whether we will enable compiler security checks])
AC_ARG_ENABLE([hardening],
default_options: [
'buildtype=debugoptimized',
'warning_level=2', # TODO Move this to 3 to enable -Wpedantic
- 'cpp_std=c++20',
+ 'cpp_std=gnu++20',
'b_pie=true',
],
)
# Warn when pkg.m4 is missing
m4_pattern_forbid([^_?PKG_[A-Z_]+$], [*** pkg.m4 missing, please install pkg-config])
-AX_CXX_COMPILE_STDCXX_20([noext], [mandatory])
+AX_CXX_COMPILE_STDCXX_20([ext], [mandatory])
PDNS_CHECK_CARGO([1.64])
# Rust runtime used dlopen from its static lib
default_options: [
'buildtype=debugoptimized',
'warning_level=2', # TODO Move this to 3 to enable -Wpedantic
- 'cpp_std=c++20',
+ 'cpp_std=gnu++20',
],
)