I just said "./configure --with-ssl" and it figured out where the SSL directory was on its own if I remember. Of course, I also added a number of other configuration options, so have a look at your options before building.