Sidney Markowitz <[EMAIL PROTECTED]> writes: > I put together a test case to verify that SSL works. It should only be > run when the build was started with perl makefile.PL ENABLE_SSL=yes. > Everything I've thought of about how to get a conditional in the test > seems kludgy to me. > > Can someone suggest how you think the test can best be conditionalized?
In addition to what Theo said, you could read spamc/config.h and on the perl side, testing for IO::Socket::SSL is easy. I'd always do the test if spamc has SSL support and if IO::Socket::SSL is installed. Daniel -- Daniel Quinlan http://www.pathname.com/~quinlan/
