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: ecbadac9c76e8cf640a0bca86f6bd796c98521e3@11065 27541ba8-7e3a-0410-8455-c3a389f83636

dawehner/root,bbannier/ROOT,dawehner/root,dawehner/root,bbannier/ROOT,bbannier/ROOT,dawehner/root,bbannier/ROOT,bbannier/ROOT,bbannier/ROOT,bbannier/ROOT,dawehner/root,dawehner/root,dawehner/root,dawehner/root