Wireshark-commits: [Wireshark-commits] master 20503c7: Check for getopt_long(), not getopt().
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 25 Dec 2014 01:11:13 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=20503c70478e0f83b7cafebbbb759de801a1d53e
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

20503c7 by Guy Harris (guy@xxxxxxxxxxxx):

    Check for getopt_long(), not getopt().
    
    We support three types of platforms:
    
    	1) UN*Xes that have both getopt() and getopt_long();
    
    	2) UN*Xes that have getopt() but not getopt_long();
    
    	3) Windows, which has neither.
    
    Checking for getopt_long() lets us distinguish between 1) and 2) and
    build getopt_long() for them.
    
    Change-Id: Iaf0f142f9bebaa2eed2128d544ec9786711def45
    Reviewed-on: https://code.wireshark.org/review/6045
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  b6f70ed       NBAP: fix ddi missed for non first macdflow_id in E-DCH channel
    adds  20503c7   Check for getopt_long(), not getopt().


Summary of changes:
 ConfigureChecks.cmake |    2 +-
 capinfos.c            |    2 +-
 captype.c             |    2 +-
 cmakeconfig.h.in      |    4 ++--
 configure.ac          |    4 ++--
 dumpcap.c             |    2 +-
 editcap.c             |    2 +-
 mergecap.c            |    2 +-
 randpkt.c             |    2 +-
 rawshark.c            |    2 +-
 reordercap.c          |    2 +-
 text2pcap.c           |    2 +-
 tfshark.c             |    2 +-
 tshark.c              |    2 +-
 ui/gtk/main.c         |    2 +-
 ui/qt/main.cpp        |   10 ++++++----
 wsutil/CMakeLists.txt |    2 +-
 17 files changed, 24 insertions(+), 22 deletions(-)