summaryrefslogtreecommitdiffstats
path: root/plugins/snat-plugin/configure.ac
blob: 9af139e40736b3b5c61263b4fc02710c46a7101e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
AC_INIT(snat_plugin, 1.0)
AM_INIT_AUTOMAKE
AM_SILENT_RULES([yes])
AC_PREFIX_DEFAULT([/usr])

AC_PROG_LIBTOOL
AC_PROG_CC

AC_ARG_WITH(dpdk,
            AC_HELP_STRING([--with-dpdk],[Use the Intel dpdk]),
            [with_dpdk=1],
            [with_dpdk=0])

AM_CONDITIONAL(WITH_DPDK, test "$with_dpdk" = "1")
AC_SUBST(DPDK,["-DDPDK=${with_dpdk}"])

AC_OUTPUT([Makefile])