Re: OpenSSL misdetection by configure script

Frediano Ziglio <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <CAHt6W4ccOWZWqyhaQFt-KGZODtabMzG508UuF-5Va5z8bdayHA@mail.gmail.com>
2016-02-09 19:03 GMT+00:00 Ramiro Morales <[email protected]>:
> Hi all,
>
> Found this while working with the Branch-0_95 branch code but I've
> just reproduced it with current master (commit
> https://github.com/FreeTDS/freetds/commit/5f6d9cdaac045ac7857398274ff18ceb0884139f)
>
> if with a fresh checkout I, as per INSTALL.GIT, run::
>
>   $ ./autogen
>   $ ./configure --with-openssl=no
>
> OpenSSL support remains detected as active::
>
>   $ grep -in ssl include/config.h
>   265:/* Define if you have the OpenSSL. */
>   266:#define HAVE_OPENSSL 1
>
> This happens even if I uninstall development files for OpenSSL
> (libssl-dev .deb package).
>
> Autotools versions are (Ubuntu 14.04 LTS x86_64 system)::
>
>   $ (autoconf --version; automake --version; libtool --version) |grep GNU
>   autoconf (GNU Autoconf) 2.69
>   License GPLv3+/Autoconf: GNU GPL version 3 or later
>   automake (GNU automake) 1.14.1
>   License GPLv2+: GNU GPL version 2 or later
> <http://gnu.org/licenses/gpl-2.0.html>
>   libtool (GNU libtool) 2.4.2
>
> Anyone else sees the same issue?
>
> Regards,
>
> --
> Ramiro Morales


I think everybody.
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. Weird that even uninstalling
package OpenSSL was detected.

Frediano
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.