diff options
author | Jean Delvare <khali@linux-fr.org> | 2006-03-25 13:49:24 +0000 |
---|---|---|
committer | Jean Delvare <khali@linux-fr.org> | 2006-03-25 13:49:24 +0000 |
commit | fa45df17d6f6cf77f40c01196fe65eaa25be32a8 (patch) | |
tree | d876081d109476705441a9104bbcc96db746c4f6 /aclocal.m4 | |
parent | 89ecf7e2648113efec3389e4dc3361d04bb45369 (diff) | |
download | quilt-fa45df17d6f6cf77f40c01196fe65eaa25be32a8.tar.gz |
- 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.
Diffstat (limited to 'aclocal.m4')
-rw-r--r-- | aclocal.m4 | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |