{ "git2": { "type": "export" , "target": "libgit2configured" , "doc": ["The Git linkable library"] , "flexible_config": [ "OS" , "ARCH" , "TARGET_ARCH" , "TOOLCHAIN_CONFIG" , "DEBUG" , "CC" , "CFLAGS" , "ADD_CFLAGS" , "CXX" , "CXXFLAGS" , "ADD_CXXFLAGS" , "AR" , "ENV" , "USE_SYSTEM_LIBS" , "DEBUG_POOL" , "USE_THREADS" , "REGEX_BACKEND" , "WINHTTP" , "USE_ICONV" , "USE_NSEC" , "USE_SSH" , "USE_NTLMCLIENT" , "USE_GSSAPI" , "USE_SHA1" , "USE_SHA256" , "USE_HTTPS" , "USE_HTTP_PARSER" , "USE_BUNDLED_ZLIB" , "PKG_CONFIG_ARGS" ] , "config_doc": { "REGEX_BACKEND": [ "\"regcomp_l\": compile against regcomp_l (always from system)" , "\"regcomp\": compile against regcomp (always from system)" , "\"pcre\": link against libpcre (from system or open name)" , "\"pcre2\": link against libpcre2 (from system or open name)" , "\"builtin\"|null: compile and link bundled pcre (./deps/pcre)" ] , "USE_GSSAPI": [ "true: use \"GSS.framework\" for ~OS==\"darwin\"~ or else \"gssapi\"" , "false: Disable GSS" , "\"GSS.framework\": Link against GSS framework (system or open name)" , "\"gssapi\": Link against libgssapi (system or open name)" ] , "USE_HTTPS": [ "true: use \"WinHTTP\" if ~WINHTTP~ and ~OS==\"windows\"~" , "\"SecureTransport\": link against Security framework (from system or open name)" , "\"WinHTTP\": link against Windows' libwinhttp (always from system)" , "\"OpenSSL\": link against OpenSSL (from system or open name)" , "\"mbedTLS\": link against mbedTLS (from system or open name)" , "false|null: Disable HTTPS" ] , "USE_HTTP_PARSER": [ "\"system\": link against libhttp_parser (from system or open name)" , ": compile and link bundled http_parser (./deps/http-parser)" ] , "USE_SHA1": [ "true: use \"CollisionDetection\"" , "\"CollisionDetection\": build with shipped SHA1DC implementation" , "\"OpenSSL\": link against OpenSSL compat library (from system or open name)" , "\"mbedTLS\": link against mbedTLS (from system or open name)" , "\"Win32\": link against Windows' SHA1 implementation (always from system)" , "\"CommonCrypto\": build with shipped common_crypto implementation" , "\"HTTPS\": inherit from ~USE_HTTPS~, or fall back to \"CollisionDetection\"" ] , "USE_SHA256": [ "true: use \"Builtin\"" , "\"Builtin\": build with shipped RFC 6234 implementation" , "\"OpenSSL\": link against OpenSSL compat library (from system or open name)" , "\"mbedTLS\": link against mbedTLS (from system or open name)" , "\"Win32\": link against Windows' SHA1 implementation (always from system)" , "\"CommonCrypto\": build with shipped common_crypto implementation" , "\"HTTPS\": inherit from ~USE_HTTPS~, or fall back to \"Builtin\"" ] , "WINHTTP": ["boolean. use \"WinHTTP\" if \"USE_HTTPS\" is true"] } } , "libgit2configured": { "type": "configure" , "arguments_config": [ "OS" , "ARCH" , "TARGET_ARCH" , "USE_SYSTEM_LIBS" , "DEBUG_POOL" , "USE_THREADS" , "REGEX_BACKEND" , "WINHTTP" , "USE_ICONV" , "USE_NSEC" , "USE_SSH" , "USE_NTLMCLIENT" , "USE_GSSAPI" , "USE_SHA1" , "USE_SHA256" , "USE_HTTPS" , "USE_HTTP_PARSER" , "USE_BUNDLED_ZLIB" ] , "target": ["./", "src", "libgit2"] , "config": { "type": "let*" , "bindings": [ [ "check that architecture is set" , { "type": "var" , "name": "TARGET_ARCH" , "default": { "type": "var" , "name": "ARCH" , "default": {"type": "fail", "msg": "Required variable 'ARCH' is not set."} } } ] , [ "OS" , { "type": "var" , "name": "OS" , "default": {"type": "fail", "msg": "Required variable 'OS' is not set."} } ] , [ "USE_THREADS" , {"type": "var", "name": "USE_THREADS", "default": true} ] , ["USE_SSH", {"type": "var", "name": "USE_SSH", "default": true}] , ["USE_GSSAPI", {"type": "var", "name": "USE_GSSAPI", "default": true}] , ["USE_SHA1", {"type": "var", "name": "USE_SHA1", "default": true}] , ["USE_SHA256", {"type": "var", "name": "USE_SHA256", "default": true}] , ["USE_HTTPS", {"type": "var", "name": "USE_HTTPS", "default": true}] , [ "WINHTTP" , { "type": "var" , "name": "WINHTTP" , "default": { "type": "==" , "$1": {"type": "var", "name": "OS"} , "$2": "windows" } } ] , [ "USE_HTTPS" , { "type": "case*" , "expr": {"type": "var", "name": "USE_HTTPS"} , "case": [ [ true , { "type": "case*" , "expr": {"type": "var", "name": "OS"} , "case": [ [ "windows" , { "type": "if" , "cond": {"type": "var", "name": "WINHTTP"} , "then": "WinHTTP" , "else": true } ] ] , "default": true } ] ] , "default": {"type": "var", "name": "USE_HTTPS"} } ] , [ "USE_GSSAPI" , { "type": "case*" , "expr": {"type": "var", "name": "USE_GSSAPI"} , "case": [ [ true , { "type": "case*" , "expr": {"type": "var", "name": "OS"} , "case": [["darwin", "GSS.framework"]] , "default": "gssapi" } ] ] , "default": {"type": "var", "name": "USE_GSSAPI"} } ] , [ "USE_SHA1" , { "type": "case*" , "expr": {"type": "var", "name": "USE_SHA1"} , "case": [ [true, "CollisionDetection"] , [ "HTTPS" , { "type": "case*" , "expr": {"type": "var", "name": "USE_HTTPS"} , "case": [ ["SecureTransport", "CommonCrypto"] , ["WinHTTP", "Win32"] , [false, "CollisionDetection"] , [null, "CollisionDetection"] ] , "default": {"type": "var", "name": "USE_HTTPS"} } ] ] , "default": {"type": "var", "name": "USE_SHA1"} } ] , [ "USE_SHA256" , { "type": "case*" , "expr": {"type": "var", "name": "USE_SHA256"} , "case": [ [true, "Builtin"] , [ "HTTPS" , { "type": "case*" , "expr": {"type": "var", "name": "USE_HTTPS"} , "case": [ ["SecureTransport", "CommonCrypto"] , ["WinHTTP", "Win32"] , [false, "Builtin"] , [null, "Builtin"] ] , "default": {"type": "var", "name": "USE_HTTPS"} } ] ] , "default": {"type": "var", "name": "USE_SHA256"} } ] ] , "body": { "type": "env" , "vars": [ "USE_SYSTEM_LIBS" , "DEBUG_POOL" , "USE_THREADS" , "REGEX_BACKEND" , "USE_ICONV" , "USE_NSEC" , "USE_SSH" , "USE_NTLMCLIENT" , "USE_GSSAPI" , "USE_SHA1" , "USE_SHA256" , "USE_HTTPS" , "USE_HTTP_PARSER" , "USE_BUNDLED_ZLIB" ] } } } }