Changeset 0ae7ba2 for configure.in


Ignore:
Timestamp:
01/08/19 14:55:16 (21 months ago)
Author:
Shane Alcock <salcock@…>
Branches:
develop
Children:
91600c7
Parents:
fce4572
Message:

Prefer an installed .so over a .a for libdpdk.

We sometimes run into issues with building the libtrace tools
if we link against the .a (e.g. if we've installed dpdk-dev on
Debian jessie).

I think we're getting close to the point where we can consider
ignoring the .a altogether -- the .so is installed by default
by the Debian packages and our own DPDK instructions tell
people how to build the shared library -- so maybe we can
reasonably expect that there will be a .so available if we need
it and if not, then we can just build without dpdk support?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.in

    r1dc033a r0ae7ba2  
    404404        # So instead simply check for existence
    405405        if test "$RTE_SDK" != ""; then
     406                AC_CHECK_FILE("$RTE_SDK/$RTE_TARGET/lib/libdpdk.so", dpdk_found="dpdk", dpdk_found=0)
     407        fi
     408        if test "$dpdk_found" = 0 -a "$RTE_SDK" != ""; then
    406409                AC_CHECK_FILE("$RTE_SDK/$RTE_TARGET/lib/libintel_dpdk.a", dpdk_found=":libintel_dpdk.a", dpdk_found=0)
    407410        fi
     
    409412        if test "$dpdk_found" = 0 -a "$RTE_SDK" != ""; then
    410413                AC_CHECK_FILE("$RTE_SDK/$RTE_TARGET/lib/libdpdk.a", dpdk_found=":libdpdk.a", dpdk_found=0)
    411         fi
    412         if test "$dpdk_found" = 0 -a "$RTE_SDK" != ""; then
    413                 AC_CHECK_FILE("$RTE_SDK/$RTE_TARGET/lib/libdpdk.so", dpdk_found="dpdk", dpdk_found=0)
    414414        fi
    415415        if test "$dpdk_found" = 0 -a "$RTE_SDK" != ""; then
Note: See TracChangeset for help on using the changeset viewer.