Print this page
make: unifdef for SGE (undefined)

@@ -506,17 +506,10 @@
                         dmake_mode_type = distributed_mode;
                         no_parallel = false;
                 } else if (IS_EQUAL(dmake_value2->string_mb, NOCATGETS("parallel"))) {
                         dmake_mode_type = parallel_mode;
                         no_parallel = false;
-#ifdef SGE_SUPPORT
-                        grid = false;
-                } else if (IS_EQUAL(dmake_value2->string_mb, NOCATGETS("grid"))) {
-                        dmake_mode_type = parallel_mode;
-                        no_parallel = false;
-                        grid = true;
-#endif
                 } else if (IS_EQUAL(dmake_value2->string_mb, NOCATGETS("serial"))) {
                         dmake_mode_type = serial_mode;
                         no_parallel = true;
                 } else {
                         fatal(catgets(catd, 1, 307, "Unknown dmake mode argument `%s' after -m flag"), dmake_value2->string_mb);

@@ -1087,16 +1080,10 @@
                                 }
                         }
                 }
         }
 
-#ifdef SGE_SUPPORT
-        /* Remove SGE script file */
-        if (grid) {
-                unlink(script_file);
-        }
-#endif
 
         /* Have we locked .make.state or .nse_depinfo? */
         if ((make_state_lockfile != NULL) && (make_state_locked)) {
                 unlink(make_state_lockfile);
                 make_state_lockfile = NULL;