summaryrefslogtreecommitdiffstats
path: root/plugins/sixrd-plugin/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/sixrd-plugin/configure.ac')
-rw-r--r--plugins/sixrd-plugin/configure.ac17
1 files changed, 17 insertions, 0 deletions
diff --git a/plugins/sixrd-plugin/configure.ac b/plugins/sixrd-plugin/configure.ac
new file mode 100644
index 00000000..c00a23bb
--- /dev/null
+++ b/plugins/sixrd-plugin/configure.ac
@@ -0,0 +1,17 @@
+AC_INIT(sixrd_plugin, 1.0)
+LT_INIT
+AM_INIT_AUTOMAKE
+
+AM_PROG_AS
+AC_PROG_CC
+AM_PROG_CC_C_O
+
+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])