Bug 6 - configure --without-sendmail is a no-op on BSD
configure --without-sendmail is a no-op on BSD
Status: RESOLVED FIXED
Product: Sudo
Classification: Unclassified
Component: Sudo
1.6.3
PC BSDI
: normal normal
Assigned To: Todd C. Miller
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2000-09-14 13:03 MDT by David MacKenzie
Modified: 2001-12-12 18:12 MST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.