wireshark-99999999-sse4_2.patch 471 B

123456789101112131415161718192021
  1. --- a/configure.ac
  2. +++ b/configure.ac
  3. @@ -1101,6 +1101,7 @@
  4. AC_SUBST(PIE_CFLAGS)
  5. AC_SUBST(PIE_LDFLAGS)
  6. +AC_ARG_ENABLE(sse4_2,[ --enable-sse4_2 Support SSE4.2 (Streaming SIMD Extensions 4.2) instructions],[
  7. WS_CFLAGS_saved="$WS_CFLAGS"
  8. AC_WIRESHARK_COMPILER_FLAGS_CHECK(-msse4.2, C)
  9. if test "x$can_add_to_cflags" = "xyes"
  10. @@ -1128,6 +1129,9 @@
  11. fi
  12. fi
  13. WS_CFLAGS="$WS_CFLAGS_saved"
  14. +],[
  15. +AC_MSG_RESULT(no)
  16. +])
  17. if test "x$ac_sse4_2_flag" != x; then
  18. #