Re: OpenSSL misdetection by configure script

Ramiro Morales <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <CAO7PdF-o7k6Gi4n1Hk=ERb8o_cm-0tKJyEZsjagnzzafxa8gcQ@mail.gmail.com>
Frediano,

On Tue, Feb 9, 2016 at 6:24 PM, Frediano Ziglio <[email protected]> wrote:
> 2016-02-09 19:03 GMT+00:00 Ramiro Morales <[email protected]>:
>> [...]
>>   $ ./configure --with-openssl=no
>> [...]
>> OpenSSL support remains detected as active::
>> [...]
>> This happens even if I uninstall development files for OpenSSL
>> (libssl-dev .deb package).
>
> I checked m4/check_openssl.m4 and has this behavior. Basically every
> value (even "no" which is used when you specify --without-openssl)
> specified cause the check to trigger.

Aha! That was the key hint.

> Weird that even uninstalling package OpenSSL was detected.

With the OpenSSL development files still absent but don't specifying
--with-openssl=no as I was doing then, once configure is run, I get
HAVE_OPENSSL defined in config.h.

Thanks!

-- 
Ramiro Morales
@ramiromorales
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.