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