dnl @synopsis PETI_PATH_SENDMAIL dnl dnl This macro will find a sendmail binary in many obscure places and dnl replace @SENDMAIL@ with the path in all output files. dnl dnl @version $Id: peti_path_sendmail.m4,v 1.1.1.1 2001/07/26 00:46 ac-archive-0.5.39 $ dnl @author Peter Simons dnl 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 ])