]> The Tcpdump Group git mirrors - tcpdump/commitdiff
regenerate
authorAli Abdulkadir <[email protected]>
Tue, 24 Oct 2017 05:17:52 +0000 (08:17 +0300)
committerAli Abdulkadir <[email protected]>
Tue, 24 Oct 2017 05:17:52 +0000 (08:17 +0300)
config.h.in
configure

index 8464d5d3656d5c5ab2aa94cea8b505334895e158..284b4629afc43f61281b9325dbd1da07b864771c 100644 (file)
@@ -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
 
index 215445d3e73332120c951c83b7c1e05ead8571e6..60a0786901cbf5cb423e84f51ca57cdd7038ab78 100755 (executable)
--- a/configure
+++ b/configure
@@ -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