LOGIN / SIGN UP

#271 erratic build dependency tracking with pkg-config macros

Reported by: carenas Assigned to: pekdon
Phase: release-0.1.13 Component: configuration
Type: bug Status: closed
Priority: 3: Medium
Watchers:

Description

This problem was reported before in bug #56 but the root cause wasn't solved as explained in the last comment.

The problem is that the PKG_PROG_PKG_CONFIG is defined as part of the calls to check for Truetype or PNG support (through PKG_CHECK_EXISTS) and that code is called conditionally depending on the flags that were passed to configure, therefore resulting on side effects like getting png support disabled when --disable-xft is used as shown by (from any release, including HEAD on git) :

  $ ./configure --disable-xft | grep png | grep checking
  checking for libpng12... checking for libpng... no
  $ ./configure | grep png | grep checking   
  checking for libpng12... no
  checking for libpng... yes

the solution as spelled out in acinclude.m4 is to add an explicit call for PKG_PROG_PKG_CONFIG in configure.ac

2010-07-12

20:25:28 to release-0.1.13
20:25:28 changed from new to closed
20:25:28 to configuration
20:25:28

Applied patch from the mailing list, closing.