Set CXX_OK=no when cross compiling.
authorWayne Davison <wayne@opencoder.net>
Thu, 3 Sep 2020 17:07:36 +0000 (10:07 -0700)
committerWayne Davison <wayne@opencoder.net>
Thu, 3 Sep 2020 17:07:36 +0000 (10:07 -0700)
configure.ac

index 64d2e6d689fda7c6271263d23cb9de9c8ea621aa..109546a66ea7985ba43a320447eb15bcd6e683e6 100644 (file)
@@ -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.