Remove unnecessary and obsolete configure.ac directives
[vpp.git] / vlib / configure.ac
1 AC_INIT(vlib, 1.1)
2 LT_INIT
3 AM_INIT_AUTOMAKE
4 AM_SILENT_RULES([yes])
5
6 AC_PROG_CC
7
8 AC_ARG_WITH(dpdk,
9             AC_HELP_STRING([--with-dpdk],[Use the Intel dpdk]),
10             [with_dpdk=1],
11             [with_dpdk=0])
12
13 AC_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
21 AM_CONDITIONAL(WITH_DPDK, test "$with_dpdk" = "1")
22 AC_SUBST(DPDK,[-DDPDK=${with_dpdk}])
23 AC_SUBST(PRE_DATA_SIZE,[$with_pre_data])
24
25 AC_OUTPUT([Makefile])