Wireshark-commits: [Wireshark-commits] master-1.12 a8f5bbe: Check for getopt_long(), not getopt().
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=a8f5bbedf14d73b8e57c6d1662d58bfd753b63f3
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-1.12
Repository: wireshark
Commits:
a8f5bbe 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: I642f28202e0b36d2a56a71a80e7c9bd7d6140ba6
Reviewed-on: https://code.wireshark.org/review/6047
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
Actions performed:
from 144655e Include wsgetopt.c based on whether getopt() is present.
adds a8f5bbe Check for getopt_long(), not getopt().
Summary of changes:
ConfigureChecks.cmake | 2 +-
capinfos.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 +-
16 files changed, 23 insertions(+), 21 deletions(-)