From Axel Naumann: when rootcint fails in Aclic, the compiler is invoked to check the code. This did not work when the macro to be compiled is a header, as the compiler refuse to compile headers. This happens e.g when compiling MakeProxy generated code (yes, Philippe warned me :-).
From Axel Naumann:
when rootcint fails in Aclic, the compiler is invoked to check the code. This
did not work when the macro to be compiled is a header, as the compiler refuse
to compile headers. This happens e.g when compiling MakeProxy generated code
(yes, Philippe warned me :-).

The attached patch fixes that. A temporary gSystem->Link() is created to a
*.check.cxx file if the filename is a header, and the compiler is then invoked
on this *check.cxx file. I also attached a test case (.L TestHeader.h+).


git-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@11065 27541ba8-7e3a-0410-8455-c3a389f83636

arch1tect0r/root,zzxuanyuan/root-compressor-dummy,buuck/root,smarinac/root,tc3t/qoot,gganis/root,beniz/root,esakellari/my_root_for_test,mattkretz/root,0x0all/ROOT,alexschlueter/cern-root,gbitzes/root,olifre/root,nilqed/root,Y--/root,vukasinmilosevic/root,georgtroska/root,beniz/root,mhuwiler/rootauto,dfunke/root,omazapa/root,BerserkerTroll/root,georgtroska/root,buuck/root,davidlt/root,agarciamontoro/root,esakellari/root,pspe/root,simonpf/root,CristinaCristescu/root,zzxuanyuan/root,jrtomps/root,alexschlueter/cern-root,omazapa/root,bbockelm/root,Dr15Jones/root,lgiommi/root,arch1tect0r/root,sawenzel/root,georgtroska/root,olifre/root,karies/root,georgtroska/root,smarinac/root,pspe/root,davidlt/root,omazapa/root,arch1tect0r/root,lgiommi/root,buuck/root,karies/root,agarciamontoro/root,satyarth934/root,simonpf/root,gganis/root,mattkretz/root,strykejern/TTreeReader,dfunke/root,thomaskeck/root,Duraznos/root,arch1tect0r/root,sbinet/cxx-root,omazapa/root,sawenzel/root,abhinavmoudgil95/root,agarciamontoro/root,satyarth934/root,evgeny-boger/root,arch1tect0r/root,georgtroska/root,agarciamontoro/root,krafczyk/root,gbitzes/root,lgiommi/root,simonpf/root,smarinac/root,krafczyk/root,simonpf/root,karies/root,nilqed/root,root-mirror/root,BerserkerTroll/root,bbockelm/root,simonpf/root,georgtroska/root,tc3t/qoot,tc3t/qoot,buuck/root,smarinac/root,omazapa/root-old,krafczyk/root,zzxuanyuan/root-compressor-dummy,smarinac/root,0x0all/ROOT,olifre/root,omazapa/root-old,mattkretz/root,veprbl/root,omazapa/root,mhuwiler/rootauto,esakellari/my_root_for_test,esakellari/my_root_for_test,agarciamontoro/root,abhinavmoudgil95/root,sirinath/root,BerserkerTroll/root,karies/root,BerserkerTroll/root,root-mirror/root,veprbl/root,Duraznos/root,mkret2/root,vukasinmilosevic/root,evgeny-boger/root,strykejern/TTreeReader,sbinet/cxx-root,omazapa/root-old,Y--/root,satyarth934/root,zzxuanyuan/root,root-mirror/root,agarciamontoro/root,zzxuanyuan/root,satyarth934/root,simonpf/root,buuck/root,jrtomps/root,bbockelm/root,bbockelm/root,buuck/root,bbockelm/root,evgeny-boger/root,cxx-hep/root-cern,gganis/root,evgeny-boger/root,zzxuanyuan/root-compressor-dummy,thomaskeck/root,kirbyherm/root-r-tools,jrtomps/root,Dr15Jones/root,agarciamontoro/root,abhinavmoudgil95/root,gganis/root,zzxuanyuan/root-compressor-dummy,Duraznos/root,georgtroska/root,cxx-hep/root-cern,abhinavmoudgil95/root,ffurano/root5,pspe/root,abhinavmoudgil95/root,perovic/root,Y--/root,pspe/root,davidlt/root,dfunke/root,sawenzel/root,vukasinmilosevic/root,esakellari/my_root_for_test,CristinaCristescu/root,sirinath/root,abhinavmoudgil95/root,root-mirror/root,evgeny-boger/root,esakellari/root,smarinac/root,olifre/root,mattkretz/root,omazapa/root,veprbl/root,mhuwiler/rootauto,root-mirror/root,georgtroska/root,Duraznos/root,thomaskeck/root,tc3t/qoot,lgiommi/root,mkret2/root,esakellari/my_root_for_test,omazapa/root,zzxuanyuan/root,evgeny-boger/root,arch1tect0r/root,alexschlueter/cern-root,BerserkerTroll/root,root-mirror/root,nilqed/root,davidlt/root,beniz/root,karies/root,nilqed/root,bbockelm/root,satyarth934/root,pspe/root,bbockelm/root,0x0all/ROOT,Y--/root,Dr15Jones/root,root-mirror/root,zzxuanyuan/root,Duraznos/root,Duraznos/root,esakellari/root,mhuwiler/rootauto,esakellari/root,mhuwiler/rootauto,evgeny-boger/root,karies/root,vukasinmilosevic/root,sawenzel/root,jrtomps/root,perovic/root,alexschlueter/cern-root,veprbl/root,omazapa/root-old,esakellari/my_root_for_test,ffurano/root5,sbinet/cxx-root,zzxuanyuan/root-compressor-dummy,krafczyk/root,abhinavmoudgil95/root,sawenzel/root,strykejern/TTreeReader,perovic/root,esakellari/root,jrtomps/root,olifre/root,agarciamontoro/root,thomaskeck/root,perovic/root,strykejern/TTreeReader,veprbl/root,simonpf/root,perovic/root,perovic/root,mhuwiler/rootauto,CristinaCristescu/root,alexschlueter/cern-root,satyarth934/root,root-mirror/root,vukasinmilosevic/root,ffurano/root5,omazapa/root,mattkretz/root,smarinac/root,sirinath/root,zzxuanyuan/root,davidlt/root,cxx-hep/root-cern,jrtomps/root,sirinath/root,tc3t/qoot,sbinet/cxx-root,mkret2/root,pspe/root,gbitzes/root,mkret2/root,nilqed/root,satyarth934/root,kirbyherm/root-r-tools,esakellari/my_root_for_test,arch1tect0r/root,buuck/root,beniz/root,0x0all/ROOT,zzxuanyuan/root-compressor-dummy,dfunke/root,esakellari/my_root_for_test,dfunke/root,sirinath/root,bbockelm/root,karies/root,esakellari/root,CristinaCristescu/root,evgeny-boger/root,agarciamontoro/root,perovic/root,jrtomps/root,Dr15Jones/root,sbinet/cxx-root,georgtroska/root,beniz/root,omazapa/root-old,perovic/root,Dr15Jones/root,CristinaCristescu/root,kirbyherm/root-r-tools,pspe/root,arch1tect0r/root,ffurano/root5,sbinet/cxx-root,ffurano/root5,arch1tect0r/root,davidlt/root,sirinath/root,dfunke/root,smarinac/root,omazapa/root-old,satyarth934/root,agarciamontoro/root,CristinaCristescu/root,sbinet/cxx-root,cxx-hep/root-cern,Duraznos/root,omazapa/root-old,alexschlueter/cern-root,simonpf/root,zzxuanyuan/root-compressor-dummy,zzxuanyuan/root-compressor-dummy,gbitzes/root,mattkretz/root,thomaskeck/root,Y--/root,jrtomps/root,esakellari/root,CristinaCristescu/root,nilqed/root,perovic/root,mhuwiler/rootauto,dfunke/root,dfunke/root,lgiommi/root,lgiommi/root,dfunke/root,buuck/root,CristinaCristescu/root,zzxuanyuan/root,bbockelm/root,buuck/root,Dr15Jones/root,Y--/root,mattkretz/root,gbitzes/root,abhinavmoudgil95/root,esakellari/my_root_for_test,mhuwiler/rootauto,davidlt/root,strykejern/TTreeReader,sbinet/cxx-root,cxx-hep/root-cern,simonpf/root,thomaskeck/root,lgiommi/root,jrtomps/root,strykejern/TTreeReader,buuck/root,esakellari/root,davidlt/root,karies/root,pspe/root,abhinavmoudgil95/root,lgiommi/root,kirbyherm/root-r-tools,arch1tect0r/root,olifre/root,zzxuanyuan/root-compressor-dummy,perovic/root,vukasinmilosevic/root,evgeny-boger/root,nilqed/root,tc3t/qoot,jrtomps/root,sbinet/cxx-root,davidlt/root,gbitzes/root,Duraznos/root,0x0all/ROOT,esakellari/root,thomaskeck/root,mkret2/root,omazapa/root-old,Y--/root,gbitzes/root,kirbyherm/root-r-tools,olifre/root,vukasinmilosevic/root,gganis/root,evgeny-boger/root,omazapa/root,mkret2/root,esakellari/root,mattkretz/root,sbinet/cxx-root,omazapa/root,beniz/root,nilqed/root,tc3t/qoot,mattkretz/root,gganis/root,alexschlueter/cern-root,gbitzes/root,karies/root,omazapa/root-old,arch1tect0r/root,krafczyk/root,CristinaCristescu/root,mattkretz/root,0x0all/ROOT,thomaskeck/root,omazapa/root,tc3t/qoot,thomaskeck/root,Duraznos/root,nilqed/root,krafczyk/root,beniz/root,veprbl/root,lgiommi/root,BerserkerTroll/root,satyarth934/root,beniz/root,gganis/root,olifre/root,zzxuanyuan/root,ffurano/root5,zzxuanyuan/root,gganis/root,CristinaCristescu/root,sawenzel/root,mkret2/root,Y--/root,Duraznos/root,strykejern/TTreeReader,gganis/root,BerserkerTroll/root,gbitzes/root,veprbl/root,sbinet/cxx-root,0x0all/ROOT,omazapa/root-old,thomaskeck/root,olifre/root,BerserkerTroll/root,satyarth934/root,dfunke/root,cxx-hep/root-cern,veprbl/root,vukasinmilosevic/root,sirinath/root,simonpf/root,mkret2/root,veprbl/root,esakellari/my_root_for_test,davidlt/root,gganis/root,zzxuanyuan/root-compressor-dummy,krafczyk/root,root-mirror/root,simonpf/root,gbitzes/root,agarciamontoro/root,bbockelm/root,lgiommi/root,Duraznos/root,kirbyherm/root-r-tools,tc3t/qoot,vukasinmilosevic/root,krafczyk/root,olifre/root,davidlt/root,zzxuanyuan/root,smarinac/root,georgtroska/root,veprbl/root,vukasinmilosevic/root,krafczyk/root,jrtomps/root,perovic/root,0x0all/ROOT,veprbl/root,Dr15Jones/root,Y--/root,kirbyherm/root-r-tools,root-mirror/root,mkret2/root,sirinath/root,BerserkerTroll/root,krafczyk/root,omazapa/root-old,tc3t/qoot,satyarth934/root,smarinac/root,nilqed/root,beniz/root,beniz/root,gganis/root,mkret2/root,dfunke/root,esakellari/root,mhuwiler/rootauto,nilqed/root,root-mirror/root,karies/root,georgtroska/root,mhuwiler/rootauto,pspe/root,karies/root,mhuwiler/rootauto,abhinavmoudgil95/root,sawenzel/root,zzxuanyuan/root,cxx-hep/root-cern,cxx-hep/root-cern,krafczyk/root,bbockelm/root,CristinaCristescu/root,Y--/root,lgiommi/root,mattkretz/root,sirinath/root,pspe/root,sawenzel/root,gbitzes/root,mkret2/root,zzxuanyuan/root,BerserkerTroll/root,buuck/root,Y--/root,BerserkerTroll/root,sirinath/root,sawenzel/root,zzxuanyuan/root-compressor-dummy,olifre/root,evgeny-boger/root,sawenzel/root,sirinath/root,0x0all/ROOT,beniz/root,vukasinmilosevic/root,sawenzel/root,pspe/root,ffurano/root5,abhinavmoudgil95/root