summaryrefslogtreecommitdiffstats
path: root/plugins/sample-plugin/configure.ac
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2016-05-23 11:01:58 -0400
committerDave Barach <dave@barachs.net>2016-05-23 11:02:11 -0400
commite36af5f3153e27d97021e5ac170c4513c195ed92 (patch)
tree001a05611876c82c0eb1761235a1df21e0a2ea7a /plugins/sample-plugin/configure.ac
parent78ea9c2869967693b77949ec154deef6340d01f5 (diff)
Create /plugins directory, move sample-plugin
Change-Id: Ia58923c7c98dc04c027c8c5879a4dc5f5b144b8a Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'plugins/sample-plugin/configure.ac')
-rw-r--r--plugins/sample-plugin/configure.ac17
1 files changed, 17 insertions, 0 deletions
diff --git a/plugins/sample-plugin/configure.ac b/plugins/sample-plugin/configure.ac
new file mode 100644
index 00000000000..7defc83d033
--- /dev/null
+++ b/plugins/sample-plugin/configure.ac
@@ -0,0 +1,17 @@
+AC_INIT(sample_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])