apcupsd: fix configure failure
authorKoen Kooi <koen@dominion.thruhere.net>
Fri, 10 Jan 2014 07:07:09 +0000 (08:07 +0100)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:35:18 +0000 (08:35 -0800)
configure looks in host paths for X, so disable X. This fixes:

ERROR: This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities.

(From meta-openembedded rev: 1a978eebbcd8e0d967f56d3b91fb777a23d7264a)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-oe/recipes-support/apcupsd/apcupsd_3.14.10.bb

index 5ab92fc..07b8ccb 100644 (file)
@@ -11,7 +11,8 @@ inherit autotools
 
 LD = "${CXX}"
 
-EXTRA_OECONF = "--enable-usb \
+EXTRA_OECONF = "--without-x \
+                --enable-usb \
                 --with-distname=${DISTRO}"
 
 do_configure() {