blob: 6aa08f6f454b831963894dac43fe1a5b75d091a4 [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
Damjan Marion6b1d7c52016-04-26 18:19:47 +02004AM_SILENT_RULES([yes])
Ed Warnickecb9cada2015-12-08 15:45:58 -07005
6AC_PROG_CC
Ed Warnickecb9cada2015-12-08 15:45:58 -07007
8AC_ARG_WITH(dpdk,
9 AC_HELP_STRING([--with-dpdk],[Use the Intel dpdk]),
10 [with_dpdk=1],
11 [with_dpdk=0])
12
13AC_ARG_WITH(pre-data,
14 AC_HELP_STRING([--with-pre-data],[Set buffer rewrite space]),
15 [case $with_pre_data in
16 128) ;;
17 256) ;;
18 *) with_pre_data="pre-data-not-set" ;;
19 esac], [with_pre_data=128])
20
21AM_CONDITIONAL(WITH_DPDK, test "$with_dpdk" = "1")
22AC_SUBST(DPDK,[-DDPDK=${with_dpdk}])
23AC_SUBST(PRE_DATA_SIZE,[$with_pre_data])
24
25AC_OUTPUT([Makefile])