apcupsd: fix configure failure

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.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Koen Kooi
2014-01-10 08:07:09 +01:00
committed by Martin Jansa
parent bf11ef2b0d
commit 1a978eebbc
@@ -11,7 +11,8 @@ inherit autotools
LD = "${CXX}" LD = "${CXX}"
EXTRA_OECONF = "--enable-usb \ EXTRA_OECONF = "--without-x \
--enable-usb \
--with-distname=${DISTRO}" --with-distname=${DISTRO}"
do_configure() { do_configure() {