Skip to content
  • Karl Wette's avatar
    LALVCSInfo: add link-time check for header-library version mismatch · 4ed6160b
    Karl Wette authored
    - generate_vcs_info.sh: add @CLEAN@ replacement, evaluates to just "CLEAN" or
      "UNCLEAN" depending of state of git repository
    - Add VCS header/library mismatch link check function LAL..._VCS_LINK_CHECK()
    - This function will successfully link only if the link check functions defined
      in the included LAL VCS info headers (e.g. LAL_VCS_LINK_CHECK() defined in
      <lal/LALVCSInfoHeader.h>) are present in the LAL libraries being linked
      against. A successful link ensures that the LAL headers included by this
      library are consistent with the LAL libraries linked against by this library.
    - Use this check in LALSUITE_HEADER_LIBRARY_MISMATCH_CHECK(). If it fails,
      print (mismatched) version information from header and library to config.log.
    - Refs #4801
    Original: c80df2c017f741d608dc9bd34bc4e24e0e992a9b
    4ed6160b