[oe-commits] Ross Burton : xorg-driver-common: remove AC_CHECK_FILE workaround
git at git.openembedded.org
git at git.openembedded.org
Mon Nov 12 13:22:46 UTC 2012
Module: openembedded-core.git
Branch: master
Commit: 1b0d9cb1801a8eb68c82dfcda5a1da420ac8dd83
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=1b0d9cb1801a8eb68c82dfcda5a1da420ac8dd83
Author: Ross Burton <ross.burton at intel.com>
Date: Tue Nov 6 12:32:35 2012 +0000
xorg-driver-common: remove AC_CHECK_FILE workaround
The drivers don't generally use AC_CHECK_FILE anymore, so remove this
brute-force kludge. Any subsequent breakage can be worked-around in the recipe
and fixes submitted upstream.
Signed-off-by: Ross Burton <ross.burton at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
.../xorg-driver/xorg-driver-common.inc | 10 +---------
1 files changed, 1 insertions(+), 9 deletions(-)
diff --git a/meta/recipes-graphics/xorg-driver/xorg-driver-common.inc b/meta/recipes-graphics/xorg-driver/xorg-driver-common.inc
index f9f25ff..d2c9a5f 100644
--- a/meta/recipes-graphics/xorg-driver/xorg-driver-common.inc
+++ b/meta/recipes-graphics/xorg-driver/xorg-driver-common.inc
@@ -5,7 +5,7 @@ SECTION = "x11/drivers"
LICENSE = "MIT-X"
PE = "2"
-INC_PR = "r18"
+INC_PR = "r19"
DEPENDS = "virtual/xserver xproto randrproto util-macros"
@@ -18,14 +18,6 @@ FILES_${PN}-dbg += " ${libdir}/xorg/modules/drivers/.debug"
inherit autotools pkgconfig
-# AC_CHECK_FILE doesn't work when cross compiling, so we create a replacement
-# macro that simply assumes the test succeeds.
-do_configure_prepend () {
- echo 'AC_DEFUN(CC_AC_CHECK_FILE, $2)' > configure.ac.new
- sed 's/AC_CHECK_FILE/CC_AC_CHECK_FILE/g' configure.ac >> configure.ac.new
- mv configure.ac.new configure.ac
-}
-
# FIXME: We don't want to include the libtool archives (*.la) from modules
# directory, as they serve no useful purpose. Upstream should fix Makefile.am
do_install_append() {
More information about the Openembedded-commits
mailing list