--- embedaddon/arping/configure.ac 2014/06/15 16:26:43 1.1.1.2 +++ embedaddon/arping/configure.ac 2016/10/18 13:16:10 1.1.1.3 @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ(2.61) -AC_INIT(arping, 2.13, thomas@habets.se) +AC_INIT(arping, 2.15, thomas@habets.se) AC_CANONICAL_SYSTEM AC_CONFIG_SRCDIR([src/arping.c]) AM_INIT_AUTOMAKE @@ -19,6 +19,7 @@ AC_PROG_MAKE_SET AC_CHECK_LIB([m], [sqrt]) AC_CHECK_LIB([socket], [socket]) AC_CHECK_LIB([nsl], [gethostbyname]) +AC_CHECK_LIB([cap], [cap_init]) AC_CHECK_LIB([rt], [clock_gettime]) AC_CHECK_LIB([net], [libnet_name_resolve], [AC_MSG_ERROR([libnet 1.0.x found. Arping 2.x requires libnet 1.1.x])]) @@ -36,10 +37,12 @@ sys/socket.h \ time.h \ sys/time.h \ sys/types.h \ +sys/capability.h \ stdint.h \ libnet.h \ win32/libnet.h \ net/bpf.h \ +pwd.h \ unistd.h]) # Libnet include file is not optional @@ -62,7 +65,7 @@ AC_FUNC_SELECT_ARGTYPES AC_FUNC_SETVBUF_REVERSED AC_TYPE_SIGNAL AC_CHECK_FUNCS([gettimeofday memset select strchr strdup strerror strstr \ -getifaddrs]) +getifaddrs cap_init pcap_create pcap_list_tstamp_types pcap_set_immediate_mode]) if test x$ac_cv_func_getifaddrs = xyes; then AC_LIBOBJ([findif_getifaddrs])