Opened 6 years ago

Last modified 6 years ago

#1334 new defect

CCTK_CHECK_HEADER_LIB_FUNC adds library multiple times to $LIBS

Reported by: Frank Löffler Owned by:
Priority: minor Milestone:
Component: Cactus Version: development version
Keywords: Cc:


CCTK_CHECK_HEADER_LIB_FUNC (in aclocal.m4) adds its second argument to $LIBS, every time it is called. I found 8 invocations 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.

Attachments (0)

Change History (1)

comment:1 Changed 6 years ago by Frank Löffler

Milestone: ET_2013_05

Modify Ticket

Change Properties
Set your email in Preferences
as new The ticket will remain with no owner.
Next status will be 'review'.
as The resolution will be set.
to The owner will be changed from (none) to the specified user.
Next status will be 'confirmed'.
The owner will be changed from (none) to anonymous.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.