|
|
6bcb30 |
From fd03755c5b59a7c197dc9089494c08780f1669a7 Mon Sep 17 00:00:00 2001
|
|
|
6bcb30 |
Message-Id: <fd03755c5b59a7c197dc9089494c08780f1669a7.1637678195.git.aclaudi@redhat.com>
|
|
|
6bcb30 |
In-Reply-To: <b30268eda844bdebbb8e5e4f5735e3b1bb666368.1637678195.git.aclaudi@redhat.com>
|
|
|
6bcb30 |
References: <b30268eda844bdebbb8e5e4f5735e3b1bb666368.1637678195.git.aclaudi@redhat.com>
|
|
|
6bcb30 |
From: Andrea Claudi <aclaudi@redhat.com>
|
|
|
6bcb30 |
Date: Tue, 23 Nov 2021 15:28:18 +0100
|
|
|
6bcb30 |
Subject: [PATCH] configure: support --param=value style
|
|
|
6bcb30 |
|
|
|
6bcb30 |
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2016061
|
|
|
6bcb30 |
Upstream Status: iproute2.git commit 4b8bca5f
|
|
|
6bcb30 |
|
|
|
6bcb30 |
commit 4b8bca5f9e3e6f210b1036166dc98801e76d8ee5
|
|
|
6bcb30 |
Author: Andrea Claudi <aclaudi@redhat.com>
|
|
|
6bcb30 |
Date: Thu Oct 14 10:50:53 2021 +0200
|
|
|
6bcb30 |
|
|
|
6bcb30 |
configure: support --param=value style
|
|
|
6bcb30 |
|
|
|
6bcb30 |
This commit makes it possible to specify values for configure params
|
|
|
6bcb30 |
using the common autotools configure syntax '--param=value'.
|
|
|
6bcb30 |
|
|
|
6bcb30 |
Signed-off-by: Andrea Claudi <aclaudi@redhat.com>
|
|
|
6bcb30 |
Acked-by: Phil Sutter <phil@nwl.cc>
|
|
|
6bcb30 |
Signed-off-by: David Ahern <dsahern@kernel.org>
|
|
|
6bcb30 |
---
|
|
|
6bcb30 |
configure | 6 ++++++
|
|
|
6bcb30 |
1 file changed, 6 insertions(+)
|
|
|
6bcb30 |
|
|
|
6bcb30 |
diff --git a/configure b/configure
|
|
|
6bcb30 |
index 26e06eb8..9a2645d9 100755
|
|
|
6bcb30 |
--- a/configure
|
|
|
6bcb30 |
+++ b/configure
|
|
|
6bcb30 |
@@ -504,12 +504,18 @@ else
|
|
|
6bcb30 |
--include_dir)
|
|
|
6bcb30 |
shift
|
|
|
6bcb30 |
INCLUDE="$1" ;;
|
|
|
6bcb30 |
+ --include_dir=*)
|
|
|
6bcb30 |
+ INCLUDE="${1#*=}" ;;
|
|
|
6bcb30 |
--libbpf_dir)
|
|
|
6bcb30 |
shift
|
|
|
6bcb30 |
LIBBPF_DIR="$1" ;;
|
|
|
6bcb30 |
+ --libbpf_dir=*)
|
|
|
6bcb30 |
+ LIBBPF_DIR="${1#*=}" ;;
|
|
|
6bcb30 |
--libbpf_force)
|
|
|
6bcb30 |
shift
|
|
|
6bcb30 |
LIBBPF_FORCE="$1" ;;
|
|
|
6bcb30 |
+ --libbpf_force=*)
|
|
|
6bcb30 |
+ LIBBPF_FORCE="${1#*=}" ;;
|
|
|
6bcb30 |
-h | --help)
|
|
|
6bcb30 |
usage 0 ;;
|
|
|
6bcb30 |
--*)
|
|
|
6bcb30 |
--
|
|
|
6bcb30 |
2.31.1
|
|
|
6bcb30 |
|