Fossil

Check-in [f517cb7f]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Capture both SSL library requirements before attempting to build the code.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: f517cb7f25c54ec431d3859cb4f83387bd919c41af3e3bd04b57393cc70aec02
User & Date: andybradford 2019-03-25 18:43:20
References
2019-03-30
15:40
Backout [f517cb7f] because they both come together anyway and this one is a macro. See https://fossil-scm.org/forum/forumpost/da64c38d6a for discussion. check-in: 3b23b328 user: andybradford tags: trunk
Context
2019-03-30
15:40
Backout [f517cb7f] because they both come together anyway and this one is a macro. See https://fossil-scm.org/forum/forumpost/da64c38d6a for discussion. check-in: 3b23b328 user: andybradford tags: trunk
2019-03-26
01:45
Remove extra output when requirements are found and there is really no need for a warning here either. check-in: 1aab3f31 user: andybradford tags: trunk
2019-03-25
18:43
Capture both SSL library requirements before attempting to build the code. check-in: f517cb7f user: andybradford tags: trunk
14:02
Check for the presence of BIO_ADDR_hostname_string before using it. check-in: 0ef9501c user: andybradford tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to auto.def.

374
375
376
377
378
379
380
381

382
383
384
385
386
387
388

        # Silence OpenSSL deprecation warnings on Mac OS X 10.7.
        if {[string match *-darwin* [get-define host]]} {
            if {[cctest -cflags {-Wdeprecated-declarations}]} {
                define-append EXTRA_CFLAGS -Wdeprecated-declarations
            }
        }
        if {[cc-check-function-in-lib BIO_ADDR_hostname_string ssl]} {

            define HAVE_BIO_ADDR_HS 1
            msg-result "Using BIO_ADDR_hostname_string"
        }
    } else {
        user-error "OpenSSL not found. Consider --with-openssl=none to disable HTTPS support"
    }
} else {







|
>







374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389

        # Silence OpenSSL deprecation warnings on Mac OS X 10.7.
        if {[string match *-darwin* [get-define host]]} {
            if {[cctest -cflags {-Wdeprecated-declarations}]} {
                define-append EXTRA_CFLAGS -Wdeprecated-declarations
            }
        }
        if {[cc-check-function-in-lib BIO_ADDR_hostname_string ssl] && \
             [cc-check-function-in-lib BIO_get_conn_address ssl]} {
            define HAVE_BIO_ADDR_HS 1
            msg-result "Using BIO_ADDR_hostname_string"
        }
    } else {
        user-error "OpenSSL not found. Consider --with-openssl=none to disable HTTPS support"
    }
} else {