aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-connectivity
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2011-07-21 13:54:33 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2011-07-21 21:10:46 +0200
commit6d30a1f529038189a2f6e228066050d6b203baac (patch)
tree3bedb887248a939fc61a86808e28f36515375e85 /meta-oe/recipes-connectivity
parent059369b22fddb5e69536d37c29cb064c3d1372ae (diff)
downloadmeta-openembedded-contrib-6d30a1f529038189a2f6e228066050d6b203baac.tar.gz
connman: remove if_alg.h test from configure
* we're not building alg-test and if_alg.h needs newer linux-libc-headers than many distributions prefer now Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-connectivity')
-rw-r--r--meta-oe/recipes-connectivity/connman/connman_0.76.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-oe/recipes-connectivity/connman/connman_0.76.bb b/meta-oe/recipes-connectivity/connman/connman_0.76.bb
index 8257be5a3b..cb84caaff4 100644
--- a/meta-oe/recipes-connectivity/connman/connman_0.76.bb
+++ b/meta-oe/recipes-connectivity/connman/connman_0.76.bb
@@ -25,7 +25,9 @@ SRC_URI = "\
SRC_URI[md5sum] = "59b4cfd9fa4f736f7a2d88ee0c758fe9"
SRC_URI[sha256sum] = "bf58fa72454bb63033da8f847a4709dbdfe64c000056a93a7504240cb31c1321"
-# alg-test doesn't build, so disable that
+# alg-test doesn't build, so disable that and test for if_alg.h as this header is only in 2.6.39
do_configure_prepend() {
sed -i 's:tools/alg-test ::g' Makefile.am
+ sed -i 's:AC_CHECK_HEADERS(linux/if_alg.h, dummy=yes,::g;
+ s:AC_MSG_ERROR(User-space algorithm header files are required))::g' configure.ac
}