Issue 124157

Summary: CoinMP header should be included with "coin/" if SYSTEM_COINMP is defined
Product: Calc Reporter: Ted Ralphs <tkralphs>
Component: codeAssignee: AOO issues mailing list <issues>
Status: UNCONFIRMED --- QA Contact:
Severity: Normal    
Priority: P3 CC: issues, tkralphs
Version: 4.1.0-dev   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description Ted Ralphs 2014-01-31 19:07:02 UTC
When the option --with-system-coinmp is used in building Open Office and the include directory is determined by pkgconfig, the directory already includes the trailing "coin/" and thus, including "coin/CoinMP.h" fails. This inclusion works fine if the header file is in a system location, since CoinMP installs into <prefix>/coin by default. The issue is with these lines in sccomp/source/solver/solver.cxx:

#include <coin/CoinMP.h>
#include <coinmp/CoinMP.h>

The second line should be

#include <CoinMP.h>

if the include directory is determined by pkg-config (which is currently how things work).