jconway / plr

PL/R - R Procedural Language for PostgreSQL
http://www.joeconway.com
90 stars 41 forks source link

Fix pkg-config way of finding R header files #4

Closed petere closed 11 years ago

petere commented 11 years ago

The MacPorts installation has the header filed distributed across two different directories, so there is no single "rincludedir" to query from pkg-config. Instead, do it the proper way and ask pkg-config for the cflags, which should work for all installation variants.

See also http://stackoverflow.com/a/14508505/98530 .

jconway commented 11 years ago

applied -- thanks!