Lines Matching +refs:cc +refs:check +refs:function +refs:in +refs:lib
85 # 1.8.0 had 8:0:0 # changes the event callback function signature
158 case "$prefix" in
163 case "$exec_prefix" in
306 case "$debug_enabled" in
333 AC_MSG_CHECKING(whether the C compiler (${CC-cc}) accepts the "weak" attribute)
356 AC_MSG_CHECKING(whether the C compiler (${CC-cc}) accepts the "noreturn" attribute)
369 …RN, [__attribute__((__noreturn__))], [apply the noreturn attribute to a function that exits the pr…
371 AC_DEFINE(ATTR_NORETURN,[], [apply the noreturn attribute to a function that exits the program])
379 AC_MSG_CHECKING(whether the C compiler (${CC-cc}) accepts the "fallthrough" attribute)
472 AC_CHECK_HEADERS([stdarg.h stdbool.h netinet/in.h netinet/tcp.h sys/param.h sys/select.h sys/socket…
506 #include <netinet/in.h>
530 # check for types.
571 # check to see if libraries are needed for these functions.
575 # check whether strptime also works
601 # check some functions of the OS before linking libs (while still runnable).
611 # check if we can use SO_REUSEPORT
649 # check windows threads (we use them, not pthreads, on windows).
651 # check windows threads
668 # not on mingw, check thread libraries.
670 # check for thread library.
671 # check this first, so that the pthread lib does not get linked in via
715 fi # endif cc successful
717 fi # endif -pthread in CFLAGS
722 # check solaris thread library
742 fi # end of non-mingw check of thread libraries
747 case "${UNBOUND_SYSLOG_FACILITY}" in
771 # dlopen call is in the dynlib module. For unbound executable, also
841 …if test "$PYTHON_LIBDIR" != "/usr/lib" -a "$PYTHON_LIBDIR" != "" -a "$PYTHON_LIBDIR" != "/usr/lib6…
852 …AC_ARG_ENABLE(swig-version-check, AS_HELP_STRING([--disable-swig-version-check],[Disable swig vers…
928 LDFLAGS="$LDFLAGS -L$withval/lib"
929 ACX_RUNTIME_PATH_ADD([$withval/lib])
951 LDFLAGS="$LDFLAGS -L$withval/lib"
952 ACX_RUNTIME_PATH_ADD([$withval/lib])
972 # check if -lcrypt32 is needed because CAPIENG needs that. (on windows)
993 # declared by the OS in libc. See if they have been declared.
1029 # check function return type.
1070 for func in strlcpy strlcat arc4random arc4random_uniform reallocarray; do
1081 case "$enable_sha1" in
1091 case "$enable_sha2" in
1100 case "$enable_subnet" in
1112 # check whether gost also works
1146 /* load it ourself, in case statically linked */
1152 /* no gost engine in openssl */
1176 const unsigned char check[] = {
1198 if(memcmp(digest, check, sizeof(check)) != 0)
1214 case "$enable_gost" in
1231 case "$enable_ecdsa" in
1237 # with EVP_PKEY_fromdata, check if EC is not disabled
1243 # without EVP_PKEY_fromdata, older openssl, check for support
1272 case "$enable_dsa" in
1317 case "$enable_ed25519" in
1340 case "$enable_ed448" in
1359 case "$enable_event_api" in
1369 case "$enable_tfo_client" in
1371 case "$host_os" in
1393 case "$enable_tfo_server" in
1404 # check for libevent
1405 …ELP_STRING([--with-libevent=pathname],[use libevent (will check /usr/local /opt/local /usr/lib /us…
1411 with_libevent="/usr/local /opt/local /usr/lib /usr/pkg /usr/sfw /usr"
1413 for dir in $with_libevent; do
1417 dnl assume /usr is in default path.
1427 AC_MSG_RESULT(found in $thedir)
1444 AC_MSG_ERROR([Cannot find the libevent library in $with_libevent
1450 AC_MSG_RESULT(found in $thedir)
1451 dnl if event2 exists and no event lib in dir itself, use subdir
1452 …if test ! -f $thedir/lib/libevent.a -a ! -f $thedir/lib/libevent.so -a -d "$thedir/lib/event2"; th…
1453 LDFLAGS="$LDFLAGS -L$thedir/lib/event2"
1454 ACX_RUNTIME_PATH_ADD([$thedir/lib/event2])
1456 dnl assume /usr is in default path, do not add "".
1458 LDFLAGS="$LDFLAGS -L$thedir/lib"
1459 ACX_RUNTIME_PATH_ADD([$thedir/lib])
1463 # check for library used by libevent after 1.3c
1475 AC_CHECK_FUNCS([event_base_free]) # only in libevent 1.2 and later
1476 AC_CHECK_FUNCS([event_base_once]) # only in libevent 1.4.1 and later
1477 AC_CHECK_FUNCS([event_base_new]) # only in libevent 1.4.1 and later
1478 AC_CHECK_FUNCS([event_base_get_method]) # only in libevent 1.4.3 and later
1479 AC_CHECK_FUNCS([ev_loop]) # only in libev. (tested on 3.51)
1480 AC_CHECK_FUNCS([ev_default_loop]) # only in libev. (tested on 4.00)
1481 AC_CHECK_FUNCS([event_assign]) # in libevent, for thread-safety
1498 # check for libexpat
1500 [ ],[ withval="/usr/local /opt/local /usr/lib /usr/pkg /usr/sfw /usr" ])
1503 for dir in $withval ; do
1506 dnl assume /usr is in default path.
1509 LDFLAGS="$LDFLAGS -L$dir/lib"
1511 AC_MSG_RESULT(found in $dir)
1530 withval="/usr/local /opt/local /usr/lib /usr/pkg /usr/sfw /usr"
1532 for dir in $withval ; do
1535 dnl assume /usr is in default path.
1538 LDFLAGS="$LDFLAGS -L$dir/lib"
1540 AC_MSG_RESULT(found in $dir)
1562 withval="/usr/local /opt/local /usr/lib /usr/pkg /usr/sfw /usr"
1564 for dir in $withval ; do
1567 dnl assume /usr is in default path.
1570 LDFLAGS="$LDFLAGS -L$dir/lib"
1572 AC_MSG_RESULT(found in $dir)
1594 withval="/usr/local /opt/local /usr/lib /usr/pkg /usr/sfw /usr"
1596 for dir in $withval ; do
1599 dnl assume /usr is in default path.
1602 LDFLAGS="$LDFLAGS -L$dir/lib"
1604 AC_MSG_RESULT(found in $dir)
1623 …AC_CHECK_FUNCS([SSL_is_quic], [], [AC_MSG_ERROR([No QUIC support detected in OpenSSL. Need OpenSSL…
1691 AC_ARG_ENABLE(lock_checks, AS_HELP_STRING([--enable-lock-checks],[ enable to check lock and unlock …
1732 # check after getaddrinfo for its libraries
1765 #include <netinet/in.h>
1818 # check if setreuid en setregid fail, on MacOSX10.4(darwin8).
1844 #include <netinet/in.h>
1918 case "$host" in
1930 # this lib needed for sha2 on solaris
1941 AC_DEFINE([COMPAT_SHA512], [1], [Do sha512 definitions in config.h])
1959 case "$enable_allsymbols" in
1992 # check for dnstap if requested
2012 # check for dnscrypt if requested
2025 # check for cachedb if requested
2029 case "$enable_cachedb" in
2040 # check for ipsecmod if requested
2042 case "$enable_ipsecmod" in
2055 # check for ipset if requested
2057 case "$enable_ipset" in
2073 withval="/usr/local /opt/local /usr/lib /usr/pkg /usr/sfw /usr"
2075 for dir in $withval ; do
2078 dnl assume /usr is in default path.
2087 LDFLAGS="$LDFLAGS -L$dir/lib"
2089 AC_MSG_RESULT(found in $dir)
2098 #include <netinet/in.h>
2107 case "$enable_explicit_port_randomisation" in
2117 case "$enable_linux_ip_local_port_range" in
2127 AC_MSG_CHECKING([if ${MAKE:-make} supports $< with implicit rule in scope])
2168 ALLTARGET="lib"
2169 INSTALLTARGET="install-lib"
2174 AC_MSG_ERROR([--with-nss can only be used in combination with --with-libunbound-only.])
2177 AC_MSG_ERROR([--with-nettle can only be used in combination with --with-libunbound-only.])
2249 #include <netinet/in.h>