Code

Rewrite the check for libdpdk
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 19 Nov 2016 16:31:23 +0000 (17:31 +0100)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 19 Nov 2016 16:31:23 +0000 (17:31 +0100)
commit8259168611932117193bcf891b1c063a619d32e3
treeb0e63d371c2971426372fdd011721d082b87d630
parentb614c13af47dab0544085f0e143fc0e190c979aa
Rewrite the check for libdpdk

This fixes various issues, like us not picking up the right include path
and testing for the library in the wrong location.

We now allow you to override the CPPFLAGS and LDFLAGS by doing
./configure LIBDPDK_CPPFLAGS="-I/path/to/your/libdpdk_headers" LIBDPDK_LDFLAGS="-L/path/to/your/libdpdk.so -Wl,--no-as-needed"

The nice thing is that these settings are now logged and remembered
between configure runs.
configure.ac
src/Makefile.am