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>
This commit is contained in:
parent
99245d1741
commit
4b8bca5f9e
|
|
@ -504,12 +504,18 @@ else
|
||||||
--include_dir)
|
--include_dir)
|
||||||
shift
|
shift
|
||||||
INCLUDE="$1" ;;
|
INCLUDE="$1" ;;
|
||||||
|
--include_dir=*)
|
||||||
|
INCLUDE="${1#*=}" ;;
|
||||||
--libbpf_dir)
|
--libbpf_dir)
|
||||||
shift
|
shift
|
||||||
LIBBPF_DIR="$1" ;;
|
LIBBPF_DIR="$1" ;;
|
||||||
|
--libbpf_dir=*)
|
||||||
|
LIBBPF_DIR="${1#*=}" ;;
|
||||||
--libbpf_force)
|
--libbpf_force)
|
||||||
shift
|
shift
|
||||||
LIBBPF_FORCE="$1" ;;
|
LIBBPF_FORCE="$1" ;;
|
||||||
|
--libbpf_force=*)
|
||||||
|
LIBBPF_FORCE="${1#*=}" ;;
|
||||||
-h | --help)
|
-h | --help)
|
||||||
usage 0 ;;
|
usage 0 ;;
|
||||||
--*)
|
--*)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue