diff options
author | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2009-03-03 20:44:42 +0100 |
---|---|---|
committer | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2009-03-03 20:44:42 +0100 |
commit | 500f6ca793385bfa3bc6516d5a63fcd8f28e10df (patch) | |
tree | a402f9185131ce72891dab436825167d4c869617 /automake.in | |
parent | d22169ba7c9707dd8bed90f1f2abcaeb59107ef9 (diff) | |
download | automake-500f6ca793385bfa3bc6516d5a63fcd8f28e10df.tar.gz |
Fix `use constant' usage for MSYS Perl 5.6.0.
* automake.in (QUEUE_MESSAGE, QUEUE_CONF_FILE, QUEUE_LOCATION)
(QUEUE_STRING): Define using one `use constant' each; as perl
5.6.0 (on MSYS) does not understand `use constant { ... }'.
* THANKS: Update.
Report by Peter Rosin.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Diffstat (limited to 'automake.in')
-rwxr-xr-x | automake.in | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/automake.in b/automake.in index 156dfba1c..67ee0d213 100755 --- a/automake.in +++ b/automake.in @@ -285,12 +285,10 @@ use constant COMPILE_ORDINARY => 2; use constant INTERNAL => new Automake::Location; # Serialization keys for message queues. -use constant { - QUEUE_MESSAGE => "msg", - QUEUE_CONF_FILE => "conf file", - QUEUE_LOCATION => "location", - QUEUE_STRING => "string" -}; +use constant QUEUE_MESSAGE => "msg"; +use constant QUEUE_CONF_FILE => "conf file"; +use constant QUEUE_LOCATION => "location"; +use constant QUEUE_STRING => "string"; ## ---------------------------------- ## |