[ET Trac] [Einstein Toolkit] #1334: CCTK_CHECK_HEADER_LIB_FUNC adds library multiple times to $LIBS
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Wed Apr 24 09:31:50 CDT 2013
#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.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1334>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list