[Gc] bdw-gc.pc: Cflags: -I${includedir}/pc ?

Petter Urkedal urkedal at nbi.dk
Thu Aug 23 00:13:39 PDT 2007

On 2007-08-21, Rex Dieter wrote:
> In gc-7.0, bdw-gc.pc includes:
> Cflags: -I${includedir}
> shouldn't that be:
> Cflags: -I${includedir}/gc

That's a matter of opinion.  Many libraries are installed so that you
use one directory-prefix in the include headers, as in

    #include <glib/gdir.h>
    #include <gsl/gsl_cblas.h>

When I submitted boehm-gc.pc which is now bdw-gc.pc, I went with this
convention also because before the .pc file existed, people must have
used a gc/ prefix in their includes.

More information about the Gc mailing list