Changeset b663d33 for configure.in


Ignore:
Timestamp:
05/18/18 11:39:59 (3 years ago)
Author:
Shane Alcock <salcock@…>
Branches:
cachetimestamps, develop, etsilive, master, rc-4.0.4, ringdecrementfix, ringperformance
Children:
00365c6
Parents:
df87f00
git-author:
Shane Alcock <salcock@…> (12/18/17 18:10:37)
git-committer:
Shane Alcock <salcock@…> (05/18/18 11:39:59)
Message:

etsilive format is now functional (for single-threaded only).

Packets are decoded using libwandder. The ETSI headers are treated
as a meta-data layer.

Libpacketdump support has also been added for all fields and
structures that libwandder understands.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.in

    rdf87f00 rb663d33  
    459459AC_CHECK_LIB(numa, numa_node_to_cpus, have_numa=1, have_numa=0)
    460460
     461# Need libwandder for ETSI live decoding
     462AC_CHECK_LIB(wandder, init_wandder_decoder, have_wandder=1, have_wandder=0)
     463
    461464# Checks for various "optional" libraries
    462465AC_CHECK_LIB(pthread, pthread_create, have_pthread=1, have_pthread=0)
     
    490493fi
    491494
     495if test "$have_wandder" = 1; then
     496        LIBTRACE_LIBS="$LIBTRACE_LIBS -lwandder"
     497        AC_DEFINE(HAVE_WANDDER, 1, [Set to 1 if libwandder is available])
     498        wandder_avail=yes
     499else
     500        AC_DEFINE(HAVE_WANDDER, 0, [Set to 1 if libwandder is available])
     501        wandder_avail=no
     502fi
     503
    492504if test "$dlfound" = 0; then
    493505        AC_MSG_ERROR("Unable to find dlopen. Please use LDFLAGS to specify the location of libdl and re-run configure")
     
    515527else
    516528        have_crypto=no
    517 fi
    518 
    519 if test "$asn1found" = 1; then
    520         AC_DEFINE(HAVE_LIBTASN1, 1, [Set to 1 if libtasn1 is available])
    521         LIBTRACE_LIBS="$LIBTRACE_LIBS -ltasn1"
    522         TOOLS_LIBS="$TOOLS_LIBS -ltasn1"
    523         have_asn1=yes
    524 else
    525         have_asn1=no
    526529fi
    527530
     
    624627AM_CONDITIONAL([HAVE_DAG], [test "$libtrace_dag" = true])
    625628AM_CONDITIONAL([HAVE_DPDK], [test "$libtrace_dpdk" = true])
     629AM_CONDITIONAL([HAVE_WANDDER], [test "x$wandder_avail" = "xyes"])
    626630AM_CONDITIONAL([DAG2_4], [test "$libtrace_dag_version" = 24])
    627631AM_CONDITIONAL([DAG2_5], [test "$libtrace_dag_version" = 25])
     
    705709fi
    706710reportopt "Compiled with LLVM BPF JIT support" $JIT
    707 reportopt "Compiled with live ETSI LI support (requires libtasn1)" $have_asn1
     711reportopt "Compiled with live ETSI LI support (requires libwandder)" $wandder_avail
    708712reportopt "Building man pages/documentation" $libtrace_doxygen
    709713reportopt "Building tracetop (requires libncurses)" $with_ncurses
Note: See TracChangeset for help on using the changeset viewer.