[freetds] OpenSSL misdetection by configure script

Frediano Ziglio freddy77 at gmail.com
Tue Feb 9 16:24:22 EST 2016


2016-02-09 19:03 GMT+00:00 Ramiro Morales <cramm0 at gmail.com>:
> 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


More information about the FreeTDS mailing list