Lines Matching +refs:cc +refs:check +refs:function +refs:in +refs:lib

6 # 2024-01-16 fix to add -l:libssp.a to -lcrypto link check.
7 # and check for getaddrinfo with only header.
8 # 2024-01-15 fix to add crypt32 to -lcrypto link check when checking for gdi32.
12 # 2021-08-17 fix sed script in ssldir split handling.
26 # 2015-12-11 FLTO check for new OSX, clang.
27 # 2015-11-18 spelling check fix.
36 # 2012-02-09 Fix AHX_MEMCMP_BROKEN with undef in compat/memcmp.h.
41 # 2011-11-10 Fix FLTO test to not drop a.out in current directory.
45 # 2011-06-23 Add ACX_CHECK_FLTO to check -flto.
46 # 2010-08-16 Fix FLAG_OMITTED for AS_TR_CPP changes in autoconf-2.66.
47 # 2010-07-02 Add check for ss_family (for minix).
63 # the following macro's are provided in this file:
66 # ACX_ESCAPE_BACKSLASH - escape backslashes in var for C-preproc.
68 # ACX_CHECK_COMPILER_FLAG - see if cc supports a flag.
71 # ACX_DEPFLAG - find cc dependency flags.
73 # ACX_CHECK_FORMAT_ATTRIBUTE - find cc printf format syntax.
74 # ACX_CHECK_UNUSED_ATTRIBUTE - find cc variable unused syntax.
75 # ACX_CHECK_FLTO - see if cc supports -flto and use it if so.
93 # ACX_FUNC_MALLOC - check malloc, define replacement .
118 # ACX_CHECK_MEMCMP_SIGNED - check if memcmp uses signed characters.
120 # ACX_CHECK_SS_FAMILY - check for sockaddr_storage.ss_family
121 # ACX_CHECK_PIE - add --enable-pie option and check if works
122 # ACX_CHECK_RELRO_NOW - add --enable-relro-now option and check it
139 dnl Routine to help check for compiler flags.
141 dnl $1: the flag without a - in front, so g to check -g.
179 dnl Routine to help check for needed compiler flags.
362 #include <netinet/in.h>
371 # check again for GNU_SOURCE for setresgid. May fail if setresgid
372 # is not available at all. -D_FRSRESGID is to make this check unique.
438 dnl in a way that supports clang and suncc (that flag does something else,
439 dnl but fails to link). It sets it in CFLAGS if it works.
447 …if $CC $CFLAGS -o conftest conftest.c 2>&1 | $GREP -e "warning: no debug symbols in executable" -e…
459 dnl result in HAVE_ATTR_FORMAT.
463 AC_MSG_CHECKING(whether the C compiler (${CC-cc}) accepts the "format" attribute)
492 dnl Check how to mark function arguments as unused.
493 dnl result in HAVE_ATTR_UNUSED.
497 AC_MSG_CHECKING(whether the C compiler (${CC-cc}) accepts the "unused" attribute)
555 dnl Perform libtool check, portably, only for C
559 dnl this function contents.
606 # include <netinet/in.h>
618 # include <netinet/in.h>
653 dnl Takes one argument; the withval checked in those 2 functions
661 dnl in /usr/include/openssl11/openssl/ssl.h
670 ssldir_lib=`echo $ssldir | sed -e 's/include/lib/'`
678 …AC_MSG_ERROR([Could not find openssl lib file, $ssldir_lib/libssl.[so,a], pass like "/usr/local" o…
684 … withval="/usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/local /opt/local /usr/sfw /usr"
686 for dir in $withval; do
691 if test ! -d "$ssldir/lib" -a -d "$ssldir/lib64"; then
694 ssldir_lib="$ssldir/lib"
700 AC_MSG_ERROR(Cannot find the SSL libraries in $withval)
702 AC_MSG_RESULT(found in $ssldir)
705 dnl assume /usr is already in the include, lib and dynlib paths.
714 AC_MSG_CHECKING([for EVP_sha256 in -lcrypto])
726 # check if -lwsock32 or -lgdi32 are needed.
800 AC_MSG_ERROR([OpenSSL found in $ssldir, but version 0.9.7 or higher is required])
823 AC_ARG_WITH(ssl, AS_HELP_STRING([--with-ssl=pathname],[enable SSL (will check /usr/local/ssl
824 …/usr/lib/ssl /usr/ssl /usr/pkg /usr/local /opt/local /usr/sfw /usr or specify like /usr/include/op…
841 AC_ARG_WITH(ssl, AS_HELP_STRING([--with-ssl=pathname],[enable SSL (will check /usr/local/ssl
842 …/usr/lib/ssl /usr/ssl /usr/pkg /usr/local /opt/local /usr/sfw /usr or specify like /usr/include/op…
853 # check if libssl needs libdl
969 dnl check if a function is deprecated. defines DEPRECATED_func in config.h.
970 dnl $1: function name
971 dnl $2: C-statement that calls the function.
1003 dnl check if select and nonblocking sockets actually work.
1031 #include <netinet/in.h>
1089 /* no handler, causes exit in 10 seconds */
1172 dnl Check for ioctlsocket function. works on mingw32 too.
1175 # check ioctlsocket
1185 AC_DEFINE(HAVE_IOCTLSOCKET, 1, [if the function 'ioctlsocket' is available])
1204 AC_DEFINE_UNQUOTED([malloc], [rpl_malloc_$1], [Define if replacement function should be used.])] ,
1209 AC_DEFINE_UNQUOTED([malloc], [rpl_malloc_$1], [Define if replacement function should be used.])] )
1388 AC_DEFINE(m4_bpatsubst(OMITTED_$1,[[-=]],_), 1, Put $1 define in config.h)
1392 dnl Remove EXT flags from the CFLAGS and set them to be defined in config.h
1436 dnl check if memcmp is using signed characters and replace if so.
1468 dnl ACX_CHECK_SS_FAMILY - check for sockaddr_storage.ss_family
1472 …AC_DEFINE([ss_family], [__ss_family], [Fallback member name for socket family in struct sockaddr_s…
1475 #include <netinet/in.h>
1489 #include <netinet/in.h>
1503 dnl If so, sets them in CFLAGS / LDFLAGS.
1513 …if $CC $CFLAGS $LDFLAGS -o conftest conftest.c 2>&1 | grep "warning: no debug symbols in executabl…
1533 …if $CC $CFLAGS $LDFLAGS -o conftest conftest.c 2>&1 | grep "warning: no debug symbols in executabl…