Browse Source

prereq-build: test availability of Perl Thread::Queue module

This is needed for building automake.

Signed-off-by: Jo-Philipp Wich <[email protected]>

SVN-Revision: 47069
Jo-Philipp Wich 10 years ago
parent
commit
9e5db437f2
1 changed files with 4 additions and 0 deletions
  1. 4 0
      include/prereq-build.mk

+ 4 - 0
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, \