Corrected configure-time check for SMTP in curl