From 349139b2ccec57ad5d500b81b1d225af9e17a5e7 Mon Sep 17 00:00:00 2001 From: Arno Zeller Date: Wed, 15 Mar 2023 07:55:07 +0000 Subject: [PATCH] 8304030: Configure call fails on AIX when using --with-gtest option. Reviewed-by: mbaesken, erikj --- make/autoconf/lib-tests.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make/autoconf/lib-tests.m4 b/make/autoconf/lib-tests.m4 index d117a8189f9..4d771f7e5f2 100644 --- a/make/autoconf/lib-tests.m4 +++ b/make/autoconf/lib-tests.m4 @@ -61,7 +61,7 @@ AC_DEFUN_ONCE([LIB_TESTS_SETUP_GTEST], # Verify that the version is the required one. # This is a simplified version of TOOLCHAIN_CHECK_COMPILER_VERSION - gtest_version="`$GREP GOOGLETEST_VERSION $GTEST_FRAMEWORK_SRC/CMakeLists.txt | $SED -E -e 's/set\(GOOGLETEST_VERSION (.*)\)/\1/'`" + gtest_version="`$GREP GOOGLETEST_VERSION $GTEST_FRAMEWORK_SRC/CMakeLists.txt | $SED -e 's/set(GOOGLETEST_VERSION \(.*\))/\1/'`" comparable_actual_version=`$AWK -F. '{ printf("%05d%05d%05d%05d\n", [$]1, [$]2, [$]3, [$]4) }' <<< "$gtest_version"` comparable_minimum_version=`$AWK -F. '{ printf("%05d%05d%05d%05d\n", [$]1, [$]2, [$]3, [$]4) }' <<< "$GTEST_MINIMUM_VERSION"` if test $comparable_actual_version -lt $comparable_minimum_version ; then