aboutsummaryrefslogtreecommitdiffstats
path: root/sample-plugin/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'sample-plugin/configure.ac')
-rw-r--r--sample-plugin/configure.ac17
1 files changed, 17 insertions, 0 deletions
diff --git a/sample-plugin/configure.ac b/sample-plugin/configure.ac
new file mode 100644
index 00000000000..0007d0c0371
--- /dev/null
+++ b/sample-plugin/configure.ac
@@ -0,0 +1,17 @@
+AC_INIT(sample_plugin, 1.0)
+AM_INIT_AUTOMAKE
+
+AC_PROG_LIBTOOL
+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])