add prereq check for extended getopt (#3944)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12491 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
b85d4c1587
commit
3d3798ce2c
|
@ -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 \
|
||||
))
|
||||
|
|
Loading…
Reference in New Issue