From: Felix Fietkau Date: Tue, 2 Sep 2008 10:57:14 +0000 (+0000) Subject: add prereq check for extended getopt (#3944) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a7d856c4ce704ab1c45260d5e4210ad7e0288db5;p=openwrt%2Fstaging%2Fkaloz.git add prereq check for extended getopt (#3944) SVN-Revision: 12491 --- 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 \ +))