#1334: CCTK_CHECK_HEADER_LIB_FUNC adds library multiple times to $LIBS --------------------+------------------------------------------------------- Reporter: knarf | Owner: Type: defect | Status: new Priority: minor | Milestone: ET_2013_05 Component: Cactus | Version: development version Keywords: | --------------------+------------------------------------------------------- CCTK_CHECK_HEADER_LIB_FUNC (in aclocal.m4) adds its second argument to $LIBS, every time it is called. I found 8 invocations in configure.in, each time adding the math library, resulting in a very weird (but not necessarily wrong) link line in Cactus.
I am not entirely sure about what to do here, but my best guess is that $LIBS shouldn't be changed at all after this function was called. An alternative would be to check for the existance of $2 in $LIBS before it is unconditionally added.
#1334: CCTK_CHECK_HEADER_LIB_FUNC adds library multiple times to $LIBS ---------------------+------------------------------------------------------ Reporter: knarf | Owner: Type: defect | Status: new Priority: minor | Milestone: Component: Cactus | Version: development version Resolution: | Keywords: ---------------------+------------------------------------------------------ Changes (by knarf):
* milestone: ET_2013_05 =>
trac@lists.einsteintoolkit.org