From: Jo-Philipp Wich Date: Tue, 29 Sep 2015 11:37:10 +0000 (+0000) Subject: prereq-build: test availability of Perl Thread::Queue module X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9e5db437f294284f8d1cb6bf3fd078dfca0bea30;p=openwrt%2Fstaging%2Fmkresin.git prereq-build: test availability of Perl Thread::Queue module This is needed for building automake. Signed-off-by: Jo-Philipp Wich SVN-Revision: 47069 --- diff --git a/include/prereq-build.mk b/include/prereq-build.mk index f5fb9e270a..6f491375c6 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, \