Bug 6

Summary: configure --without-sendmail is a no-op on BSD
Product: Sudo Reporter: David MacKenzie <djm>
Component: SudoAssignee: Todd C. Miller <Todd.Miller>
Status: RESOLVED FIXED    
Severity: normal    
Priority: normal    
Version: 1.6.3   
Hardware: PC   
OS: BSDI   

Description David MacKenzie 2000-09-14 13:03:46 MDT
configure --without-sendmail doesn't disable sending mail on BSD, because
pathnames.h includes <paths.h>, which defines _PATH_SENDMAIL.  I think you'll
need to have an explicit variable for whether to compile in the mail code, or
else make sure to #undef _PATH_SENDMAIL when it's not wanted.
Comment 1 Todd C. Miller 2001-12-12 14:12:59 MST
Sudo 1.6.4 will use a different preprocessor symbol.