]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
Fix `use constant' usage for MSYS Perl 5.6.0.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Tue, 3 Mar 2009 19:44:42 +0000 (20:44 +0100)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Tue, 3 Mar 2009 19:44:42 +0000 (20:44 +0100)
* 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>
THANKS
automake.in

diff --git a/THANKS b/THANKS
index 240e3438cd44961850596de04a02551cd6379784..aed4ad6dbe54c0f229a246fda6d2ab1cba86527a 100644 (file)
--- 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
index 156dfba1c93a6506154592bb33ea1f529c8a654f..67ee0d213a6668278f6fe99a6a41653c5c912714 100755 (executable)
@@ -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";
 \f
 
 ## ---------------------------------- ##