diff options
author | Matias Elo <matias.elo@nokia.com> | 2019-10-02 15:42:11 +0300 |
---|---|---|
committer | Matias Elo <matias.elo@nokia.com> | 2019-11-21 14:45:29 +0200 |
commit | 7875d267ed45acb54f9d4bcd2712758631bbf95e (patch) | |
tree | 4110687aa49b318ba19ad92cf58cc9f3d7a32160 /m4 | |
parent | 8e0251068a04564f8abe8ddcdc3492e48e512a36 (diff) |
linux-gen: rename ODP implementation internal configure defines
Rename implementation internal defines so that they stand out from the
autoheader defines.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Diffstat (limited to 'm4')
-rw-r--r-- | m4/odp_dpdk.m4 | 2 | ||||
-rw-r--r-- | m4/odp_pcap.m4 | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/m4/odp_dpdk.m4 b/m4/odp_dpdk.m4 index b84777c94..91a85303e 100644 --- a/m4/odp_dpdk.m4 +++ b/m4/odp_dpdk.m4 @@ -62,7 +62,7 @@ AS_IF([test "x$DPDK_SHARED" = "xyes"], [dnl OLD_LIBS=$LIBS LIBS="-lnuma" AC_TRY_LINK_FUNC([numa_num_configured_nodes], - [AC_DEFINE([HAVE_NUMA_LIBRARY], [1], + [AC_DEFINE([_ODP_HAVE_NUMA_LIBRARY], [1], [Define to 1 if numa library is usable]) AS_VAR_APPEND([DPDK_LIBS_LIBODP], [" -lnuma"])]) LIBS=$OLD_LIBS diff --git a/m4/odp_pcap.m4 b/m4/odp_pcap.m4 index 239ce385f..dd1c16e69 100644 --- a/m4/odp_pcap.m4 +++ b/m4/odp_pcap.m4 @@ -13,7 +13,8 @@ AC_CHECK_HEADER(pcap/pcap.h, []) if test "$have_pcap" = "yes"; then - AC_DEFINE([HAVE_PCAP], 1, [Define to 1 if you have pcap library]) + AC_DEFINE([_ODP_PKTIO_PCAP], 1, + [Define to 1 to enable pcap packet I/O support]) PCAP_LIBS="-lpcap" else PCAP_LIBS="" |