I have a problem with freeRADIUS version 2.1.3.

I have openssl installed in /usr/local/ssl. T? build the freeRADIUS server, I used this command:
./configure --with-openssl-include=/usr/local/ssl/include --with-openssl-libraries=/usr/local/ssl/lib

However, the freeRADIUS just does not see the openssl and reports the followings:
1. configure: skipping test for openssl/ssl.h? -- why skip? Because it was told?

2. Checking OpenSSL support... no

What configuration did I miss such that the server did does not see the openssl? Thanks.