Ticket #254 (defect)

Opened 4 months ago

using pkg-config's <foo>_CFLAGS is wrong when you want the CPPFLAGS.

Status: new

Reported by: eb Assigned to: nobody
Priority: normal Milestone: to-be-decided
Component: build Version: 3.1svn
Keywords: Cc:

config/pkg.m4 should be modified so that it returns

  • <FOO>_CPPFLAGS
  • <FOO>_CFLAGS
  • <FOO>_CXXFLAGS

Using <FOO>_CFLAGS when what we really want is just the -I stuff (CPPFLAGS) leads to problems, for example with SWIG. Also, using CFLAGS when you mean CXXFLAGS is also wrong.