generic-poky/meta/recipes-connectivity/connman/connman/disable_alg-test.patch

47 lines
1.4 KiB
Diff

From 3ebba424d56919018733064ad9e0ab8790d2bf1d Mon Sep 17 00:00:00 2001
From: Otavio Salvador <otavio@ossystems.com.br>
Date: Fri, 16 Dec 2011 19:31:59 -0200
Subject: [PATCH] Disable building of alg-test
alg-test utility depends on linux/if_alg.h header that is only
available on kernels >= 2.6.39.
Upstream-Status: Inappropriate [configuration]
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
Makefile.am | 2 +-
configure.ac | 3 ---
2 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index a6509f1..93618a3 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -145,7 +145,7 @@ noinst_PROGRAMS += tools/wispr tools/supplicant-test \
tools/dbus-test tools/polkit-test \
tools/iptables-test tools/tap-test tools/wpad-test \
tools/stats-tool tools/private-network-test \
- tools/alg-test unit/test-session unit/test-ippool \
+ unit/test-session unit/test-ippool \
unit/test-nat
tools_wispr_SOURCES = $(gweb_sources) tools/wispr.c
diff --git a/configure.ac b/configure.ac
index 3dca02e..3b2da4d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -419,9 +419,6 @@ if (test "${enable_tools}" = "yes"); then
AC_MSG_ERROR(GnuTLS library is required))
AC_SUBST(GNUTLS_CFLAGS)
AC_SUBST(GNUTLS_LIBS)
-
- AC_CHECK_HEADERS(linux/if_alg.h, dummy=yes,
- AC_MSG_ERROR(User-space algorithm header files are required))
fi
AM_CONDITIONAL(TOOLS, test "${enable_tools}" = "yes")
--
1.7.9.1