#3919: configure.ac does not set -I... flags for --with-ssl
--------------------+----------------------
Reporter: m-a | Owner: mutt-dev
Type: defect | Status: new
Priority: minor | Milestone: 1.8
Component: build | Version:
Keywords: |
--------------------+----------------------
In a situation where:
* The system has OpenSSL 1.0.2 installed
* OpenSSL 1.1.0 is installed with a different configuration under /opt
/openssl-1_1_0 (for instance, system OpenSSL does have EGD, but the /opt/
installed OpenSSL does not)
* When {{{./configure --with-ssl=/opt/openssl-1_1_0}}} is run
then the {{{configure}}} script looks at the system includes rather than
those in /opt/openssl-1_1_0, causing a {{{config.h}}} to be emitted that
does not match the actual OpenSSL 1.1.0 library and can cause linker
failures or crashes.
Proposed remedy, without further investigation: I believe that --with-ssl
and similar options need to stuff -I/prefix/to/featurelib into CPPFLAGS or
into CFLAGS, and -L/prefix/to/featurelib into LDFLAGS, to modify the
header/library file search order accordingly.
--
Ticket URL: <https://dev.mutt.org/trac/ticket/3919>
Mutt <http://www.mutt.org/>
The Mutt mail user agent