Bugzilla – Bug 6
configure --without-sendmail is a no-op on BSD
Last modified: 2001-12-12 18:12:35 MST
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.
Sudo 1.6.4 will use a different preprocessor symbol.