(file) Return to moreconfigure.pl CVS log (file) (dir) Up to [Development] / JSOC / Attic

Diff for /JSOC/Attic/moreconfigure.pl between version 1.11 and 1.12

version 1.11, 2011/01/19 20:40:37 version 1.12, 2011/02/02 19:49:16
Line 176  if (defined($outdir) && defined($outfile
Line 176  if (defined($outdir) && defined($outfile
     print OUTFILE "ifneq (\$(JSOC_FCOMPILER),)\n  FCOMPILER = \$(JSOC_FCOMPILER)\nendif\n\n";     print OUTFILE "ifneq (\$(JSOC_FCOMPILER),)\n  FCOMPILER = \$(JSOC_FCOMPILER)\nendif\n\n";
  
     # Set DEFAULT values for Stanford-specific (if running at Stanford) make variables.     # Set DEFAULT values for Stanford-specific (if running at Stanford) make variables.
     if (-e "suflag.txt")      if (-e "configsdp.txt")
     {     {
        my($line);        my($line);
          my($parse);
  
        if (open(SUFLAG, "<suflag.txt"))         if (open(SUFLAG, "<configsdp.txt"))
        {        {
   
             $parse = 0;
   
           while (defined($line = <SUFLAG>))           while (defined($line = <SUFLAG>))
           {           {
              chomp($line);              chomp($line);
              if ($line !~ /^#/ && $line =~ /\S+/)  
                if ($line =~ /^__LIBS__/)
                {
                   $parse = 1;
                   next;
                }
                elsif ($parse && $line =~ /^__END__/)
                {
                   last;
                }
   
                if ($parse && $line !~ /^#/ && $line =~ /\S+/)
              {              {
                 print OUTFILE "$line\n";                 print OUTFILE "$line\n";
              }              }


Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

Karen Tian
Powered by
ViewCVS 0.9.4