blob: 652ddb5f674c54edf798f2073c7dcb9b438e1eea [file] [log] [blame]
Ed Warnickecb9cada2015-12-08 15:45:58 -07001AC_INIT(vpe-api-test, 1.0)
2AM_INIT_AUTOMAKE
3
4AC_PROG_LIBTOOL
5AM_PROG_AS
6AC_PROG_CC
7AM_PROG_CC_C_O
8
9AC_ARG_WITH(q-plugin-prefix,
10 AC_HELP_STRING([--with-q-plugin-prefix],[vlib plugin prefix]),
11 [case $with_q_plugin_prefix in
12 *) ;;
13 esac])
14
15AC_ARG_WITH(q-platform,
16 AC_HELP_STRING([--with-q-platform],[Build version for given platform (qnative)]),
17 [case $with_q_platform in
18 qnative) ;;
19 vpe) with_q_platform=vpe;;
20 *) with_q_platform=qnative;;
21 esac])
22
23AC_ARG_WITH(dpdk,
24 AC_HELP_STRING([--with-dpdk],[Use the Intel dpdk]),
25 [with_dpdk=1],
26 [with_dpdk=0])
27
28AC_SUBST(Q_PLATFORM_DEFINE,[-DQ_PLATFORM_${with_q_platform}])
29AC_SUBST(Q_PLATFORM_PLUGPATH,[-DQ_PLUGIN_PREFIX=${with_q_plugin_prefix}])
30AC_SUBST(DPDK,[-DDPDK=${with_dpdk}])
31AM_CONDITIONAL(WITH_DPDK, test "$with_dpdk" = "1")
32
33AC_OUTPUT([Makefile])