Changeset 4007dbb for configure.in


Ignore:
Timestamp:
08/21/15 11:22:30 (5 years ago)
Author:
Richard Sanger <rsangerarj@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
eea427f
Parents:
76291d1
Message:

Updates the new interface to be more complete

This should work around any issues with systems without thread support.
This still remains compatible with existing code.
Examples/tools/tests still need to be updated to make use of the new interface.
And tests also need to be updated.
Adds debug memory stats as an option to configure.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.in

    r16cb2a2 r4007dbb  
    116116gcc_PURE
    117117gcc_FORMAT
     118
     119# Check for gcc style TLS (__thread)
     120gcc_TLS
    118121       
    119122# Check for libtool
     
    208211#include <net/bpf.h>
    209212])
     213
     214AC_ARG_ENABLE(memory-debugging,
     215                AS_HELP_STRING(--enable-memory-debugging, prints internal memory statistics),[
     216                if test "$HAVE_TLS" = 1
     217                then
     218                    AC_DEFINE([ENABLE_MEM_STATS], 1, [print debug memory statistics])
     219                fi
     220],[])
    210221
    211222# Configure options for man pages
Note: See TracChangeset for help on using the changeset viewer.