• Home
  • Raw
  • Download

Lines Matching +full:libressl +full:- +full:version

17 AC_INIT([tcpdump],[m4_esyscmd_s(cat VERSION)])
25 # At minimum, we want C++/C99-style // comments.
36 # Get the size of a void *, to know whether this is a 32-bit or 64-bit build.
41 # Get the size of a time_t, to know whether it's 32-bit or 64-bit.
49 AS_HELP_STRING([--disable-universal],[don't build universal on macOS]))
55 # Leopard. Build for x86 and 32-bit PowerPC, with
58 V_CCOPT="$V_CCOPT -arch i386 -arch ppc"
59 LDFLAGS="$LDFLAGS -arch i386 -arch ppc"
64 # Snow Leopard. Build for x86-64 and x86, with
65 # x86-64 first. (That's what Apple does.)
67 V_CCOPT="$V_CCOPT -arch x86_64 -arch i386"
68 LDFLAGS="$LDFLAGS -arch x86_64 -arch i386"
76 # Do we have pkg-config?
86 [AS_HELP_STRING([--with-smi],
104 LIBS="-lsmi $LIBS"
122 if (required < current - age || required > current)
141 1) AC_MSG_RESULT(no - smiInit failed) ;;
142 2) AC_MSG_RESULT(no - header/library version mismatch) ;;
143 3) AC_MSG_RESULT(no - can't determine library version) ;;
144 4) AC_MSG_RESULT(no - too old) ;;
150 AC_MSG_RESULT(not when cross-compiling)
159 AC_ARG_ENABLE([instrument-functions],
160 [AS_HELP_STRING([--enable-instrument-functions],
169 …[--enable-instrument-functions was given, but test for library libbfd failed. Please install the '…
173 LOCALSRC="$LOCALSRC instrument-functions.c"
174 # Add '-finstrument-functions' instrumentation option to generate
177 CFLAGS="$CFLAGS -O0 -ggdb -finstrument-functions -fno-stack-protector -fno-pic"
178 LDFLAGS="$LDFLAGS -O0 -ggdb -fno-stack-protector -no-pie"
179 LIBS="$LIBS -lbfd"
185 AC_MSG_CHECKING([whether to enable the possibly-buggy SMB printer])
187 [AS_HELP_STRING([--enable-smb],
188 [enable possibly-buggy SMB printer [default=no]])],
194 [define if you want to build the possibly-buggy SMB printer])
195 LOCALSRC="print-smb.c smbutil.c $LOCALSRC"
204 [AS_HELP_STRING([--with-user=USERNAME],
211 [''|yes], [AC_MSG_ERROR([--with-user requires a username])],
222 [AS_HELP_STRING([--with-chroot=DIRECTORY],
230 [''|yes], [AC_MSG_ERROR([--with-chroot requires a directory])],
238 AC_ARG_WITH(sandbox-capsicum,
239 AS_HELP_STRING([--with-sandbox-capsicum],
253 # XXX - do we need to check for all of them, or are there some that, if
256 if test -z "$with_sandbox_capsicum" || test "$with_sandbox_capsicum" != "no" ; then
269 AC_CHECK_LIB(casper, cap_init, LIBS="$LIBS -lcasper")
270 AC_CHECK_LIB(cap_dns, cap_gethostbyaddr, LIBS="$LIBS -lcap_dns")
273 if test "x$ac_lbl_capsicum_function_seen" = "xyes" -a "x$ac_lbl_capsicum_function_not_seen" != "xye…
280 if test "x$ac_cv_lib_casper_cap_init" = "xyes" -a "x$ac_cv_lib_cap_dns_cap_gethostbyaddr" = "xyes";…
343 for i in inria kame linux-glibc linux-libinet6 toshiba v6d zeta; do
366 linux-glibc)
375 linux-libinet6)
381 if test -d /usr/inet6 -o -f /usr/include/netinet/ip6.h; then
386 CFLAGS="-I/usr/inet6/include $CFLAGS"
408 CFLAGS="-I/usr/local/v6/include $CFLAGS"])
428 if test "$ipv6" = "yes" -a "$ipv6lib" != "none"; then
429 if test -d $ipv6libdir -a -f $ipv6libdir/lib$ipv6lib.a; then
430 LIBS="-L$ipv6libdir -l$ipv6lib $LIBS"
464 # Testing the 64-bit conversion specifiers in addition to that requires the
486 snprintf(buf, sizeof(buf), "%zd", -sizeof(buf));
487 if (strncmp(buf, "-100", sizeof(buf)))
490 snprintf(buf, sizeof(buf), "%" PRId64, -t);
491 if (strncmp(buf, "-4294967296", sizeof(buf)))
520 AC_MSG_RESULT(not while cross-compiling)
524 AC_CHECK_LIB(rpc, main) dnl It's unclear why we might need -lrpc
526 dnl Some platforms may need -lnsl for getrpcbynumber.
534 # libraries (e.g., "-lsocket -lnsl" on Solaris).
569 [ac_cv_buggy_ether_ntohost="not while cross-compiling"])])
575 if test "$ac_cv_func_ether_ntohost" = yes -a \
726 dnl Check for "pcap_list_datalinks()" and use a substitute version if
730 dnl built with one version of the MSVC support library tries to free
731 dnl something allocated by a library built with another version of
746 dnl version if it's not present. If it is present, check for
748 dnl use a substitute version.
824 # why we don't check for remote-capture APIs if we're building
938 # Check whether we have pcap/pcap-inttypes.h.
941 AC_CHECK_HEADERS(pcap/pcap-inttypes.h)
951 # Define the old BSD specified-width types in terms of the C99 types;
984 # Check for OpenSSL/libressl libcrypto
985 AC_MSG_CHECKING(whether to use OpenSSL/libressl libcrypto)
989 AS_HELP_STRING([--with-crypto]@<:@=DIR@:>@,
990 …[use OpenSSL/libressl libcrypto (located in directory DIR, if specified) @<:@default=yes, if avail…
1008 AC_MSG_RESULT([yes, using the version installed in $withval])
1022 if test -z "$libcrypto_root"; then
1026 # First, try looking for it with pkg-config, if we have it.
1028 # Homebrew's pkg-config does not, by default, look for
1029 # pkg-config files for packages it has installed.
1031 # dumped in package-specific directories whose paths are
1032 # not only package-specific but package-version-specific.
1035 # PKG_CONFIG_PATH from "brew --env openssl" and add that
1040 # That's the nice thing about Homebrew - it makes things easier!
1044 if test -n "$BREW"; then
1045 openssl_pkgconfig_dir=`$BREW --env --plain openssl | sed -n 's/PKG_CONFIG_PATH: //p'`
1051 # We found OpenSSL/libressl libcrypto.
1061 if test "x$HAVE_LIBCRYPTO" != "xyes" -a -n "$BREW"; then
1065 # $BREW --prefix --installed <formula>
1074 if $BREW --prefix --installed openssl >/dev/null 2>&1; then
1083 openssl_path=`$BREW --prefix openssl`
1084 LIBCRYPTO_CFLAGS="-I$openssl_path/include"
1085 LIBCRYPTO_LIBS="-L$openssl_path/lib -lcrypto"
1105 if test "x$HAVE_LIBCRYPTO" != "xyes" -a -d "/usr/local/include" -a -d "/usr/local/lib"; then
1107 CFLAGS="$CFLAGS -I/usr/local/include"
1108 LIBS="$LIBS -L/usr/local/lib -lcrypto"
1109 AC_MSG_CHECKING(whether we have an OpenSSL/libressl libcrypto in /usr/local that we can use)
1121 LIBCRYPTO_CFLAGS="-I/usr/local/include"
1122 LIBCRYPTO_LIBS="-L/usr/local/lib -lcrypto"
1135 # as a shared library but doesn't provide headers - Apple,
1145 LIBS="$LIBS -lcrypto"
1146 AC_MSG_CHECKING(whether we have a system OpenSSL/libressl that we can use)
1158 LIBCRYPTO_LIBS="-lcrypto"
1170 CFLAGS="$CFLAGS -I$libcrypto_root/include"
1171 LIBS="$LIBS -L$libcrypto_root/lib -lcrypto"
1172 AC_MSG_CHECKING(whether we have a system OpenSSL/libressl that we can use)
1184 LIBCRYPTO_CFLAGS="-I$libcrypto_root/include"
1185 LIBCRYPTO_LIBS="-L$libcrypto_root/lib -lcrypto"
1195 AC_DEFINE([HAVE_LIBCRYPTO], [1], [Define to 1 if you have a usable `crypto' library (-lcrypto).])
1200 # make sure they come after any -I or -L flags for
1201 # a local libpcap - those must take precedence of any
1202 # directory that might contain an installed version of
1228 AC_MSG_NOTICE(OpenSSL/libressl libcrypto not found)
1232 # Check for libcap-ng
1233 AC_MSG_CHECKING(whether to use libcap-ng)
1237 AS_HELP_STRING([--with-cap-ng],
1238 [use libcap-ng @<:@default=yes, if available@:>@]),
1251 # Use libcap-ng if it's present, otherwise don't.
1257 AC_CHECK_LIB(cap-ng, capng_change_id)
1258 AC_CHECK_HEADERS(cap-ng.h)
1264 CPPFLAGS="$CPPFLAGS -I$srcdir/missing"
1265 V_INCLS="$V_INCLS -I$srcdir/missing"
1280 AC_CONFIG_COMMANDS([.devel],[[if test -f .devel; then
1281 echo timestamp > stamp-h
1282 cat $srcdir/Makefile-devel-adds >> Makefile