From: Wayne Davison Date: Thu, 3 Sep 2020 17:07:36 +0000 (-0700) Subject: Set CXX_OK=no when cross compiling. X-Git-Tag: v3.2.4pre1~142 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9f9240b661c5f381831b62d72b6ea928a91ff43a;p=thirdparty%2Frsync.git Set CXX_OK=no when cross compiling. --- diff --git a/configure.ac b/configure.ac index 64d2e6d6..109546a6 100644 --- a/configure.ac +++ b/configure.ac @@ -233,7 +233,7 @@ __attribute__ ((target("ssse3"))) void more_testing(char* buf, int len) in8_2 = _mm_lddqu_si128((__m128i_u*)&buf[i + 16]); } } -]], [[if (test_ssse3(42) != 42 || test_sse2(42) != 42 || test_avx2(42) != 42) exit(1);]])],[CXX_OK=yes],[CXX_OK=no]) +]], [[if (test_ssse3(42) != 42 || test_sse2(42) != 42 || test_avx2(42) != 42) exit(1);]])],[CXX_OK=yes],[CXX_OK=no],[CXX_OK=no]) AC_LANG(C) if test x"$CXX_OK" = x"yes"; then # AC_MSG_RESULT() is called below.