build: make prefix option accept a list of strings
authorStefan Becker <chemobejk@gmail.com>
Thu, 27 Jun 2019 09:22:53 +0000 (12:22 +0300)
committerStefan Becker <chemobejk@gmail.com>
Thu, 27 Jun 2019 16:52:31 +0000 (19:52 +0300)
commitd4bc4fa35b5ea745195d116e1329fac6ad28dd5b
tree086e2df18d190361d08da70ac3fd53dae07abc91
parent7b4b46f97c2d37da38eba4637dcf040105269772
build: make prefix option accept a list of strings

The parameter for the ignored network interface prefix build option
accepts a comma-separated string now. This list will be converted to a
comma-separated list of string literals for the C code.

Disable the feature:

   ./configure ...
   ./configure --with-ignored-network-interface-prefix= ...
   meson setup -D ignored-network-interface-prefix= ...
   meson setup -D ignored-network-interface-prefix=[] ...

Ignore interfaces whose names start with "virbr":

   ./configure --with-ignored-network-interface-prefix=virbr ...
   meson setup -D ignored-network-interface-prefix=virbr ...

Ignore interfaces whose names start with "virbr" or "veth":

   ./configure --with-ignored-network-interface-prefix=virbr,veth ...
   meson setup -D ignored-network-interface-prefix=virbr,veth ...
configure.ac
meson.build
meson_options.txt