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

6 # copyright notice and this permission notice appear in all copies.
21 for i in $srcdir/configure.ac $srcdir/m4/*.m4; do
30 AC_PROG_CC([cc gcc clang])
107 dnl override LD, however keeping the hook here for now in case there's a use
109 dnl reason is found we'll be removing this in future.
180 case "$GCC_VER" in
224 # NB. -ftrapv expects certain support functions to be present in
226 # that can overflow. We must check that the result of enabling it
230 # clang 15 seems to have a bug in -fzero-call-used-regs=all. See
235 case "$CLANG_VER" in
261 for t in -fstack-protector-strong -fstack-protector-all \
447 dnl AC_CHECK_INCLUDES_DEFAULT checks for them in the opposite order. If we
619 # Messages for features tested for in target-specific section
633 case "$host" in
657 blibpath="/usr/lib:/lib"
665 for tryflags in $flags ;do
674 AC_MSG_ERROR([*** must be able to specify blibpath on AIX - check config.log])
679 dnl Check for authenticate. Might be in libs.a on older AIXes
681 [Define if you want to enable AIX4's authenticate function])],
687 dnl Check for various auth function declarations in headers.
697 [Define if your AIX loginfailed() function
734 LIBS="$LIBS /usr/lib/textreadmode.o"
832 [String used in /etc/passwd to denote locked account])
838 [AC_MSG_ERROR([*** -lxnet needed on HP-UX - check config.log ***])])
841 case "$host" in
851 passes pam_messages to the conversation function
862 case "$host" in
882 ttyname in [uw]tmp])
919 AC_DEFINE([BROKEN_CLOSEFROM], [1], [broken in chroots on older kernels])
923 [String used in /etc/passwd to denote locked account])
954 case `uname -r` in
980 case "$host" in
1002 case "$host" in
1037 case "$mips_abi" in
1047 case "$mips_abi" in
1063 [Specify the system call convention in use])
1090 [NetBSD read function is sometimes redirected, breaking atomicio comparisons against it])
1104 case "$host" in
1130 [syslog_r function is safe to use in in a signal handler])
1149 in case the name is longer than 8 chars])
1154 AC_MSG_CHECKING([for obsolete utmp and wtmp in solaris2.x])
1266 case "$host" in
1334 [String used in /etc/passwd to denote locked account])
1351 case "$host" in
1370 for header in netinet/ip.h netdb.h resolv.h; do
1400 AC_MSG_ERROR([*** compiler cannot create working executables, check config.log ***])
1409 dnl IRIX and Solaris 2.5.1 have dirname() in libgen
1451 [Define if you have the basename function.])])
1456 [ --with-zlib=PATH Use zlib in PATH],
1460 if test -d "$withval/lib"; then
1462 LDFLAGS="-L${withval}/lib ${rpath_opt}${withval}/lib ${LDFLAGS}"
1464 LDFLAGS="-L${withval}/lib ${LDFLAGS}"
1481 # These libraries are needed for anything that links in the channel code.
1491 …AC_CHECK_HEADER([zlib.h], ,[AC_MSG_ERROR([*** zlib.h missing - please install first or check confi…
1498 LDFLAGS="-L/usr/local/lib ${rpath_opt}/usr/local/lib ${saved_LDFLAGS}"
1500 LDFLAGS="-L/usr/local/lib ${saved_LDFLAGS}"
1505 AC_MSG_ERROR([*** zlib missing - please install first or check config.log ***])
1511 AC_ARG_WITH([zlib-version-check],
1512 [ --without-zlib-version-check Disable zlib version check],
1546 AC_MSG_ERROR([*** zlib too old - check config.log ***
1549 are sure this is the case, you can disable the check by running
1550 "./configure --without-zlib-version-check".
1551 If you are in doubt, upgrade zlib to version 1.2.3 or greater.
1582 # On some platforms, inet_ntop and gethostbyname may be found in libresolv
1587 # Some Linux distribtions ship the BSD libc hashing functions in
1615 [Define to rpl_calloc if the replacement function should be used.])
1629 [Define if your system glob() function has
1639 AC_MSG_CHECKING([for gl_matchc field in glob_t])
1644 [Define if your system glob() function has
1645 gl_matchc options in glob_t])
1662 [Define if your system glob() function has
1663 gl_statv options in glob_t])
1710 [ --with-tcp-wrappers[[=PATH]] Enable tcpwrappers support (optionally in PATH)],
1718 if test -d "${withval}/lib"; then
1720 LDFLAGS="-L${withval}/lib -R${withval}/lib ${LDFLAGS}"
1722 LDFLAGS="-L${withval}/lib ${LDFLAGS}"
1742 #include <netinet/in.h>
1765 [ --with-ldns[[=PATH]] Use ldns for DNSSEC support (optionally in PATH)],
1780 LDFLAGS="$LDFLAGS -L${withval}/lib"
1827 LDFLAGS="-L${withval}/lib ${rpath_opt}${withval}/lib ${LDFLAGS}"
1829 LDFLAGS="-L${withval}/lib ${LDFLAGS}"
1883 LDFLAGS="-L${withval}/lib ${rpath_opt}${withval}/lib ${LDFLAGS}"
1885 LDFLAGS="-L${withval}/lib ${LDFLAGS}"
1912 case "$withval" in
1928 [AC_MSG_ERROR([BSM enabled and required function not found])])
2019 dnl Checks for library functions. Please keep in alphabetical order
2264 dnl check if we need -D_REENTRANT for localtime_r declaration.
2469 AC_MSG_WARN([****** Your snprintf() function is broken, complain to your vendor])
2533 AC_MSG_WARN([****** Your vsnprintf() function is broken, complain to your vendor])
2539 # On systems where [v]snprintf is broken, but is declared in stdio,
2540 # check that the fmt argument is const char * or just char *.
2630 #include <netinet/in.h>
2699 #include <netinet/in.h>
2757 AC_MSG_CHECKING([for conflicting getspnam in shadow.h])
2775 dnl existing one in OpenBSD and Linux's libbsd (the former having existed
2872 case "$withval" in
2876 if test -d "$withval/lib"; then
2877 libcrypto_path="${withval}/lib"
2909 AC_ARG_WITH([openssl-header-check],
2910 [ --without-openssl-header-check Disable OpenSSL version consistency check],
2936 [AC_MSG_ERROR([*** working libcrypto not found, check config.log])])
2938 [AC_MSG_ERROR([*** OpenSSL headers missing - please install first or check config.log ***])])
3020 case "$sslver" in
3027 case "$lver" in
3054 case "$host" in
3056 case "$sslver" in
3058 AC_MSG_ERROR([OpenSSL 3.0.4 has a potential RCE in its RSA implementation (CVE-2022-2274)])
3063 # Sanity check OpenSSL headers
3082 If you are sure your installation is consistent, you can disable the check
3083 by running "./configure --without-openssl-header-check".
3140 AC_DEFINE(HAVE_OPENSSL_ADD_ALL_ALGORITHMS, 1, [as a function]),
3211 # Check for various EVP support in OpenSSL
3214 # Check complete ECC support in OpenSSL
3391 # Now check for built-in security key support.
3433 [Enable for built-in U2F/FIDO support])
3434 enable_sk="built-in"
3500 case "$withval" in
3522 case "$withval" in
3553 for sock in /var/run/egd-pool /dev/egd-pool /etc/entropy; do
3595 # Check for crypt() in libcrypt. If we have it, we only need it for sshd.
3629 case "$LIBS" in
3631 # libdl already in LIBS
3676 case "$host" in
3695 [Cygwin function to fetch non-privileged user for privilege separation])
3766 # of select in userspace on top of poll() so check both work with rlimit
3767 # NOFILES so check that both work before enabling the rlimit sandbox.
3875 AC_MSG_ERROR([Darwin seatbelt sandbox requires sandbox.h and sandbox_init function])
3894 AC_MSG_ERROR([seccomp_filter sandbox requires prctl function])
3905 AC_MSG_ERROR([capsicum sandbox requires cap_rights_limit function])
3913 AC_MSG_ERROR([rlimit sandbox requires setrlimit function])
3954 # Sanity check long long for some platforms (AIX)
3976 * printf in libc on some platforms (eg old Tru64) does not understand %lld so
4019 /* Sanity check */
4094 AC_MSG_CHECKING([for intXX_t types in stdint.h])
4136 AC_MSG_CHECKING([for u_intXX_t types in sys/socket.h])
4160 AC_MSG_CHECKING([for u_int64_t type in sys/bitypes.h])
4192 AC_MSG_CHECKING([for uintXX_t types in stdint.h])
4205 AC_MSG_CHECKING([for uintXX_t types in inttypes.h])
4218 AC_MSG_CHECKING([for intXX_t and u_intXX_t types in sys/bitypes.h])
4291 #include <netinet/in.h>])
4332 #include <netinet/in.h>
4382 #include <netinet/in.h>
4396 #include <netinet/in.h>
4406 dnl Now check for sin6_scope_id
4412 #include <netinet/in.h>
4537 [Define if we don't have struct __res_state in resolv.h])],
4543 #include <netinet/in.h>
4554 #include <netinet/in.h>
4558 AC_CACHE_CHECK([for ss_family field in struct sockaddr_storage],
4568 AC_DEFINE([HAVE_SS_FAMILY_IN_SS], [1], [Fields in struct sockaddr_storage])
4571 AC_CACHE_CHECK([for __ss_family field in struct sockaddr_storage],
4583 [Fields in struct sockaddr_storage])
4587 AC_CACHE_CHECK([for msg_accrights field in struct msghdr],
4649 AC_CACHE_CHECK([for msg_control field in struct msghdr],
4782 #include <netinet/in.h>
4793 AC_MSG_CHECKING([for res_query in -lresolv])
4796 #include <netinet/in.h>
4813 [Define if HEADER.ad exists in arpa/nameser.h])], ,
4823 #include <netinet/in.h>
4895 support in the version 2 protocol])
4925 support in the version 2 protocol])
4943 LDFLAGS="$LDFLAGS -L${KRB5ROOT}/lib"
4990 LDFLAGS="$LDFLAGS ${rpath_opt}${KRB5ROOT}/lib"
4993 blibpath="$blibpath:${KRB5ROOT}/lib"
5079 [Define if xauth is found in your path])
5085 dnl # if maildir is set in the platform case statement above we use that.
5199 case "$withval" in
5258 # Use ip address instead of hostname in $DISPLAY
5263 instead of hostname in $DISPLAY])
5267 [ --with-ipaddr-display Use ip address instead of hostname in $DISPLAY],
5277 # check for /etc/default/login and use it if present.
5322 --with-default-path=PATH will only be used if PATH is not defined in
5330 AC_MSG_WARN([Make sure the path to scp is in /etc/login.conf])
5334 If PATH is defined in $external_path_file, ensure the path to scp is included,
5373 # make sure $bindir is in USER_PATH so scp will work
5377 case $t_bindir in
5380 case $t_bindir in
5414 AC_MSG_CHECKING([if we need to convert IPv4 in IPv6-mapped addresses])
5417 [ --with-4in6 Check for and convert IPv4 in IPv6 mapped addresses],
5422 [Detect IPv4 in IPv6 mapped addresses
5457 case $piddir in
5572 dnl NOTE: set the paths in the platform section to avoid the
5615 for f in /var/log/lastlog /usr/adm/lastlog /var/adm/lastlog /etc/security/lastlog ; do
5647 for f in /etc/utmp /usr/adm/utmp /var/run/utmp; do
5677 for f in /usr/adm/wtmp /var/log/wtmp; do
5720 AC_MSG_WARN([Please check and edit blibpath in LDFLAGS in Makefile])
5824 echo " At runtime, sshd will use the path defined in $external_path_file"
5829 echo " (If PATH is set in $external_path_file it will be used instead. If"
5847 echo " IP address in \$DISPLAY hack: $DISPLAY_HACK_MSG"
5848 echo " Translate v4 in v6 hack: $IPV4_IN6_HACK_MSG"
5883 echo "Example PAM control files can be found in the contrib/ "
5900 echo "See the Solaris section in README.platform for details."