From: Andrea Claudi Date: Thu, 14 Oct 2021 08:50:53 +0000 (+0200) Subject: configure: support --param=value style X-Git-Tag: v5.16.0~25^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b8bca5f9e3e6f210b1036166dc98801e76d8ee5;p=thirdparty%2Fiproute2.git 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 Acked-by: Phil Sutter Signed-off-by: David Ahern --- diff --git a/configure b/configure index 26e06eb81..9a2645d9d 100755 --- a/configure +++ b/configure @@ -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 ;; --*)