Back to the Main Page.

peti_path_sendmail

Download the M4 Source.

Synopsis

PETI_PATH_SENDMAIL

Version

1.3 (2003/04/16)     0.5.65   :   Installed Packages

Author

Peter Simons <simons@computer.org>

Description
obsoleted - if you need it then contact the original author

This macro will find a sendmail binary in many obscure places and replace @SENDMAIL@ with the path in all output files.

M4 Source Code
AC_DEFUN([PETI_PATH_SENDMAIL], [
peti_path_backup=$PATH
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/lib:/usr/libexec:/usr/local/bin:/usr/local/sbin:/usr/local/lib:/usr/local/libexec:/usr/etc
AC_PATH_PROG(SENDMAIL, sendmail, sendmail)
PATH=$peti_path_backup
])