make lhapdf6 inactive and remove library renaming
autotools dependency removed
Add support for a custom built dynamic loader

- Add PatchELF utility for patching ELF binaries in post-install
  step.
- Do ELF relocation for bin/$SCRAM_ARCH and test/$SCRAM_ARCH using
  CMS_INSTALL_PREFIX.
- Relocation is only done for slc6_amd64_* (current production
  architecture for CMSSW_7_2_X).

Signed-off-by: David Abdurachmanov <David.Abdurachmanov@cern.ch>
Add Linux guards; remove LDFLAGS from C compiler

Signed-off-by: David Abdurachmanov <David.Abdurachmanov@cern.ch>
Add Linux guard macros around glibc in gcc-toolfile

Signed-off-by: David Abdurachmanov <David.Abdurachmanov@cern.ch>
cmssw-tool-conf: remove duplicate

Signed-off-by: David Abdurachmanov <David.Abdurachmanov@cern.ch>
Relocate only binaries with a custom glibc

- BuildFile must add LDFLAGS rule for a custom dynamic loader
- We only relocate ELF binaries, which were built with a dynamic
  loader from CMSDIST

Signed-off-by: David Abdurachmanov <David.Abdurachmanov@cern.ch>
Cleanup not needed parts

- Drop hard dependency on glibc in gcc-toolfile.spec
- Remove a switch allowing to control post-install relocation.
  Everything is now done based on .interp section content.
  If ELF binary has .interp with $SCRAM_ARCH/external/glibc in
  path we then do post-install relocation on it.

Signed-off-by: David Abdurachmanov <David.Abdurachmanov@cern.ch>
Merge pull request #866 from davidlt/add-interp-to-cmssw

Add support for a custom built dynamic loader.
Merge pull request #851 from mkirsano/lhapdf6_inactive

Make lhapdf6 inactive and remove library renaming
Merge remote branch 'origin/IB/CMSSW_7_2_X/stable' into IB/CMSSW_7_0_X/stable