diff options
author | Marti Maria <marti.maria@littlecms.com> | 2022-09-12 19:11:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-12 19:11:45 +0200 |
commit | 55068d311d0a8ab6fe908d6f72ddd2132e34bb14 (patch) | |
tree | 54b71188e9e972f49a3bec5774706bedb5c71496 | |
parent | be25a63be953dbfeef41cfec42550739ba74ea63 (diff) | |
parent | 61493b49b91740a84dea61b72a8ce7dc40afa766 (diff) | |
download | lcms2-55068d311d0a8ab6fe908d6f72ddd2132e34bb14.tar.gz |
Merge pull request #338 from thesamesam/implicit-func-decls
configure.ac: fix configure tests broken with Clang 15 (-Wimplicit-int)
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 26c2b2d..5dbc03b 100644 --- a/configure.ac +++ b/configure.ac @@ -212,7 +212,7 @@ AC_LANG_PUSH([C]) AC_MSG_CHECKING([whether compiler supports SSE2]) AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ #include <emmintrin.h> - main() { __m128i n = _mm_set1_epi8(42); }]])], + int main() { __m128i n = _mm_set1_epi8(42); }]])], [ac_compiler_supports_sse2=yes], [ac_compiler_supports_sse2=no]) AC_MSG_RESULT([$ac_compiler_supports_sse2]) AS_IF([test "x$ac_compiler_supports_sse2" != "xyes"], |