diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-04-30 15:28:06 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-04-30 15:28:06 -0700 |
commit | 6b9e3a5a85a3a37253c36006f536f3db182d6293 (patch) | |
tree | b24bab70b4ce57aefece11fa89e00a66060b7226 /config.h.in | |
parent | 5d6d557df4594450440f334fe92a5eddefb9931b (diff) | |
download | tcpdump-6b9e3a5a85a3a37253c36006f536f3db182d6293.tar.gz |
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.
Diffstat (limited to 'config.h.in')
-rw-r--r-- | config.h.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in index 4cdb31b7..7ac47c0d 100644 --- a/config.h.in +++ b/config.h.in @@ -28,6 +28,9 @@ /* Define to 1 if you have the `getnameinfo' function. */ #undef HAVE_GETNAMEINFO +/* Define to 1 if you have the `getopt_long' function. */ +#undef HAVE_GETOPT_LONG + /* define if you have getrpcbynumber() */ #undef HAVE_GETRPCBYNUMBER |