From 893fb4d54b7c1174b70317fd30ba46971cf5bdcb Mon Sep 17 00:00:00 2001 From: "W.C.A. Wijngaards" Date: Wed, 2 Feb 2022 14:47:57 +0100 Subject: [PATCH] - Fix docker splint test to use more portable uname. --- configure | 2 +- configure.ac | 2 +- doc/Changelog | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) 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 -- 2.47.3