Wireshark-commits: [Wireshark-commits] master 421d817: Don't compile anything with -msse4.2 unless

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 18 Jun 2014 09:50:46 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=421d817d70737ebd459b7027274bf38bb2d9a2ff
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

421d817 by Guy Harris (guy@xxxxxxxxxxxx):

    Don't compile anything with -msse4.2 unless the compiler supports it.
    
    This includes ws_mempbrk_sse42.c; if the compiler doesn't support
    -msse4.2, HAS_SSE4_2 isn't defined, so all the stuff in
    ws_mempbrk_sse42.c that uses SSE 4.2 will be #ifdeffed out.
    
    Not all compilers with which we're built will support -msse4.2; in
    particular, the ones that aren't compiling for x86 won't....
    
    Change-Id: I69566ca06f602104b40c78b3b06fcb7dfeb054b2
    Reviewed-on: https://code.wireshark.org/review/2373
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  7939f68   Don't put c-comments into cmake files. Won't work at midnight either.
    adds  421d817   Don't compile anything with -msse4.2 unless the compiler supports it.


Summary of changes:
 configure.ac       |    2 ++
 wsutil/Makefile.am |    2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)