Skip to content

Commit 349139b

Browse files
ArnoZellerMBaesken
authored andcommitted
8304030: Configure call fails on AIX when using --with-gtest option.
Reviewed-by: mbaesken, erikj
1 parent 714b5f0 commit 349139b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

make/autoconf/lib-tests.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ AC_DEFUN_ONCE([LIB_TESTS_SETUP_GTEST],
6161
6262
# Verify that the version is the required one.
6363
# This is a simplified version of TOOLCHAIN_CHECK_COMPILER_VERSION
64-
gtest_version="`$GREP GOOGLETEST_VERSION $GTEST_FRAMEWORK_SRC/CMakeLists.txt | $SED -E -e 's/set\(GOOGLETEST_VERSION (.*)\)/\1/'`"
64+
gtest_version="`$GREP GOOGLETEST_VERSION $GTEST_FRAMEWORK_SRC/CMakeLists.txt | $SED -e 's/set(GOOGLETEST_VERSION \(.*\))/\1/'`"
6565
comparable_actual_version=`$AWK -F. '{ printf("%05d%05d%05d%05d\n", [$]1, [$]2, [$]3, [$]4) }' <<< "$gtest_version"`
6666
comparable_minimum_version=`$AWK -F. '{ printf("%05d%05d%05d%05d\n", [$]1, [$]2, [$]3, [$]4) }' <<< "$GTEST_MINIMUM_VERSION"`
6767
if test $comparable_actual_version -lt $comparable_minimum_version ; then

0 commit comments

Comments
 (0)