From a7d856c4ce704ab1c45260d5e4210ad7e0288db5 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 2 Sep 2008 10:57:14 +0000 Subject: [PATCH] add prereq check for extended getopt (#3944) SVN-Revision: 12491 --- include/prereq-build.mk | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/prereq-build.mk b/include/prereq-build.mk index fbe7d69f44..d6d2d73a63 100644 --- a/include/prereq-build.mk +++ b/include/prereq-build.mk @@ -134,3 +134,11 @@ endef $(eval $(call Require,gnu-find, \ Please install GNU find \ )) + +define Require/getopt-extended + getopt --long - - >/dev/null +endef + +$(eval $(call Require,getopt-extended, \ + Please install an extended getopt version that supports --long \ +)) -- 2.30.2