add prereq check for extended getopt (#3944)

SVN-Revision: 12491
This commit is contained in:
Felix Fietkau 2008-09-02 10:57:14 +00:00
parent 4f3876f4ee
commit a7d856c4ce
1 changed files with 8 additions and 0 deletions

View File

@ -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 \
))