When I try to run the configure script with a openssl 1.1.0 directory specified as a dependency location, the config fails:

<verbatim>
checking which TLS library to use... openssl
checking if a basic OpenSSL program works... no
configure: error: Unable to compile a basic program using OpenSSL
</verbatim>

This contrasts with my OS-installed version of openssl 1.0.2, against which tcltls configures and compiles OK.

I use the following lines to compile with OS-installed openssl 1.0.2:

<verbatim>
./configure --disable-stubs --enable-deterministic
make tcltls.so
</verbatim>

I then install and compile openssl 1.1.0 shared libraries locally without problems.  I then try the following configure line for tcltls:

<verbatim>
./configure --disable-stubs --with-openssl-dir=<fulldir>/openssl-1.1.0 --enable-deterministic
</verbatim>

I get the error quoted at top.

My computer is running a standard updated install of Kubuntu 16.04