blob: 4fdcff12aaa84c03492c9c165e0bc792f77e5165 [file] [log] [blame]
Ed Warnickecb9cada2015-12-08 15:45:58 -07001AC_INIT(vlib, 1.1)
2AM_INIT_AUTOMAKE
3AM_SILENT_RULES
4
5AC_PROG_CC
6AM_PROG_CC_C_O
7AC_PROG_LIBTOOL
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(pre-data,
15 AC_HELP_STRING([--with-pre-data],[Set buffer rewrite space]),
16 [case $with_pre_data in
17 128) ;;
18 256) ;;
19 *) with_pre_data="pre-data-not-set" ;;
20 esac], [with_pre_data=128])
21
22AM_CONDITIONAL(WITH_DPDK, test "$with_dpdk" = "1")
23AC_SUBST(DPDK,[-DDPDK=${with_dpdk}])
24AC_SUBST(PRE_DATA_SIZE,[$with_pre_data])
25
26AC_OUTPUT([Makefile])