From: Ralf Wildenhues Date: Tue, 3 Mar 2009 19:44:42 +0000 (+0100) Subject: Fix `use constant' usage for MSYS Perl 5.6.0. X-Git-Tag: v1.10b~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=500f6ca793385bfa3bc6516d5a63fcd8f28e10df;p=thirdparty%2Fautomake.git 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 --- 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"; ## ---------------------------------- ##