collectd: enable/disable libpq explicitly
If '--with-libpq' is not included in configure options, the configure
script will assume 'with-libpq=yes' and try to figure below variables
out with 'pg_config':
with_libpq_includedir, with_libpq_libdir
This causes configure QA errors on some hosts that have 'pg_config'
installed (which from postgresql-devel):
* ERROR: This autoconf log indicates errors, it looked at host include
and/or library paths while determining system capabilities.
Anyways the target package should not depend on any host headers/libs,
we should enable/disable the libpq support explicitly according to if
the postgresql feature was enabled.
Signed-off-by:
Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by:
Jackie Huang <jackie.huang@windriver.com>
Signed-off-by:
Martin Jansa <Martin.Jansa@gmail.com>
parent
19141207
Please register or sign in to comment