From 8857381856cbc12fb8dab9141abd67c3af874e55 Mon Sep 17 00:00:00 2001 From: Mike Baker Date: Thu, 12 Apr 2007 18:17:38 +0000 Subject: [PATCH] prereq check for find -exec + SVN-Revision: 6940 --- include/prereq-build.mk | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/prereq-build.mk b/include/prereq-build.mk index d3aec64399..7355b9e31c 100644 --- a/include/prereq-build.mk +++ b/include/prereq-build.mk @@ -121,3 +121,11 @@ $(eval $(call Require,gnutar, \ $(eval $(call RequireCommand,autoconf, \ Please install GNU autoconf. \ )) + +define Require/find + find . -maxdepth 1 -exec ls {} + > /dev/null 2>&1 +endef + +$(eval $(call Require,find, \ + Please install GNU find 4.2.12 or better. \ +))