From fa45df17d6f6cf77f40c01196fe65eaa25be32a8 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Sat, 25 Mar 2006 13:49:24 +0000 Subject: - Makefile.in: configure depends on aclocal.m4 too. - configure.ac: Cleanup two QUILT_COMPAT_PROG_PATH calls, the second parameter is not supposed to be a list. - aclocal.m4: Document the fourth (optional) parameter of QUILT_COMPAT_PROG_PATH. - aclocal.m4: No need to check for binaries we were told not to use. --- aclocal.m4 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'aclocal.m4') diff --git a/aclocal.m4 b/aclocal.m4 index b6107ff..d827d66 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1,7 +1,8 @@ dnl Allow configure to specify a specific binary dnl 1: Environment variable dnl 2: binary name -dnl 3: optional list of alternatives +dnl 3: optional list of alternative binary names +dnl 4: optional list of additional search directories AC_DEFUN([QUILT_COMPAT_PROG_PATH],[ m4_define([internal_$2_cmd],[esyscmd(ls compat/$2.in 2>/dev/null)]) @@ -13,8 +14,8 @@ AC_DEFUN([QUILT_COMPAT_PROG_PATH],[ if test x"$withval" = xnone; then AC_MSG_ERROR([Invalid configure argument. use --without-$2]) fi - AC_MSG_CHECKING(for $2) if test x"$withval" != xno; then + AC_MSG_CHECKING(for $2) $1="$withval" if test -e "$$1"; then if test ! -f "$$1" -a ! -h "$$1" || test ! -x "$$1"; then -- cgit