From 500f6ca793385bfa3bc6516d5a63fcd8f28e10df Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Tue, 3 Mar 2009 20:44:42 +0100 Subject: [PATCH] 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 --- THANKS | 1 + automake.in | 10 ++++------ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/THANKS b/THANKS index 240e3438c..aed4ad6db 100644 --- a/THANKS +++ b/THANKS @@ -255,6 +255,7 @@ Peter Gavin pgavin@debaser.kicks-ass.org Peter Mattis petm@scam.XCF.Berkeley.EDU Peter Muir iyhi@yahoo.com Peter O'Gorman peter@pogma.com +Peter Rosin peda@lysator.liu.se Peter Seiderer seiderer123@ciselant.de Petter Reinholdtsen pere@hungry.com Phil Edwards phil@jaj.com 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"; ## ---------------------------------- ## -- 2.47.2