[PATCH] libnl: Support disabling python support.
greearb at candelatech.com
greearb at candelatech.com
Wed Nov 16 00:06:24 EST 2011
From: Ben Greear <greearb at candelatech.com>
This helped me cross-compile libnl for ARM.
Signed-off-by: Ben Greear <greearb at candelatech.com>
---
:100644 100644 e91b51f... 3dff5b4... M configure.in
configure.in | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/configure.in b/configure.in
index e91b51f..3dff5b4 100644
--- a/configure.in
+++ b/configure.in
@@ -67,6 +67,11 @@ AC_ARG_ENABLE([cli],
[enable_cli="$enableval"], [enable_cli="yes"])
AM_CONDITIONAL([ENABLE_CLI], [test "$enable_cli" = "yes"])
+AC_ARG_ENABLE([python],
+ AS_HELP_STRING([--disable-python], [Do not build python related code]),
+ [enable_python="$enableval"], [enable_python="yes"])
+AM_CONDITIONAL([ENABLE_PYTHON], [test "$enable_python" = "yes"])
+
AC_CHECK_LIB([m], [pow], [], AC_MSG_ERROR([libm is required]))
AC_CHECK_LIB([pthread], [pthread_mutex_lock], [], AC_MSG_ERROR([libpthread is required]))
--
1.7.3.4
More information about the libnl
mailing list