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
owl
Jo-Philipp Wich 2015-09-29 11:37:10 +00:00
parent 2675ade97a
commit 9e5db437f2
1 changed files with 4 additions and 0 deletions

View File

@ -76,6 +76,10 @@ $(eval $(call TestHostCommand,libssl, \
echo 'int main(int argc, char **argv) { SSL_library_init(); return 0; }' | \ 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)) 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', \ $(eval $(call SetupHostCommand,tar,Please install GNU 'tar', \
gtar --version 2>&1 | grep GNU, \ gtar --version 2>&1 | grep GNU, \