Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.in

    r6c09048 r3e5518a  
    392392fi
    393393
    394 # If we use DPDK we might be able to use libnuma
    395 AC_CHECK_LIB(numa, numa_node_to_cpus, have_numa=1, have_numa=0)
    396 
    397394# Checks for various "optional" libraries
    398395AC_CHECK_LIB(pthread, pthread_create, have_pthread=1, have_pthread=0)
     
    414411AC_CHECK_LIB(rt, clock_gettime, have_clock_gettime=1, have_clock_gettime=0)
    415412LIBS=
    416 
    417 if test "$have_numa" = 1; then
    418         LIBTRACE_LIBS="$LIBTRACE_LIBS -lnuma"
    419         AC_DEFINE(HAVE_LIBNUMA, 1, [Set to 1 if libnuma is supported])
    420         with_numa=yes
    421 else
    422         AC_DEFINE(HAVE_LIBNUMA, 0, [Set to 1 if libnuma is supported])
    423         with_numa=no
    424 fi
    425413
    426414if test "$dlfound" = 0; then
     
    457445
    458446if test "$have_clock_gettime" = 1; then
    459         LIBTRACE_LIBS="$LIBTRACE_LIBS -lrt"
    460         AC_DEFINE(HAVE_CLOCK_GETTIME, 1, [Set to 1 if clock_gettime is supported])
    461         with_clock_gettime=yes
    462 else
    463         AC_DEFINE(HAVE_CLOCK_GETTIME, 0, [Set to 1 if clock_gettime is supported])
    464         with_clock_gettime=no
     447    LIBTRACE_LIBS="$LIBTRACE_LIBS -lrt"
    465448fi
    466449
     
    704687
    705688if test x"$libtrace_dpdk" = xtrue; then
    706         AC_MSG_NOTICE([Compiled with DPDK live capture support: Yes])
    707         reportopt "Compiled with DPDK trace NUMA support" $with_numa
    708         reportopt "Compiled with clock_gettime support" $with_clock_gettime
     689    AC_MSG_NOTICE([Compiled with DPDK live capture support: Yes])
    709690elif test x"$want_dpdk" != "xno"; then
    710691#   We don't officially support DPDK so only report failure if the user
    711692#   explicitly asked for DPDK. That way, we can hopefully keep it hidden
    712693#   from most users for now...
    713 
    714         AC_MSG_NOTICE([Compiled with DPDK live capture support: No])
    715         AC_MSG_NOTICE([Note: Requires DPDK v1.5 or newer])
     694       
     695    AC_MSG_NOTICE([Compiled with DPDK live capture support: No])
     696    AC_MSG_NOTICE([Note: Requires DPDK v1.5 or newer])
    716697fi
    717698reportopt "Compiled with LLVM BPF JIT support" $JIT
Note: See TracChangeset for help on using the changeset viewer.