• Home
  • Raw
  • Download

Lines Matching +full:- +full:- +full:without +full:- +full:gssapi

18 # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
21 # SPDX-License-Identifier: curl
29 # sub-projects in a larger build using `FetchContent`. To support
32 # https://cmake.org/cmake/help/latest/module/FetchContent.html#integrating-with-find-package
61 string(REGEX MATCH "#define LIBCURL_VERSION_NUM 0x[0-9a-fA-F]+"
66 # Setup package meta-data
71 # SET(PACKAGE_VERSION "-")
72 # SET(PACKAGE_STRING "curl-")
91 option(ENABLE_ARES "Set to ON to enable c-ares support" OFF)
99 add_definitions(-D_WIN32_WINNT=${CURL_TARGET_WINDOWS_VERSION})
100 list(APPEND CMAKE_REQUIRED_DEFINITIONS -D_WIN32_WINNT=${CURL_TARGET_WINDOWS_VERSION})
101 set(CURL_TEST_DEFINES "${CURL_TEST_DEFINES} -D_WIN32_WINNT=${CURL_TARGET_WINDOWS_VERSION}")
104 add_definitions(-DUNICODE -D_UNICODE)
106 add_compile_options(-municode)
131 # For debug libs and exes, add "-d" postfix
133 set(CMAKE_DEBUG_POSTFIX "-d")
176 option(CURL_DISABLE_ALTSVC "disables alt-svc support" OFF)
178 option(CURL_DISABLE_SRP "disables TLS-SRP support" OFF)
192 option(CURL_DISABLE_AWS "disables AWS-SIG4" OFF)
196 option(CURL_DISABLE_DOH "disables DNS-over-HTTPS" OFF)
209 option(CURL_DISABLE_HEADERS_API "disables headers-api support" OFF)
223 option(CURL_DISABLE_LIBCURL_OPTION "disables --libcurl option from the curl tool" OFF)
239 option(CURL_DISABLE_PROGRESS_METER "disables built-in progress meter" OFF)
304 list(APPEND CURL_LIBS "-framework SystemConfiguration")
314 option(BUILD_MISC_DOCS "to build misc man pages (e.g. curl-config and mk-ca-bundle)" ON)
315 option(ENABLE_CURL_MANUAL "to build the man page for curl and enable its -M/--manual option" ON)
334 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -w-")
344 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -lnetwork")
446 list(APPEND CURL_LIBS "-framework Security")
448 if(CURL_DEFAULT_SSL_BACKEND AND CURL_DEFAULT_SSL_BACKEND STREQUAL "secure-transport")
464 list(APPEND CURL_LIBS "-framework CoreFoundation -framework CoreServices")
603 # Check symbol in an OpenSSL-like TLS backend, or in EXTRA_LIBS depending on it.
626 …list(APPEND CMAKE_REQUIRED_DEFINITIONS -DHAVE_UINTPTR_T) # to pull in stdint.h (as of wolfSSL v5.…
645 message(FATAL_ERROR "QUIC support is missing in OpenSSL fork. Try setting -DOPENSSL_ROOT_DIR")
678 message(FATAL_ERROR "ECH requires ECH-enablded OpenSSL, BoringSSL or wolfSSL")
834 list(APPEND CMAKE_REQUIRED_DEFINITIONS -DLDAP_DEPRECATED=1)
854 set(CURL_TEST_DEFINES "${CURL_TEST_DEFINES} -DNEED_LBER_H")
866 add_definitions("-DLDAP_DEPRECATED=1")
903 option(USE_APPLE_IDN "Use Apple built-in IDN support" OFF)
960 option(CURL_USE_GSSAPI "Use GSSAPI implementation (right now only Heimdal is supported with CMake b…
969 message(STATUS "Found ${GSS_FLAVOUR} GSSAPI version: \"${GSS_VERSION}\"")
972 check_include_file_concat("gssapi/gssapi.h" HAVE_GSSAPI_GSSAPI_H)
973 check_include_file_concat("gssapi/gssapi_generic.h" HAVE_GSSAPI_GSSAPI_GENERIC_H)
974 check_include_file_concat("gssapi/gssapi_krb5.h" HAVE_GSSAPI_GSSAPI_KRB5_H)
980 list(APPEND _INCLUDE_LIST "gssapi/gssapi.h")
983 list(APPEND _INCLUDE_LIST "gssapi/gssapi_generic.h")
986 list(APPEND _INCLUDE_LIST "gssapi/gssapi_krb5.h")
993 set(_LINKER_FLAGS_STR "${_LINKER_FLAGS_STR} -L\"${_dir}\"")
1016 … message(WARNING "GSSAPI support has been requested but no supporting libraries found. Skipping.")
1057 … "Path to the CA bundle. Set 'none' to disable or 'auto' for auto-detection. Defaults to 'auto'.")
1059 "Set ON to use built-in CA store of TLS backend. Defaults to OFF")
1061 …"Location of default CA path. Set 'none' to disable or 'auto' for auto-detection. Defaults to 'aut…
1098 /etc/ssl/certs/ca-certificates.crt
1099 /etc/pki/tls/certs/ca-bundle.crt
1100 /usr/share/ssl/certs/ca-bundle.crt
1101 /usr/local/share/certs/ca-root-nss.crt
1108 … "Path to the CA bundle. Set 'none' to disable or 'auto' for auto-detection. Defaults to 'auto'.")
1118 …"Location of default CA path. Set 'none' to disable or 'auto' for auto-detection. Defaults to 'aut…
1145 string(REGEX MATCH ".*_WIN32_WINNT=0x[0-9a-fA-F]+" OUTPUT "${OUTPUT}")
1147 …string(REGEX REPLACE "0x([0-9a-f][0-9a-f][0-9a-f])$" "0x0\\1" OUTPUT "${OUTPUT}") # pad to 4 digi…
1160 # pre-fill detection results based on target OS version
1363 set(CMAKE_REQUIRED_FLAGS "-D_FILE_OFFSET_BITS=64")
1385 # on not-Windows and not-crosscompiling, check for writable argv[]
1464 check_c_compiler_flag(-Wno-long-double HAVE_C_FLAG_Wno_long_double)
1469 set(MPRINTF_COMPILE_FLAGS "${MPRINTF_COMPILE_FLAGS} -Wno-long-double")
1471 set(MPRINTF_COMPILE_FLAGS "-Wno-long-double")
1480 add_definitions(-DHAVE_CONFIG_H)
1487 set(CMAKE_RC_FLAGS "${CMAKE_RC_FLAGS} -DCURL_EMBED_MANIFEST")
1504 add_definitions(-D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE)
1505 if(CMAKE_C_FLAGS MATCHES "/W[0-4]")
1506 string(REGEX REPLACE "/W[0-4]" "/W4" CMAKE_C_FLAGS "${CMAKE_C_FLAGS}")
1522 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror")
1538 message(FATAL_ERROR "LTO was requested - but compiler doesn't support it\n${CURL_LTO_ERROR}")
1550 …string(REGEX REPLACE "([a-zA-Z_][a-zA-Z0-9_]*)[\t ]*=[\t ]*([^\n]*)" "SET(\\1 \\2)" MAKEFILE_INC_T…
1553 …string(REGEX REPLACE "\\$\\(([a-zA-Z_][a-zA-Z0-9_]*)\\)" "\${\\1}" MAKEFILE_INC_TEXT ${MAKEFILE_IN…
1554 …string(REGEX REPLACE "@([a-zA-Z_][a-zA-Z0-9_]*)@" "\${\\1}" MAKEFILE_INC_TEXT ${MAKEFILE_INC_TEXT}…
1592 install(FILES "${PROJECT_SOURCE_DIR}/scripts/mk-ca-bundle.pl"
1627 _add_if("GSS-API" HAVE_GSSAPI)
1628 _add_if("alt-svc" NOT CURL_DISABLE_ALTSVC)
1636 _add_if("TLS-SRP" USE_TLS_SRP)
1641 _add_if("HTTPS-proxy" SSL_ENABLED AND (USE_OPENSSL OR USE_GNUTLS
1715 # curl-config needs the following options to be set.
1717 # TODO probably put a -D... options here?
1726 # For processing full path libraries into -L and -l ld options,
1727 # the directories that go with the -L option are cached, so they
1730 # To avoid getting unnecessary -L options for known system directories,
1754 # Reading the LOCATION property on non-imported target will error out.
1764 if(_lib MATCHES "^-")
1775 set(LIBCURL_LIBS "${LIBCURL_LIBS} -L${_libdir}")
1778 set(LIBCURL_LIBS "${LIBCURL_LIBS} -l${_libname}")
1783 set(LIBCURL_LIBS "${LIBCURL_LIBS} -l${_lib}")
1793 set(CPPFLAG_CURL_STATICLIB "-DCURL_STATICLIB")
1803 # Set this to "yes" to append all libraries on which -lcurl is dependent
1809 # Finally generate a "curl-config" matching this config
1813 configure_file("${CURL_SOURCE_DIR}/curl-config.in"
1814 "${CURL_BINARY_DIR}/curl-config" @ONLY)
1815 install(FILES "${CURL_BINARY_DIR}/curl-config"
1822 # Finally generate a pkg-config file matching this config
1852 configure_package_config_file(CMake/curl-config.cmake.in
1886 COMMAND ${CMAKE_COMMAND} -P