diff options
author | Andreas Gruenbacher <agruen@suse.de> | 2005-09-19 13:29:14 +0000 |
---|---|---|
committer | Andreas Gruenbacher <agruen@suse.de> | 2005-09-19 13:29:14 +0000 |
commit | 6b96dd6643f020bac61886a20f79fc02ec6daff0 (patch) | |
tree | e0e2d6af18ef1c05ba0ac8beda6078d9aa65b6ab /aclocal.m4 | |
parent | c50beee0cac17382c8f1c9526db30e8449d94f89 (diff) | |
download | quilt-6b96dd6643f020bac61886a20f79fc02ec6daff0.tar.gz |
- Rename MTA program to SENDMAIL, and improve configure.ac
(from John Vandenberg again, as several other recent things --
thanks!)
- Must build the compatibility programs before creating the
command reference (which extracts the help texts).
Diffstat (limited to 'aclocal.m4')
-rw-r--r-- | aclocal.m4 | 18 |
1 files changed, 17 insertions, 1 deletions
@@ -16,7 +16,23 @@ AC_DEFUN([QUILT_COMPAT_PROG_PATH],[ COMPAT_SYMLINKS="$COMPAT_SYMLINKS $2" fi ],[ - AC_PATH_PROG($1, m4_if([$3],[],[$2],[$3])) + m4_if([$3],[],[ + AC_PATH_PROGS($1,$2,,$PATH:$4) + ],[ + AC_PATH_PROG($1,$3,,$PATH:$4) + ]) + m4_if([$4],[],[],[ + if test -n "$$1"; then + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR + for dir in "$4"; do + if test "`dirname $$1`" = "$dir"; then + COMPAT_SYMLINKS="$COMPAT_SYMLINKS $2" + break + fi + done + IFS="$as_save_IFS" + fi + ]) ]) if test -z "$$1"; then m4_if(internal_$2_cmd,[],[ |