Lines Matching full:we
36 # LIBS: inherited from the environment; we add libraries required by
40 # we're finished doing configuration tests for the modules.
66 # or libpcap.pc, as, in all platforms on which we run, if a dynamic
107 # We require C99 or later.
124 # We only need a C++ compiler for Haiku; all code except for its
137 # We have to use different data types, because the results of
138 # a test are cached, so if we test for the size of a given type
140 # We trick autoconf by testing the size of a "void *" in C and a
171 dnl include <sys/ioccom.h>, and we were to drop support for older
174 dnl in "aclocal.m4" uses it, so we would still have to test for it
175 dnl and set "HAVE_SYS_IOCCOM_H" if we have it, otherwise
202 # We have strerror_r; if we define _GNU_SOURCE, is it a
236 # We don't have strerror_r; do we have _wcserror_s?
247 # Make sure we have vsnprintf() and snprintf(); we require them.
283 # Do we have ffs(), and is it declared in <strings.h>?
288 # We have ffs(); is it declared in <strings.h>?
290 # This test fails if we don't have <strings.h> or if we do
312 # If we don't find one, we just use getnetbyname(), which uses
317 # Only do the check if we have a declaration of getnetbyname_r();
318 # without it, we can't check which API it has. (We assume that
338 [define if we have the Linux getnetbyname_r()])
355 [define if we have the Solaris/IRIX getnetbyname_r()])
372 [define if we have the AIX getnetbyname_r()])
384 # If we don't find one, we just use getprotobyname(), which uses
389 # Only do the check if we have a declaration of getprotobyname_r();
390 # without it, we can't check which API it has. (We assume that
409 [define if we have the Linux getprotobyname_r()])
426 [define if we have the Solaris/IRIX getprotobyname_r()])
443 [define if we have the AIX getprotobyname_r()])
467 # OK, we have ether_hostton(). Is it declared in <net/ethernet.h>?
469 # This test fails if we don't have <net/ethernet.h> or if we do
487 # This test fails if we don't have <netinet/ether.h>
488 # or if we do but it doesn't declare ether_hostton().
490 # Unset ac_cv_have_decl_ether_hostton so we don't
512 # This test fails if we don't have <sys/ethernet.h>
513 # or if we do but it doesn't declare ether_hostton().
515 # Unset ac_cv_have_decl_ether_hostton so we don't
536 # This test fails if we don't have <arpa/inet.h>
537 # (if we have ether_hostton(), we should have
538 # networking, and if we have networking, we should
539 # have <arpa/inet.h>) or if we do but it doesn't
542 # Unset ac_cv_have_decl_ether_hostton so we don't
563 # <netinet/in.h>, and we always include it with
566 # This test fails if we don't have <netinet/if_ether.h>
567 # and the headers we include before it, or if we do but
570 # Unset ac_cv_have_decl_ether_hostton so we don't
599 # No, we'll have to declare it ourselves.
600 # Do we have "struct ether_addr" if we include
620 # OK, we have pthread.h. Do we have pthread_create in the
632 # No - do we have it in -lpthreads?
644 # No - do we have it in -lpthread?
665 # We didn't find pthread.h.
689 # we have BPF or PF_PACKET sockets.
713 # We need:
723 # sys/ioctl.h and, if we have it, sys/ioccom.h,
763 # Check this before DLPI, so that we pick BPF on
769 # We have BPF, so build valgrindtest with "make test"
822 # Nothing we support.
834 # Do we have pkg-config?
839 # Do we have the brew command from Homebrew?
848 # there are two separate .pc files, so if we're doing a 32-bit build we
849 # should make sure we look in /usr/lib/pkgconfig for .pc files and if
850 # we're doing a 64-bit build we should make sure we look in
916 # not include /lib, we add it explicitly here.
1007 # Do we have the wireless extensions?
1017 # Do we have libnl?
1018 # We only want version 3. Version 2 was, apparently,
1021 # these days, everybody's using version 3. We're
1045 # OK, either we don't have pkg-config or there
1066 # Yes, we have libnl 3.x.
1075 # No, we don't have libnl at all.
1089 # NOTE: any failure means we conclude that it doesn't have that
1090 # member, so if we don't have tpacket_auxdata, we conclude it
1091 # doesn't have that member (which is OK, as either we won't be
1092 # using code that would use that member, or we wouldn't compile
1108 # Check whether we have the *BSD-style ioctls.
1113 # Check whether we have struct BPF_TIMEVAL.
1200 dnl Now figure out how we get a list of interfaces and addresses,
1201 dnl if we support capturing. Don't bother if we don't support
1208 # We have "getifaddrs()"; make sure we have <ifaddrs.h>
1213 # We have the header, so we use "getifaddrs()" to
1219 # We don't have the header - give up.
1220 # XXX - we could also fall back on some other
1222 # problem so that we can at least try to figure
1225 # we can do on those systems.
1231 # Well, we don't have "getifaddrs()", at least not with the
1232 # libraries with which we've decided we need to link
1233 # libpcap with, so we have to use some other mechanism.
1236 # getifaddrs(), but in -lsocket, not in -lxnet, so we
1237 # won't find it if we link with -lxnet, which we want
1240 # For now, we use either the SIOCGIFCONF ioctl or the
1241 # SIOCGLIFCONF ioctl, preferring the latter if we have
1247 AC_MSG_CHECKING(whether we have SIOCGLIFCONF)
1292 # We've already made sure we have getaddrinfo above in
1317 # User requested DAG-only libpcap, so we'd better have
1391 # We assume that if we have libdag we have
1408 # We assume that if we have libdag we have libdagconf,
1422 AC_MSG_ERROR([DAG requires pthreads, but we didn't find them])
1433 # User requested "dag" capture type but we couldn't
1439 # User wanted DAG support but we couldn't find it.
1462 # User requested Septel-only libpcap, so we'd better have
1480 AC_MSG_CHECKING([whether we have Septel API headers])
1511 # we couldn't find the Septel API support.
1516 # User wanted Septel support but we couldn't find it.
1541 # User requested Sniffer-only libpcap, so we'd better have
1575 AC_MSG_CHECKING(whether we have Myricom Sniffer API)
1598 # We found a header; make sure we can link with the library
1626 # we couldn't find the Sniffer API support.
1705 # User wanted Turbo support but we couldn't find it.
1730 AC_MSG_ERROR([rpcapd requires pthreads, but we didn't find them])
1734 # Do we have it in the system libraries?
1739 # No. Do we have it in -lcrypt?
1749 AC_MSG_ERROR([rpcapd requires crypt(), but we didn't find it])
1754 # OK, we have crypt(). Do we have getspnam()?
1773 # Optionally, we may want to support SSL.
1776 # First, try looking for it with pkg-config, if we have it.
1786 # to PKG_CONFIG_PATH. (No, we can't just assume it's under
1801 # We found OpenSSL/libressl.
1809 # If it wasn't found, and we have Homebrew installed, see
1819 # the formula is installed or not, so we
1826 # directory. (No, we can't just assume it's
1844 # exist, check if it's in /usr/local. (We check whether they
1849 # We include the standard include file to 1) make sure that
1860 AC_MSG_CHECKING(whether we have OpenSSL/libressl in /usr/local that we can use)
1884 # We include the standard include file to 1) make sure that
1894 AC_MSG_CHECKING(whether we have a system OpenSSL/libressl that we can use)
1915 # OK, did we find it?
1985 # If it's Bison, we do not want -y, as 1) we will be using -o to cause
1986 # the output for XXX.y to be written to XXX.c and 2) we don't want
1987 # it to issue warnings about stuff not supported by POSIX YACC - we
1989 # it or not, we require either Bison or Berkeley YACC.
1998 # We found Bison.
2014 # We didn't find Bison; check for Berkeley YACC, under the
2044 # OK, we found neither byacc nor yacc.
2081 # because they're *both* ".a" archive libraries. We
2085 # libpcap in question, but we also build a shared library as
2095 # If we're using DLPI, applications will need to
2096 # use /lib/pse.exp if present, as we use the
2109 # If we're using BPF, we need "-lodm" and "-lcfg", as
2110 # we use them to load the BPF module.
2224 # We check whether we *can* build for i386 and,
2244 # only configure 32-bit builds if we
2301 # If we're building with libssl, make sure
2302 # we can build fat with it (i.e., that it
2303 # was built fat); if we can't, don't set
2305 # build for the host we're on.
2449 # Make sure errno is thread-safe, in case we're called in
2450 # a multithreaded program. We don't guarantee that two
2518 # NOTE: any failure means we conclude that it doesn't have that member,
2519 # so if we don't have DLPI, don't have a <sys/dlpi_ext.h> header, or
2520 # have one that doesn't declare a dl_hp_ppa_info_t type, we conclude
2521 # it doesn't have that member (which is OK, as either we won't be
2522 # using code that would use that member, or we wouldn't compile in
2565 # Do we have a version of <linux/compiler.h> available?
2566 # If so, we might need it for <linux/usbdevice_fs.h>.
2605 AC_MSG_CHECKING(whether we can compile the netfilter support)
2645 AC_MSG_CHECKING(whether we can compile the netmap support)
2683 # User requested DPDK-only libpcap, so we'd better have
2701 # so see if we have it.
2703 # We only try to find it using pkg-config; DPDK is *SO*
2711 # so we're just not going to do it.
2713 # If that causes a problem, the only thing we will do is
2721 # to PKG_CONFIG_PATH, so we look for the .pc file there,
2735 # Did we find DPDK?
2741 # We call rte_eth_dev_count_avail(), and older versions
2753 # We found a usable DPDK.
2770 # We can build with DPDK.
2782 # We didn't find a usable DPDK.
2783 # If we required it (with --with-dpdk or --with-pcap=dpdk),
2790 # Not found with pkg-config. Note that we
2800 we couldn't find DPDK with pkg-config. Make sure that pkg-config is
2811 [DPDK support requested with --with-dpdk, but we
2819 # or not; just warn why we didn't find it.
2822 [We couldn't find DPDK with pkg-config. If
2828 # Found with pkg-config, but we couldn't compile
2829 # a program that calls rte_eth_dev_count(); we
2832 # of DPDK. Note that we need a sufficiently
2840 [DPDK support requested with --with-pcap=dpdk, but we
2852 we can't compile libpcap with DPDK. Make sure that DPDK 18.02.2
2858 # or not; just warn why we didn't find it.
2861 [DPDK was found, but we can't compile libpcap with it.
2886 # We have bluetooth.h, so we support Bluetooth
2930 # We don't have bluetooth.h, so we don't support
2968 # We don't support D-Bus sniffing on macOS; see
2981 # We don't support D-Bus sniffing on macOS; see
3062 # we should only use pkg-config for it.
3076 # function in infiniband/verbs.h, so we can't
3120 # If this is a platform where we need to have the .pc file and
3123 # prefix /usr (meaning we're not installing a system library), provide
3126 # (We must check $prefix, as $libdir isn't necessarily /usr/lib in this
3132 # In AIX, do we have to do this?
3135 # which the program was linked are stored in the executable, so we don't
3139 # added to the run-time search path, so we don't need to supply them.
3148 # a GCC-compatible compiler and a vendor compiler, we need to work with
3195 # We're done with configuration operations; add ADDITIONAL_LIBS and