blob: a570389e3fb311922fca58a48265854d58cd8c95 [file] [log] [blame]
Ed Warnickecb9cada2015-12-08 15:45:58 -07001AC_INIT(vnet, 1.1)
2AM_INIT_AUTOMAKE
3AM_SILENT_RULES
4
5AC_PROG_CC
6AM_PROG_CC_C_O
7AC_PROG_LIBTOOL
8AM_PROG_AS
9
10AC_ARG_WITH(dpdk,
11 AC_HELP_STRING([--with-dpdk],[Use the Intel dpdk]),
12 [with_dpdk=1],
13 [with_dpdk=0])
14
15AC_ARG_WITH(virl,
16 AC_HELP_STRING([--with-virl],[Compile for virl citizenship]),
17 [with_virl=1],
18 [with_virl=0])
19
20AM_CONDITIONAL(WITH_DPDK, test "$with_dpdk" = "1")
21AC_SUBST(DPDK,[-DDPDK=${with_dpdk}])
22
23AM_CONDITIONAL(WITH_VIRL, test "$with_virl" = "1")
24AC_SUBST(VIRL,[-DVIRL=${with_virl}])
25
26AC_OUTPUT([Makefile])