• Home
  • Raw
  • Download

Lines Matching refs:we

27 # Try to enable as many C99 features as we can.
28 # At minimum, we want C++/C99-style // comments.
43 dnl include <sys/ioccom.h>, and we were to drop support for older
46 dnl in "aclocal.m4" uses it, so we would still have to test for it
47 dnl and set "HAVE_SYS_IOCCOM_H" if we have it, otherwise
103 # Do we have ffs(), and is it declared in <strings.h>?
110 # This test fails if we don't have <strings.h> or if we do
132 # If we don't find one, we just use getnetbyname(), which uses
137 # Only do the check if we have a declaration of getnetbyname_r();
138 # without it, we can't check which API it has. (We assume that
158 [define if we have the Linux getnetbyname_r()])
175 [define if we have the Solaris/IRIX getnetbyname_r()])
192 [define if we have the AIX getnetbyname_r()])
204 # If we don't find one, we just use getprotobyname(), which uses
209 # Only do the check if we have a declaration of getprotobyname_r();
210 # without it, we can't check which API it has. (We assume that
229 [define if we have the Linux getprotobyname_r()])
246 [define if we have the Solaris/IRIX getprotobyname_r()])
263 [define if we have the AIX getprotobyname_r()])
287 # OK, we have ether_hostton(). Is it declared in <net/ethernet.h>?
289 # This test fails if we don't have <net/ethernet.h> or if we do
307 # This test fails if we don't have <netinet/ether.h>
308 # or if we do but it doesn't declare ether_hostton().
310 # Unset ac_cv_have_decl_ether_hostton so we don't
332 # This test fails if we don't have <sys/ethernet.h>
333 # or if we do but it doesn't declare ether_hostton().
335 # Unset ac_cv_have_decl_ether_hostton so we don't
356 # This test fails if we don't have <arpa/inet.h>
357 # (if we have ether_hostton(), we should have
358 # networking, and if we have networking, we should
359 # have <arapa/inet.h>) or if we do but it doesn't
362 # Unset ac_cv_have_decl_ether_hostton so we don't
383 # <netinet/in.h>, and we always include it with
386 # This test fails if we don't have <netinet/if_ether.h>
387 # and the headers we include before it, or if we do but
390 # Unset ac_cv_have_decl_ether_hostton so we don't
419 # No, we'll have to declare it ourselves.
420 # Do we have "struct ether_addr" if we include
440 # OK, we have pthread.h. Do we have pthread_create in the
452 # No - do we have it in -lpthreads?
464 # No - do we have it in -lpthread?
509 # we have BPF or PF_PACKET sockets.
553 # sys/ioctl.h and, if we have it, sys/ioccom.h,
591 # Check this before DLPI, so that we pick BPF on
650 # Nothing we support.
682 # not include /lib, we add it explicitly here.
733 # Do we have the wireless extensions?
743 # Do we have libnl?
773 # Yes, we have libnl 3.x.
791 # Yes, we have libnl 2.x.
804 # No, we don't; do we have libnl 1.x?
819 # No, we don't have libnl at all.
848 # NOTE: any failure means we conclude that it doesn't have that
849 # member, so if we don't have tpacket_auxdata, we conclude it
850 # doesn't have that member (which is OK, as either we won't be
851 # using code that would use that member, or we wouldn't compile
862 # Check whether we have the *BSD-style ioctls.
867 # Check whether we have struct BPF_TIMEVAL.
916 dnl Now figure out how we get a list of interfaces and addresses,
917 dnl if we support capturing. Don't bother if we don't support
924 # We have "getifaddrs()"; make sure we have <ifaddrs.h>
929 # We have the header, so we use "getifaddrs()" to
936 # XXX - we could also fall back on some other
938 # problem so that we can at least try to figure
941 # we can do on those systems.
947 # Well, we don't have "getifaddrs()", at least not with the
948 # libraries with which we've decided we need to link
949 # libpcap with, so we have to use some other mechanism.
952 # getifaddrs(), but in -lsocket, not in -lxnet, so we
953 # won't find it if we link with -lxnet, which we want
956 # For now, we use either the SIOCGIFCONF ioctl or the
957 # SIOCGLIFCONF ioctl, preferring the latter if we have
963 AC_MSG_CHECKING(whether we have SIOCGLIFCONF)
1018 # We've already made sure we have getaddrinfo above in
1043 # User requested DAG-only libpcap, so we'd better have
1116 # We assume that if we have libdag we have libdagconf,
1129 AC_MSG_ERROR([DAG requires pthreads, but we didn't find them])
1139 # User requested "dag" capture type but we couldn't
1145 # User wanted DAG support but we couldn't find it.
1167 # User requested Septel-only libpcap, so we'd better have
1185 AC_MSG_CHECKING([whether we have Septel API headers])
1216 # we couldn't find the Septel API support.
1221 # User wanted Septel support but we couldn't find it.
1246 # User requested Sniffer-only libpcap, so we'd better have
1280 AC_MSG_CHECKING(whether we have Myricom Sniffer API)
1296 # We found a header; make sure we can link with the library
1323 # we couldn't find the Sniffer API support.
1400 # User wanted Turbo support but we couldn't find it.
1424 AC_MSG_ERROR([rpcapd requires pthreads, but we didn't find them])
1428 # Do we have it in the system libraries?
1433 # No. Do we have it in -lcrypt?
1443 AC_MSG_ERROR([rpcapd requires crypt(), but we didn't find it])
1448 # OK, we have crypt(). Do we have getspnam()?
1560 # libpcap in question, but we also build a shared library as
1570 # If we're using DLPI, applications will need to
1571 # use /lib/pse.exp if present, as we use the
1584 # If we're using BPF, we need "-lodm" and "-lcfg", as
1585 # we use them to load the BPF module.
1791 # Make sure errno is thread-safe, in case we're called in
1850 # NOTE: any failure means we conclude that it doesn't have that member,
1851 # so if we don't have DLPI, don't have a <sys/dlpi_ext.h> header, or
1852 # have one that doesn't declare a dl_hp_ppa_info_t type, we conclude
1853 # it doesn't have that member (which is OK, as either we won't be
1854 # using code that would use that member, or we wouldn't compile in
1917 # Do we have a version of <linux/compiler.h> available?
1918 # If so, we might need it for <linux/usbdevice_fs.h>.
1948 # This just uses BPF in FreeBSD 8.4 and later; we don't need
1976 AC_MSG_CHECKING(whether we can compile the netfilter support)
2019 AC_MSG_CHECKING(whether we can compile the netmap support)
2057 # We have bluetooth.h, so we support Bluetooth
2101 # We don't have bluetooth.h, so we don't support
2229 # function in infiniband/verbs.h, so we can't