From 236b462301524613b57f214f3081e72282dcc30c Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Fri, 23 Sep 2005 20:34:48 +0000 Subject: - configure.ac: Let the user select the find binary. Test that find supports -path. --- configure.ac | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index acf68b7..17de4a0 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ dnl Process this file with autoconf to produce a configure script. AC_INIT([quilt],[0.42],[quilt-dev@nongnu.org]) AC_CONFIG_AUX_DIR(config) AC_PREREQ(2.53) -AC_REVISION ($Revision: 1.59 $) +AC_REVISION ($Revision: 1.60 $) PACKAGE_RELEASE=1 AC_SUBST(PACKAGE_RELEASE) @@ -200,6 +200,21 @@ else AC_MSG_RESULT(yes) fi +QUILT_COMPAT_PROG_PATH(FIND, find) + +AC_MSG_CHECKING([whether $FIND -path works]) +if $FIND . -path '*' >/dev/null 2>&1; then + AC_MSG_RESULT(yes) +else + AC_MSG_RESULT(no) + AC_MSG_ERROR([ +Sorry, you have a version of find which doesn't understand -path. +$PACKAGE_NAME needs it. If you have access to a version of find which +does understand -path, you can supply its path with the +'--with-find=' option. +]) +fi + QUILT_COMPAT_PROG_PATH(DIFFSTAT, [diffstat]) if test -z "$INTERNAL_DIFFSTAT"; then -- cgit