Commit 102d8a00 authored by Karl Wette's avatar Karl Wette
Browse files

Remove *_VCS_INFO_CHECK_* functions from ABI for LAL library release versions

- A LAL library release version has LAL*_VERSION_DEVEL == 0
parent 00d7c953
......@@ -137,6 +137,7 @@ const LALVCSInfoList lal@PACKAGE_NAME_NOLAL@VCSInfoList = {
NULL
};
#if @PACKAGE_NAME_UCASE@_VERSION_DEVEL != 0
/*
* VCS header/library mismatch link check function:
* This function will successfully link only if the link check functions defined
......@@ -147,7 +148,6 @@ const LALVCSInfoList lal@PACKAGE_NAME_NOLAL@VCSInfoList = {
*/
void @PACKAGE_NAME_UCASE@_VCS_LINK_CHECK(void)
{
#if @PACKAGE_NAME_UCASE@_VERSION_DEVEL != 0
#if defined(HAVE_LIBLAL) && LAL_VERSION_DEVEL != 0
LAL_VCS_LINK_CHECK();
#endif
......@@ -181,5 +181,5 @@ void @PACKAGE_NAME_UCASE@_VCS_LINK_CHECK(void)
#if defined(HAVE_LIBLALSTOCHASTIC) && LALSTOCHASTIC_VERSION_DEVEL != 0
LALSTOCHASTIC_VCS_LINK_CHECK();
#endif
#endif
}
#endif
......@@ -45,9 +45,11 @@ extern "C" {
#define @PACKAGE_NAME_UCASE@_VCS_CLEAN "@CLEAN@"
#define @PACKAGE_NAME_UCASE@_VCS_STATUS "@STATUS@"
#if @PACKAGE_NAME_UCASE@_VERSION_DEVEL != 0
/* VCS header/library mismatch link check function */
#define @PACKAGE_NAME_UCASE@_VCS_LINK_CHECK @PACKAGE_NAME_UCASE@_@CLEAN@_@ID@_VCS_HEADER_LIBRARY_MISMATCH
void @PACKAGE_NAME_UCASE@_VCS_LINK_CHECK(void);
#endif
#ifdef __cplusplus
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment