• Home
  • Raw
  • Download

Lines Matching refs:we

5 # neither do we with autotools; don't do so with CMake, either, and
17 # Try to enable as many C99 features as we can.
18 # At minimum, we want C++/C99-style // comments.
24 # so, unless and until we require CMake 3.1 or later, we have to do it
25 # ourselves on pre-3.1 CMake, so we just do it ourselves on all versions
32 # support for HP C. Therefore, even if we use CMAKE_C_STANDARD with
33 # compilers for which CMake supports it, we may still have to do it
40 # doesn't support the C99 features we need at all, or it supports them
45 # that we use; if we ever have a user who tries to compile with a compiler
46 # that can't be made to support those features, we can add a test to make
47 # sure we actually *have* C99 support.
67 # so we use -qlanglvl=extc99.
118 # can explicitly specify it and, if they don't, we'll pick an
140 # for the OS on which we're doing the build.
304 # Check whether we have the NPcap PacketIsLoopbackAdapter()
408 # getaddrinfo() and getnameinfo(). On UN*X systems, we also prefer
410 # so that we can check whether a datagram received with recvmsg() was
417 # Under Solaris, we need to link with libsocket and libnsl to get
418 # getaddrinfo() and getnameinfo() and, if we have libxnet, we need to
422 # We use getaddrinfo() because we want a portable thread-safe way
428 # that's been set, it skips the test, so we need different variables.
464 # OK, we found it in libsocket.
475 # OK, do we have recvmsg() in libxnet?
490 # DLPI needs putmsg under HPUX so test for -lstr while we're at it
503 # If we don't find one, we just use getnetbyname(), which uses
508 # Only do the check if we have a declaration of getnetbyname_r();
509 # without it, we can't check which API it has. (We assume that
568 # If we don't find one, we just use getprotobyname(), which uses
573 # Only do the check if we have a declaration of getprotobyname_r();
574 # without it, we can't check which API it has. (We assume that
634 # so we use check_type_size() and ignore the size.
656 # Do we have ffs(), and is it declared in <strings.h>?
661 # OK, we have ffs(). Is it declared in <strings.h>?
663 # This test fails if we don't have <strings.h> or if we do
670 # This requires the libraries that we require, as ether_hostton might be
671 # in one of those libraries. That means we have to do this after
672 # we check for those libraries.
690 # OK, we have ether_hostton(). Is it declared in <net/ethernet.h>?
692 # This test fails if we don't have <net/ethernet.h> or if we do
698 # Yes - we have it declared.
709 # This test fails if we don't have <netinet/ether.h>
710 # or if we do but it doesn't declare ether_hostton().
715 # Yes - we have it declared.
727 # This test fails if we don't have <sys/ethernet.h>
728 # or if we do but it doesn't declare ether_hostton().
733 # Yes - we have it declared.
745 # This test fails if we don't have <arpa/inet.h>
746 # or if we do but it doesn't declare ether_hostton().
751 # Yes - we have it declared.
763 # <netinet/in.h>, and we always include it with
766 # This test fails if we don't have <netinet/if_ether.h>
767 # and the headers we include before it, or if we do but
773 # Yes - we have it declared.
783 # No, we'll have to declare it ourselves.
784 # Do we have "struct ether_addr" if we include <netinet/if_ether.h>?
788 # so we use check_type_size() and ignore the size.
830 # We might need them, because some libraries we use might use them,
831 # but we don't necessarily need them.
832 # That's only on UN*X; on Windows, if they use threads, we assume
840 # If it's not pthreads, we won't use it; we use it for libraries
880 # which we need to link libpcap, if any.
891 # Check whether we have packet.dll.
901 # We don't have any capture type we know about, so just use
912 # Figure out what type of packet capture mechanism we have, and
913 # what libraries we'd need to link libpcap with, if any.
941 # sys/ioctl.h and, if we have it, sys/ioccom.h,
971 # Check this before DLPI, so that we pick BPF on
1012 # Nothing we support.
1052 # not include /lib, we add it explicitly here.
1076 # so we use check_type_size() and ignore the size.
1084 # Do we have the wireless extensions?
1090 # Do we have libnl?
1102 # Yes, we have libnl 3.x.
1119 # Yes, we have libnl 2.x.
1127 # No, we don't; do we have libnl 1.x?
1148 # so we use check_type_size() and ignore the size.
1158 # Check whether we have the *BSD-style ioctls.
1163 # Check whether we have struct BPF_TIMEVAL.
1167 # so we use check_type_size() and ignore the size.
1187 # Now figure out how we get a list of interfaces and addresses,
1188 # if we support capturing. Don't bother if we don't support
1193 # UN*X - figure out what type of interface list mechanism we
1196 # If the capture type is null, that means we can't capture,
1197 # so we can't open any capture devices, so we won't return
1207 # It's not in the libraries that, at this point, we've
1208 # found we need to link libpcap with.
1211 # as long as we're not linking with libxnet, check there.
1215 # so we need different variables.
1227 # We have "getifaddrs()"; make sure we have <ifaddrs.h>
1235 # We have the header, so we use "getifaddrs()" to
1242 # XXX - we could also fall back on some other
1244 # problem so that we can at least try to figure
1247 # we can do on those systems.
1253 # Well, we don't have "getifaddrs()", at least not with the
1254 # libraries with which we've decided we need to link
1255 # libpcap with, so we have to use some other mechanism.
1258 # getifaddrs(), but in -lsocket, not in -lxnet, so we
1259 # won't find it if we link with -lxnet, which we want
1262 # For now, we use either the SIOCGIFCONF ioctl or the
1263 # SIOCGLIFCONF ioctl, preferring the latter if we have
1291 # On FreeBSD, it uses BPF, so we don't need to do anything special here.
1298 # Do we have a version of <linux/compiler.h> available?
1299 # If so, we might need it for <linux/usbdevice_fs.h>.
1413 # Yes, so we can also support Bluetooth monitor
1470 # Did we succeed?
1508 # Do we have the msg.h header?
1534 # Did we succeed?
1555 # Did we succeed?
1575 # We need to include ftmacros.h on some platforms, to make sure we
1580 # won't check the current directory, so we add the top-level
1581 # source directory to the list of include directories when we do
1598 # Check and add warning options if we have a .devel file.
1608 # front end and their code generator ("Clang/C2"), so we
1626 # In theory, we care whether somebody uses f() rather than
1629 # that appear to do that, so we squelch that warning.
1633 # Windows FD_SET() generates this, so we suppress it.
1639 # not, and Microsoft does that in its headers, so we squelch
1645 # we don't want warnings about that, either.
1655 # We do *not* care whether we're adding padding bytes after
1685 # Suppress some warnings we get with MSVC even without /Wall.
1689 # Yes, we have some functions that never return but that
1710 # XXX - we don't use ADD_COMPILER_EXPORT_FLAGS, because, as of CMake
1823 # If we're using BPF, we need libodm and libcfg, as
1824 # we use them to load the BPF module.
1878 # Make sure errno is thread-safe, in case we're called in
1909 # Add subdirectories after we've set various variables, so they pick up
2236 # For each section of the manual for which we have man pages