summaryrefslogtreecommitdiff
path: root/automake.in
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2009-03-03 20:44:42 +0100
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>2009-03-03 20:44:42 +0100
commit500f6ca793385bfa3bc6516d5a63fcd8f28e10df (patch)
treea402f9185131ce72891dab436825167d4c869617 /automake.in
parentd22169ba7c9707dd8bed90f1f2abcaeb59107ef9 (diff)
downloadautomake-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-xautomake.in10
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";
## ---------------------------------- ##