Lines Matching refs:if

27 dnl Use the C preprocessor to find out if the given object-style symbol
29 dnl includes even if no INCLUDES argument is given. This macro will run
41 if test -z "$SED"; then
44 if test -z "$GREP"; then
61 if test -z "$tmp_exp" || test "$tmp_exp" = "$1"; then
65 if test -z "$tmp_exp"; then
81 dnl Use the C compiler to find out only if the given symbol is defined
83 dnl default includes even if no INCLUDES argument is given. This macro
106 if test "$tst_symbol_defined" = "yes"; then
119 dnl Verify if X/Open network library is required.
122 AC_MSG_CHECKING([if X/Open network library is required])
128 #if defined(__hpux) && defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 600)
153 [/* Define to 1 if OS is AIX. */
159 AC_MSG_CHECKING([if OS is AIX (to define _ALL_SOURCE)])
175 dnl Check if building a native Windows target
201 dnl and check if it is needed even with ldap.h
234 if test "$curl_cv_header_lber_h" = "yes"; then
236 [Define to 1 if you have the lber.h header file.])
272 [Define to 1 if you need the lber.h header file even with ldap.h])
319 [Define to 1 if you have the ldap.h header file.])
367 [Define to 1 if you have the ldap_ssl.h header file.])
398 if test -z "$u_libs"; then
411 if test "$curl_cv_ldap_LIBS" = "unknown"; then
412 if test -z "$x_nlibs"; then
453 if test -z "$curl_cv_save_LIBS"; then
490 if test -z "$u_libs"; then
509 if test "$curl_cv_ldap_LIBS" = "unknown"; then
510 if test -z "$x_nlibs"; then
563 if test -z "$curl_cv_save_LIBS"; then
584 [if struct sockaddr_storage is defined]), ,
611 dnl Test if the socket recv() function is available,
647 if test "$curl_cv_recv" = "yes"; then
649 [Define to 1 if you have the recv function.])
659 dnl Test if the socket send() function is available,
695 if test "$curl_cv_send" = "yes"; then
697 [Define to 1 if you have the send function.])
739 [Define to 1 if you have the MSG_NOSIGNAL flag.])
786 [Define to 1 if you have the timeval struct.])
804 if test "$curl_cv_in_addr_t_equiv" = "unknown"; then
872 dnl Check if monotonic clock_gettime is available.
878 if test "x$dontwant_rt" = "xno" ; then
906 dnl Check if monotonic clock_gettime is available.
912 if test "x$dontwant_rt" = "xno" ; then
929 [Define to 1 if you have the clock_gettime function and raw monotonic timer.])
945 if test "$curl_func_clock_gettime" = "yes"; then
953 if test "$curl_cv_gclk_LIBS" = "unknown"; then
954 if test -z "$x_xlibs"; then
991 if test -z "$curl_cv_save_LIBS"; then
1002 if test "x$cross_compiling" != "xyes" &&
1004 AC_MSG_CHECKING([if monotonic clock_gettime works])
1017 if (0 == clock_gettime(CLOCK_MONOTONIC, &ts))
1035 [Define to 1 if you have the clock_gettime function and monotonic timer.])
1046 dnl Verify if network connect function is already available
1047 dnl using current libraries or if another one is required.
1056 if test "$tst_connect_need_LIBS" = "unknown"; then
1062 #if !defined(_WIN32) && !defined(HAVE_PROTO_BSDSOCKET_H)
1066 if(0 != connect(0, 0, 0))
1094 dnl Test if the socket select() function is available.
1140 if test "$curl_cv_select" = "yes"; then
1142 [Define to 1 if you have the select function.])
1160 dnl this test is of course not sensible if we are cross-compiling!
1161 if test "x$cross_compiling" != xyes; then
1177 dnl if this test fails, configure has already stopped
1184 dnl Check if a default ca-bundle should be used
1204 if test "x$want_ca" = "xyes"; then
1218 if test "x$want_capath" = "xyes"; then
1228 if test "x$want_ca" != "xno" -a "x$want_ca" != "xunset" -a \
1246 if test "x$cross_compiling" != "xyes" -a \
1250 if test "x$want_ca" = "xunset"; then
1254 if test "x$prefix" != xNONE; then
1266 if test -f "$a"; then
1273 if test "x$want_capath" = "xunset"; then
1282 if test "x$ca" = "xno" || test -f "$ca"; then
1286 if test "x$capath" != "xno"; then
1290 if test ! -z "$check_capath"; then
1292if test -d "$a" && ls "$a"/[[0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f]].0 >/…
1293 if test "x$capath" = "xno"; then
1302 if test "x$capath" = "xno"; then
1306 if test "x$ca" != "xno"; then
1312 if test "x$capath" != "xno"; then
1317 if test "x$ca" = "xno" && test "x$capath" = "xno"; then
1326 if test "x$with_ca_fallback" != "xyes" -a "x$with_ca_fallback" != "xno"; then
1332 if test "x$with_ca_fallback" = "xyes"; then
1333 if test "x$OPENSSL_ENABLED" != "x1" -a "x$GNUTLS_ENABLED" != "x1"; then
1343 dnl Check if a ca-bundle should be embedded
1355 if test "x$want_ca_embed" = "xyes"; then
1362 if test "x$want_ca_embed" != "xno" -a "x$want_ca_embed" != "xunset" -a -f "$want_ca_embed"; then
1373 dnl Check if curl's Win32 large file will be used
1379 if test "$curl_cv_native_windows" = "yes"; then
1380 if test x"$enable_largefile" != "xno"; then
1384 #if !defined(_WIN32_WCE) && (defined(__MINGW32__) || defined(_MSC_VER))
1394 if test "$curl_win32_file_api" = "no"; then
1398 #if defined(_WIN32_WCE) || defined(__MINGW32__) || defined(_MSC_VER)
1413 [Define to 1 if you are building a Windows target with large file support.])
1419 [Define to 1 if you are building a Windows target without large file support.])
1430 dnl Check if curl's Win32 crypto lib can be used
1436 if test "$curl_cv_native_windows" = "yes"; then
1447 if(CryptAcquireContext(&hCryptProv, NULL, NULL, PROV_RSA_FULL,
1460 [Define to 1 if you are building a Windows target with crypto API support.])
1471 dnl if $pcdir is not empty, set PKG_CONFIG_LIBDIR to $pcdir and export
1478 if test -n "$1"; then
1487 dnl path to it, or 'no' if not found/present.
1496 if test -n "$PKG_CONFIG"; then
1503 if test "x$PKGCONFIG" != "xno"; then
1509 if test -z "$itexists"; then
1531 if test -z "$tmp_cpp"; then
1547 if test "$curl_cv_native_windows" = 'yes'; then
1561 if test "x$compiler_id" = 'xGNU_C'; then
1567 if test "x$cross_compiling" = 'xyes'; then
1589 dnl Check if $cpp -P should be used for extract define values due to gcc 5
1601 AC_MSG_CHECKING([if cpp -P is needed])
1608 dnl we need cpp -P so check if it works then
1609 if test "x$cpp" = "xyes"; then
1610 AC_MSG_CHECKING([if cpp -P works])
1619 if test "x$cpp_p" = "xno"; then
1654 if test "$tst_cflags" = "yes"; then
1669 dnl Check to see if the compiler supports __builtin_available. This built-in
1672 dnl purpose is to return true if the code is running under a certain OS version
1676 AC_MSG_CHECKING([to see if the compiler supports __builtin_available()])
1680 if(__builtin_available(macOS 10.12, iOS 5.0, *)) {}
1685 [Define to 1 if you have the __builtin_available function.])