diff options
author | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2008-11-06 21:06:01 +0100 |
---|---|---|
committer | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2008-11-06 21:41:21 +0100 |
commit | bb9dfbde44523d07a840f02e966f299568ad07f3 (patch) | |
tree | 4b508661220fd1f5833472b0bc4180cb65800687 /configure | |
parent | d016ef1e5d42bce1775b7b39e3dab89f392f27d7 (diff) | |
download | automake-bb9dfbde44523d07a840f02e966f299568ad07f3.tar.gz |
Cope with absent Perl modules threads and Thread::Queue.
* automake.in: Instead of `use threads', use `require threads;
import threads' inside a BEGIN section. Likewise for
Thread::Queue.
* lib/Automake/ChannelDefs.pm (Automake::ChannelDefs): Likewise.
* lib/Automake/tests/Condition-t.pl: Likewise.
* lib/Automake/tests/DisjConditions-t.pl: Likewise.
* configure.ac: Likewise, use `require' and `import'.
Report by Eric Blake, fix suggested by Ben Pfaff.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -2390,8 +2390,10 @@ else use Config; if ($Config{useithreads}) { - use threads; - use Thread::Queue; + require threads; + import threads; + require Thread::Queue; + import Thread::Queue; exit 0; } exit 1;' >&5 2>&1 |