diff options
author | Andrea Claudi <aclaudi@redhat.com> | 2021-10-14 10:50:53 +0200 |
---|---|---|
committer | David Ahern <dsahern@kernel.org> | 2021-10-15 17:57:05 -0600 |
commit | 4b8bca5f9e3e6f210b1036166dc98801e76d8ee5 (patch) | |
tree | 437dff5cc5f64e6676cb012bc824e3400e779816 /configure | |
parent | 99245d1741a85e4397973782578d4a78673eb348 (diff) | |
download | iproute2-4b8bca5f9e3e6f210b1036166dc98801e76d8ee5.tar.gz |
configure: support --param=value style
This commit makes it possible to specify values for configure params
using the common autotools configure syntax '--param=value'.
Signed-off-by: Andrea Claudi <aclaudi@redhat.com>
Acked-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: David Ahern <dsahern@kernel.org>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -504,12 +504,18 @@ else --include_dir) shift INCLUDE="$1" ;; + --include_dir=*) + INCLUDE="${1#*=}" ;; --libbpf_dir) shift LIBBPF_DIR="$1" ;; + --libbpf_dir=*) + LIBBPF_DIR="${1#*=}" ;; --libbpf_force) shift LIBBPF_FORCE="$1" ;; + --libbpf_force=*) + LIBBPF_FORCE="${1#*=}" ;; -h | --help) usage 0 ;; --*) |