summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2015-09-29 11:37:10 +0000
committerJo-Philipp Wich <jow@openwrt.org>2015-09-29 11:37:10 +0000
commit9e5db437f294284f8d1cb6bf3fd078dfca0bea30 (patch)
treeda83a7440f379bcd261084dbb485dfba15758dc6
parent2675ade97a115d3ba1e75fb1193365cd87310fcf (diff)
downloadmtk-20170518-9e5db437f294284f8d1cb6bf3fd078dfca0bea30.zip
mtk-20170518-9e5db437f294284f8d1cb6bf3fd078dfca0bea30.tar.gz
mtk-20170518-9e5db437f294284f8d1cb6bf3fd078dfca0bea30.tar.bz2
prereq-build: test availability of Perl Thread::Queue module
This is needed for building automake. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47069
-rw-r--r--include/prereq-build.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/prereq-build.mk b/include/prereq-build.mk
index f5fb9e2..6f49137 100644
--- a/include/prereq-build.mk
+++ b/include/prereq-build.mk
@@ -76,6 +76,10 @@ $(eval $(call TestHostCommand,libssl, \
echo 'int main(int argc, char **argv) { SSL_library_init(); return 0; }' | \
gcc -include openssl/ssl.h -x c -o $(TMP_DIR)/a.out - -lcrypto -lssl))
+$(eval $(call TestHostCommand,perl-thread-queue, \
+ Please install the Perl Thread::Queue module, \
+ perl -MThread::Queue -e 1))
+
$(eval $(call SetupHostCommand,tar,Please install GNU 'tar', \
gtar --version 2>&1 | grep GNU, \