Google

Back to the Main Page.

peti_path_sendmail

Download the M4 Source.

Synopsis

PETI_PATH_SENDMAIL

Version

1.1.1.1 (2001/07/26)     Installed_Packages @ ac-archive-0.5.39

Author

Peter Simons <simons@computer.org>

Description

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
])