]> The Tcpdump Group git mirrors - tcpdump/commit
Use getopt_long().
authorGuy Harris <[email protected]>
Wed, 30 Apr 2014 22:28:06 +0000 (15:28 -0700)
committerGuy Harris <[email protected]>
Wed, 30 Apr 2014 22:28:06 +0000 (15:28 -0700)
commit6b9e3a5a85a3a37253c36006f536f3db182d6293
treeb24bab70b4ce57aefece11fa89e00a66060b7226
parent5d6d557df4594450440f334fe92a5eddefb9931b
Use getopt_long().

This requires us to check for it in the configure script and to include
a version of getopt_long() for the benefit of platforms that don't have
it; we pick up the FreeBSD version and tweak it a bit (eliminating some
features specific to the BSD version of getopt_long(), as we want to use
it only in a fashion portable to Linux/*BSD/Solaris/etc.)

We also get rid of the version of getopt() we supply for Windows in
favor of the version of getopt_long() we provide.
Makefile.in
config.h.in
configure
configure.in
tcpdump.c
win32/Include/getopt.h [deleted file]
win32/Src/getopt.c [deleted file]
win32/prj/GNUmakefile
win32/prj/WinDump.dsp
win32/prj/WinDump.vcproj