[project @ 1998-06-01 16:44:22 by sof]
authorsof <unknown>
Mon, 1 Jun 1998 16:44:22 +0000 (16:44 +0000)
committersof <unknown>
Mon, 1 Jun 1998 16:44:22 +0000 (16:44 +0000)
Get the concurrent syslib included for free, when -gransim\'ing or -parallel\'ing

ghc/driver/ghc.lprl

index 2afd307..d96eac2 100644 (file)
@@ -2759,9 +2759,9 @@ arg: while($_ = $Args[0]) {
 
     /^-concurrent$/ && do { $CONCURing = 'c'; &add_syslib('concurrent'); next arg; }; 
                          # concurrent Haskell; implies -syslib conc
-    /^-gransim$/    && do { $GRANing   = 'g'; next arg; }; # GranSim
+    /^-gransim$/    && do { $GRANing   = 'g'; &add_syslib('concurrent'); next arg; }; # GranSim
     /^-ticky$/     && do { $TICKYing  = 't'; next arg; }; # ticky-ticky
-    /^-parallel$/   && do { $PARing    = 'p'; next arg; }; # parallel Haskell
+    /^-parallel$/   && do { $PARing    = 'p'; &add_syslib('concurrent'); next arg; }; # parallel Haskell
 
     #-------------- "user ways" --------------------------------------------