configure.ac revision adff8bfb
1AC_INIT(turbotap, 1.0)
2LT_INIT
3AM_INIT_AUTOMAKE
4
5AM_PROG_AS
6AC_PROG_CC
7AM_PROG_CC_C_O
8
9AC_ARG_WITH(dpdk,
10            AC_HELP_STRING([--with-dpdk],[Use the Intel dpdk]),
11            [with_dpdk=1],
12            [with_dpdk=0])
13
14AC_ARG_WITH(plugin-toolkit,
15            AC_HELP_STRING([--with-plugin-toolkit],
16            [build using the vpp toolkit]),
17            [with_plugin_toolkit=${prefix}/include],
18            [with_plugin_toolkit=.])
19
20AM_CONDITIONAL(WITH_DPDK, test "$with_dpdk" = "1")
21AC_SUBST(DPDK,["-DDPDK=1"])
22
23AC_SUBST(TOOLKIT_INCLUDE,[${with_plugin_toolkit}])
24AM_CONDITIONAL(WITH_PLUGIN_TOOLKIT, test "$with_plugin_toolkit" != ".")
25
26AC_OUTPUT([Makefile])
27