blob: 1a45d33ebbb0ca05e389fd84ac7782c2d143f49b [file] [log] [blame]
Ed Warnickecb9cada2015-12-08 15:45:58 -07001AC_INIT(vlib, 1.1)
Dave Barach2126b352016-02-10 08:42:59 -05002LT_INIT
Ed Warnickecb9cada2015-12-08 15:45:58 -07003AM_INIT_AUTOMAKE
4AM_SILENT_RULES
5
6AC_PROG_CC
7AM_PROG_CC_C_O
Ed Warnickecb9cada2015-12-08 15:45:58 -07008
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])