diff options
author | Ali Abdulkadir <autostart.ini@gmail.com> | 2017-10-24 08:17:52 +0300 |
---|---|---|
committer | Ali Abdulkadir <autostart.ini@gmail.com> | 2017-10-24 08:17:52 +0300 |
commit | 260ad4d1bdfdff0a542844a2e9da892ec0bfd72a (patch) | |
tree | 90c632ff305bf8119e8d3c5671eb81628e28f407 | |
parent | 2db7506730cff9a3cd771f31ce61b683210c8b31 (diff) | |
download | tcpdump-260ad4d1bdfdff0a542844a2e9da892ec0bfd72a.tar.gz |
regenerate
-rw-r--r-- | config.h.in | 3 | ||||
-rwxr-xr-x | configure | 13 |
2 files changed, 16 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in index 8464d5d3..284b4629 100644 --- a/config.h.in +++ b/config.h.in @@ -55,6 +55,9 @@ /* define if you have getrpcbynumber() */ #undef HAVE_GETRPCBYNUMBER +/* Define to 1 if you have the `getservent' function. */ +#undef HAVE_GETSERVENT + /* Define to 1 if you have the <inttypes.h> header file. */ #undef HAVE_INTTYPES_H @@ -5006,6 +5006,19 @@ esac fi +ac_fn_c_check_func "$LINENO" "getservent" "ac_cv_func_getservent" +if test "x$ac_cv_func_getservent" = xyes; then : + $as_echo "#define HAVE_GETSERVENT 1" >>confdefs.h + +else + case " $LIBOBJS " in + *" getservent.$ac_objext "* ) ;; + *) LIBOBJS="$LIBOBJS getservent.$ac_objext" + ;; +esac + +fi + ac_fn_c_check_func "$LINENO" "getopt_long" "ac_cv_func_getopt_long" if test "x$ac_cv_func_getopt_long" = xyes; then : $as_echo "#define HAVE_GETOPT_LONG 1" >>confdefs.h |