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