summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-09-02 10:57:14 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-09-02 10:57:14 +0000
commitbc86dba383e35617ce0f4bf925e711415711a35e (patch)
tree15b8710782e0c856603655a8141ac75e43b90511 /include
parent68cd5d5a88798abb94a712a85dd1f72c0691205e (diff)
add prereq check for extended getopt (#3944)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12491 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-rw-r--r--include/prereq-build.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/prereq-build.mk b/include/prereq-build.mk
index fbe7d69f4..d6d2d73a6 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 \
+))