Fossil

Check-in [0fd14820]
Login

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

Overview
Comment:Add -Wdeprecated-declarations on Mac OS X to prevent warnings from openssl
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | autosetup
Files: files | file ages | folders
SHA1: 0fd14820f728a6f5f41a53d94569cbed7cfb5318
User & Date: steveb 2011-09-02 10:30:51.181
Context
2011-09-02
10:31
Fix an autosetup bug which prevented libreadline from being detected when running autosetup under tclsh ... (Closed-Leaf check-in: 7eeb5c64 user: steveb tags: autosetup)
10:30
Add -Wdeprecated-declarations on Mac OS X to prevent warnings from openssl ... (check-in: 0fd14820 user: steveb tags: autosetup)
10:10
Add Makefile.in back into the checkout. Was deleted accidently by the merge at [e4f1c1fe950425b]. ... (check-in: 90b692ba user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to auto.def.
132
133
134
135
136
137
138







139
140
141
142
143
144
145
    }
    if {$found} {
        define FOSSIL_ENABLE_SSL
        define-append EXTRA_CFLAGS $cflags
        define-append EXTRA_LDFLAGS $ldflags
        define-append LIBS -lssl -lcrypto
        msg-result "HTTP support enabled"







    } else {
        user-error "OpenSSL not found. Consider --with-openssl=none to disable HTTPS support"
    }
}

if {[opt-bool lineedit]} {
    # Need readline-compatible line editing







>
>
>
>
>
>
>







132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
    }
    if {$found} {
        define FOSSIL_ENABLE_SSL
        define-append EXTRA_CFLAGS $cflags
        define-append EXTRA_LDFLAGS $ldflags
        define-append LIBS -lssl -lcrypto
        msg-result "HTTP support enabled"

        # Maybe needed to silence warnings on Mac OS X 10.7 with openssl
        if {[string match *-darwin* [get-define host]]} {
            if {[cctest -cflags {-Wdeprecated-declarations}]} {
                define-append EXTRA_CFLAGS -Wdeprecated-declarations
            }
        }
    } else {
        user-error "OpenSSL not found. Consider --with-openssl=none to disable HTTPS support"
    }
}

if {[opt-bool lineedit]} {
    # Need readline-compatible line editing