ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitAna/macros/rootlogon.C
(Generate patch)

Comparing UserCode/MitAna/macros/rootlogon.C (file contents):
Revision 1.1 by loizides, Tue May 27 19:59:54 2008 UTC vs.
Revision 1.2 by paus, Tue Jun 3 07:21:28 2008 UTC

# Line 1 | Line 1
1   // $Id$
2  
3   {
4 <  if(1) {
5 <    if(gSystem->Getenv("CMSSW_VERSION")) {
6 <      if(gSystem->Load("libFWCoreFWLite.so")==0) {
7 <        AutoLibraryLoader::enable();
8 <        //AutoLibraryLoader::loadAll();
9 <
10 <        ::Info("rootlogon.C",
11 <               "Setting up for %s", gSystem->Getenv("CMSSW_VERSION"));
12 <      }
13 <
14 <      if(1) {
15 <        TString str = gSystem->GetMakeSharedLib();
16 <        if(str.Contains("-m32")==0 && str.Contains("-m64")==0) {
17 <          str.ReplaceAll("g++", "g++ -m32");
18 <          gSystem->SetMakeSharedLib(str);
19 <        }
20 <      }
4 >  if (gSystem->Getenv("CMSSW_VERSION")) {
5 >    TString str = gSystem->GetMakeSharedLib();
6 >    if (str.Contains("-m32")==0 && str.Contains("-m64")==0) {
7 >      str.ReplaceAll("g++", "g++ -m32");
8 >      gSystem->SetMakeSharedLib(str);
9      }
10    }
11 <
11 >  
12    gROOT->Macro("$CMSSW_BASE/src/MitAna/macros/setRootEnv.C+");
13   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines