Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 528290 - sys-devel/autoconf: honor PKG_CHECK_MODULES C/LDFLAGS
Summary: sys-devel/autoconf: honor PKG_CHECK_MODULES C/LDFLAGS
Status: RESOLVED DUPLICATE of bug 528254
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-05 10:19 UTC by tokiclover
Modified: 2014-11-05 13:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tokiclover 2014-11-05 10:19:38 UTC
I have encountered an issue related to honoring PKG_CHECK_MODULES related C/LDFLAGS.

For example writing down `PKG_CHECK_MODULES([CORE],[fontconfig x11 xext])' won't generate CORE_C/LDFLAGS accordingly. See bug #528254 which should be marked as a duplicate of this one instead.

I've encountered this bug on other packages but I was too busy to debug it.

This actually goes down to a broken `configure' script which have:
---
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CORE" >&5
$as_echo_n "checking for CORE... " >&6; }

if test -n "$CORE_CFLAGS"; then
(...)
if test -n "$CORE_LIBS"; then
(...)
fi
---
instead of
---
(...)
if test -z "$CORE_CFLAGS"; then
(...)
if test -z "$CORE_LIBS"; then
(...)
fi
---
which would honor C/LDFLAGS by executing the related lines.

Lets locate the origin of those lines to be able to fix the issue.

Reproducible: Always
Comment 1 tokiclover 2014-11-05 12:25:01 UTC
So this is related to the underlinking issue (see bug #372079).
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-11-05 13:31:21 UTC

*** This bug has been marked as a duplicate of bug 528254 ***