From d32a6e0aa4cc4a16df486b02e17961f8ea900460 Mon Sep 17 00:00:00 2001 From: Patrik Lundin Date: Thu, 3 Aug 2017 21:13:34 +0200 Subject: [PATCH] Replace another "test" with "expr". Error message seen on OpenBSD: === ./configure[16315]: test: >: unexpected operator/operand === Another instance of this problem was fixed previously: https://github.com/isc-projects/kea/pull/25 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 6989c00bb7..562fc1967c 100644 --- a/configure.ac +++ b/configure.ac @@ -223,7 +223,7 @@ fi AC_SUBST(WARNING_GCC_44_STRICT_ALIASING_CFLAG) CPPP="$CPP" # gcc 5 preprocessor requires -P for checking its output -if test "$CXX_DUMP_VERSION" \> "5"; then +if expr "$CXX_DUMP_VERSION" \> "5" > /dev/null; then CPPP="$CPP -P" fi -- 2.47.2