diff options
author | Christian Ehrhardt <christian.ehrhardt@canonical.com> | 2017-07-14 08:36:39 +0200 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2017-08-07 11:42:14 -0700 |
commit | 96195c09cd2db4262f240a6a8ca7f7c9ef52b416 (patch) | |
tree | 8f0ed458a89661e5425345cab662f6e75aa18a28 /Documentation | |
parent | f2d3fef3d90253dda3e03822df2e921ec853192d (diff) | |
download | openvswitch-96195c09cd2db4262f240a6a8ca7f7c9ef52b416.tar.gz |
acinclude: Also support pkg-config for configuring dpdk.
If available use dpdk pkg-config info of libdpdk to set the right
include paths.
That for example, allows packagers to provide non default include
paths in a common way (pkg-config).
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Suggested-by: Luca Boccassi <luca.boccassi@gmail.com>
Acked-by: Luca Boccassi <luca.boccassi@gmail.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/intro/install/dpdk.rst | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Documentation/intro/install/dpdk.rst b/Documentation/intro/install/dpdk.rst index b2b91d405..842cf1a33 100644 --- a/Documentation/intro/install/dpdk.rst +++ b/Documentation/intro/install/dpdk.rst @@ -124,7 +124,11 @@ has to be configured with DPDK support (``--with-dpdk``). $ ./configure --with-dpdk=$DPDK_BUILD where ``DPDK_BUILD`` is the path to the built DPDK library. This can be - skipped if DPDK library is installed in its default location + skipped if DPDK library is installed in its default location. + + If no path is provided to ``--with-dpdk``, but a pkg-config configuration + for libdpdk is available the include paths will be generated via an + equivalent ``pkg-config --cflags libdpdk``. .. note:: While ``--with-dpdk`` is required, you can pass any other configuration |