You could try running
configure --with-openssl=/path/to/SSL
if the libraries are in /path/to/SSL/lib and the header
files are in /path/to/SSL/include
so i've got to have OpenSSL on my building machine and set the path of its installation?
because i've got a prebuild OpenSSL for arm but without any include directory...
maybe librairies are just sufficient
