aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-generic/m4/odp_pcapng.m4
blob: af4d41f659bc27f2e636a244f30f7e8431d01092 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
##########################################################################
# Enable PCAPNG support
##########################################################################
have_pcapng=no
pcapng_support=0

AC_ARG_ENABLE([pcapng-support],
	[AS_HELP_STRING([--enable-pcapng-support],
	[enable experimental tcpdump for pktios [default=disabled]])],
	have_pcapng=$enableval
    [if test x$enableval = xyes; then
        pcapng_support=1
    fi])

AC_DEFINE_UNQUOTED([_ODP_PCAPNG], [$pcapng_support],
	[Define to 1 to enable pcapng support])

AC_CONFIG_COMMANDS_PRE([dnl
AM_CONDITIONAL([have_pcapng], [test x$have_pcapng = xyes])
])