diff options
author | Zack Weinberg <zackw@panix.com> | 2020-09-11 09:37:50 -0400 |
---|---|---|
committer | Zack Weinberg <zackw@panix.com> | 2020-09-11 09:37:50 -0400 |
commit | dda80c75274a57dbbb71b16ad51cc0716741da4a (patch) | |
tree | 78b5ed3e0da4bb8492e002cc830c95ebefb2d0d8 /lib/Autom4te/ChannelDefs.pm | |
parent | b560f0a657be0ba69417d26589ffd93a26f62573 (diff) | |
download | autoconf-dda80c75274a57dbbb71b16ad51cc0716741da4a.tar.gz |
attempt to sync ChannelDefs.pm *and* Config.pm from automakezack/channeldefs-sync
needs changes to how wrapper.as works, postponed
Diffstat (limited to 'lib/Autom4te/ChannelDefs.pm')
-rw-r--r-- | lib/Autom4te/ChannelDefs.pm | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/lib/Autom4te/ChannelDefs.pm b/lib/Autom4te/ChannelDefs.pm index 15f583cf..702e7b3e 100644 --- a/lib/Autom4te/ChannelDefs.pm +++ b/lib/Autom4te/ChannelDefs.pm @@ -1,5 +1,4 @@ -# Copyright (C) 2002-2003, 2006, 2008-2017, 2020 Free Software -# Foundation, Inc. +# Copyright (C) 2002-2020 Free Software Foundation, Inc. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -16,8 +15,6 @@ package Autom4te::ChannelDefs; -use Autom4te::Channels; - =head1 NAME Autom4te::ChannelDefs - channel definitions for Automake and helper functions @@ -53,6 +50,17 @@ use warnings FATAL => 'all'; use Exporter; +use Autom4te::Channels; +use Autom4te::Config; +BEGIN +{ + if ($perl_threads) + { + require threads; + import threads; + } +} + use vars qw (@EXPORT @ISA); @ISA = qw (Exporter); @EXPORT = qw (&prog_error &error &fatal &verb |