aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/snat-plugin/configure.ac
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2016-06-26 10:42:08 -0400
committerKeith Burns <alagalah@gmail.com>2016-07-01 18:20:13 +0000
commit20c02cb133cf7b8a0570b83acf927d5a0d601a36 (patch)
treec5358223dab1b0be982fd0f29d8414868393247f /plugins/snat-plugin/configure.ac
parentb8dca74c232d6f177479d644dc3359b82772ea9e (diff)
Simple ip4 NAT plugin
Change-Id: Iffe77bf2a05ced41474540ff54a842101aad7c41 Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'plugins/snat-plugin/configure.ac')
-rw-r--r--plugins/snat-plugin/configure.ac27
1 files changed, 27 insertions, 0 deletions
diff --git a/plugins/snat-plugin/configure.ac b/plugins/snat-plugin/configure.ac
new file mode 100644
index 00000000000..e43437d2690
--- /dev/null
+++ b/plugins/snat-plugin/configure.ac
@@ -0,0 +1,27 @@
+
+AC_INIT(snat_plugin, 1.0)
+AM_INIT_AUTOMAKE
+
+AC_PROG_LIBTOOL
+AM_PROG_AS
+AC_PROG_CC
+AM_PROG_CC_C_O
+
+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_ARG_WITH(plugin-toolkit,
+ AC_HELP_STRING([--with-plugin-toolkit],
+ [build using the vpp toolkit]),
+ [with_plugin_toolkit=${prefix}/include],
+ [with_plugin_toolkit=.])
+
+AC_SUBST(TOOLKIT_INCLUDE,[${with_plugin_toolkit}])
+AM_CONDITIONAL(WITH_PLUGIN_TOOLKIT, test "$with_plugin_toolkit" != ".")
+
+AC_OUTPUT([Makefile])