On 08/11/2015 10:22 AM, Gilles Gouaillardet wrote:
i do not know the context, so i should not jump to any conclusion ... if xxx.h is in $HCOLL_HOME/include/hcoll in hcoll version Y, but in $HCOLL_HOME/include/hcoll/api in hcoll version Z, then the relative path to $HCOLL_HOME/include cannot be hard coded.
It can be done, by using version detection of hcoll and #if, #else around the includes. But the risk of files moving in or out of a "api" include dir (relative to another include dir in the same package) should be fairly small i think, regardless of it being hcoll or some other package.
-- Ake Sandgren, HPC2N, Umea University, S-90187 Umea, Sweden Internet: a...@hpc2n.umu.se Phone: +46 90 7866134 Fax: +46 90-580 14 Mobile: +46 70 7716134 WWW: http://www.hpc2n.umu.se