add prereq check for extended getopt (#3944)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12491 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Felix Fietkau 2008-09-02 10:57:14 +00:00
parent b85d4c1587
commit 3d3798ce2c
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 \
))