summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/collectd
diff options
context:
space:
mode:
authorWenzong Fan <wenzong.fan@windriver.com>2014-04-08 17:07:48 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2014-04-20 11:10:13 +0200
commit438d363331b110c06554bda630e2a2a3f7ab1739 (patch)
tree1f453a6b86eb06b91b587c260f4b27b6e696178c /meta-oe/recipes-extended/collectd
parent19141207ba0861a892b8bd6f65d5dde665fbeaa9 (diff)
downloadmeta-openembedded-438d363331b110c06554bda630e2a2a3f7ab1739.tar.gz
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>
Diffstat (limited to 'meta-oe/recipes-extended/collectd')
-rw-r--r--meta-oe/recipes-extended/collectd/collectd_5.2.2.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-oe/recipes-extended/collectd/collectd_5.2.2.bb b/meta-oe/recipes-extended/collectd/collectd_5.2.2.bb
index 25be1c4d1..4eed2b6e1 100644
--- a/meta-oe/recipes-extended/collectd/collectd_5.2.2.bb
+++ b/meta-oe/recipes-extended/collectd/collectd_5.2.2.bb
@@ -23,7 +23,8 @@ PACKAGECONFIG ??= ""
23PACKAGECONFIG[snmp] = "--enable-snmp,--disable-snmp --with-libnetsnmp=no,net-snmp" 23PACKAGECONFIG[snmp] = "--enable-snmp,--disable-snmp --with-libnetsnmp=no,net-snmp"
24PACKAGECONFIG[libmemcached] = "--with-libmemcached,--without-libmemcached,libmemcached" 24PACKAGECONFIG[libmemcached] = "--with-libmemcached,--without-libmemcached,libmemcached"
25PACKAGECONFIG[iptables] = "--enable-iptables,--disable-iptables,iptables" 25PACKAGECONFIG[iptables] = "--enable-iptables,--disable-iptables,iptables"
26PACKAGECONFIG[postgresql] = "--enable-postgresql,--disable-postgresql,postgresql" 26PACKAGECONFIG[postgresql] = "--enable-postgresql --with-libpq=yes, \
27 --disable-postgresql --with-libpq=no,postgresql"
27PACKAGECONFIG[dbi] = "--enable-dbi,--disable-dbi,libdbi" 28PACKAGECONFIG[dbi] = "--enable-dbi,--disable-dbi,libdbi"
28PACKAGECONFIG[modbus] = "--enable-modbus,--disable-modbus,libmodbus" 29PACKAGECONFIG[modbus] = "--enable-modbus,--disable-modbus,libmodbus"
29PACKAGECONFIG[libowcapi] = "--with-libowcapi,--without-libowcapi,owfs" 30PACKAGECONFIG[libowcapi] = "--with-libowcapi,--without-libowcapi,owfs"