From: W.C.A. Wijngaards Date: Wed, 2 Feb 2022 13:47:57 +0000 (+0100) Subject: - Fix docker splint test to use more portable uname. X-Git-Tag: release-1.15.0rc1~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=893fb4d54b7c1174b70317fd30ba46971cf5bdcb;p=thirdparty%2Funbound.git - Fix docker splint test to use more portable uname. --- diff --git a/configure b/configure index 2e640c9ba..48f9c2d02 100755 --- a/configure +++ b/configure @@ -17941,7 +17941,7 @@ if test "`uname`" = "NetBSD"; then fi -if test "`uname -o`" = "GNU/Linux"; then +if test "`uname`" = "Linux"; then # splint cannot parse modern c99 header files GCC_DOCKER_LINTFLAGS='-syntax' diff --git a/configure.ac b/configure.ac index 5314b2e4e..5c7da1978 100644 --- a/configure.ac +++ b/configure.ac @@ -816,7 +816,7 @@ if test "`uname`" = "NetBSD"; then AC_SUBST(NETBSD_LINTFLAGS) fi -if test "`uname -o`" = "GNU/Linux"; then +if test "`uname`" = "Linux"; then # splint cannot parse modern c99 header files GCC_DOCKER_LINTFLAGS='-syntax' AC_SUBST(GCC_DOCKER_LINTFLAGS) diff --git a/doc/Changelog b/doc/Changelog index be4b9bfd0..e554d2cf9 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -13,6 +13,7 @@ since it changes the aggressive-nsec default and the ratelimit change. - Fix header comment for doxygen for authextstrtoaddr. - please clang analyzer for loop in test code. + - Fix docker splint test to use more portable uname. 1 February 2022: George - Merge PR #603 from fobser: Use OpenSSL 1.1 API to access DSA and RSA