x11vnc: remove old libtool macros from acinclude.m4

These can cause build problems. We only want macros in acinclude.m4 which
aren't available for aclocal to get elsewhere.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit f6db87726d)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Christopher Larson 2016-05-17 09:10:20 -07:00 committed by Armin Kuster
parent 514157c01f
commit eefd95829c

View File

@ -24,3 +24,9 @@ PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'zeroconf', 'avahi',
PACKAGECONFIG[avahi] = "--with-avahi,--without-avahi,avahi"
PACKAGECONFIG[xinerama] = "--with-xinerama,--without-xinerama,libxinerama"
PACKAGECONFIG[libvncserver] = "--with-system-libvncserver,--without-system-libvncserver,libvncserver"
do_prepare_sources () {
# Remove old libtool macros from acinclude.m4
sed -i -e '/^# libtool.m4/q' acinclude.m4
}
do_patch[postfuncs] += "do_prepare_sources"