[gdal-dev] bug report -- cpl_config.h should not be installed
carandraug+dev at gmail.com
Wed Jan 27 09:42:19 PST 2016
I am using an email instead of your bug tracker because the later requires
yet another account on another site (osgeo.org).
The bug is that cpl_config.h is installed and included from other gdal
public headers (at least cpl_port.h, not sure if also from others).
Why this is an issue is an autotools FAQ "Why should config.h not be
installed?"  which also explains how to fix it. Unfortunately, the
link to the page that also explains why that is an issue is dead but it
can still be seen from the web archive .
You may not be affected by this issue until you try to make gdal work
with another project that has the same bug. Then definitions start to
Also, note that this was originally reported 9 years ago  and closed
as fixed (that doesn't look right to me). The bug is still present.
The autoconf FAQ suggests a fix.
More information about the gdal-dev