pkg-config should specify header subdir

Bug #804173 reported by Justin on 2011-07-01
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Morten Kjeldgaard

Bug Description

At least coot expects the header subdir to be specified in the compile command. Therefore I propose the inclusion of the attached patch. It will never harm, but help e.g. for coot (if one relis on the pc file and not solely on the assumptions which were made in coots mmdb.m4 macro).

Revision history for this message
Justin (jlec) wrote :
Morten Kjeldgaard (mok0) on 2011-11-03
Changed in mmdb:
assignee: nobody → Morten Kjeldgaard (mok0)
status: New → Triaged
Revision history for this message
Morten Kjeldgaard (mok0) wrote :

Include directives in client programs should specify the mmdb subdirectory themselves. i.e.

#include <mmdb/mattype_.h>

rather than

#include <mattype_.h>

Distributions need to maintain this principle to avoid polluting the namespace. Suppose _another_ library provided an include file named mattype_.h, which is placed in /usr/include, then the client program would never be sure which version of the include file would be picked up, because /usr/include is always in the compilers search path.

Changed in mmdb:
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers