summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorAndrea Claudi <aclaudi@redhat.com>2021-10-14 10:50:53 +0200
committerDavid Ahern <dsahern@kernel.org>2021-10-15 17:57:05 -0600
commit4b8bca5f9e3e6f210b1036166dc98801e76d8ee5 (patch)
tree437dff5cc5f64e6676cb012bc824e3400e779816 /configure
parent99245d1741a85e4397973782578d4a78673eb348 (diff)
downloadiproute2-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-xconfigure6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure b/configure
index 26e06eb8..9a2645d9 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 ;;
--*)