6rd: Move to plugin
[vpp.git] / plugins / configure.ac
1 AC_INIT(core_plugins, 1.0)
2 LT_INIT
3 AM_INIT_AUTOMAKE
4
5 AM_PROG_AS
6 AC_PROG_CC
7 AM_PROG_CC_C_O
8
9 AC_ARG_ENABLE(tests,
10               AC_HELP_STRING([--enable-tests], [Build unit tests]),
11               [enable_tests=1],
12               [enable_tests=0])
13
14 AC_ARG_WITH(plugin-toolkit,
15             AC_HELP_STRING([--with-plugin-toolkit],
16             [build using the vpp toolkit]),
17             [with_plugin_toolkit=${prefix}/include],
18             [with_plugin_toolkit=.])
19
20 AC_SUBST(TOOLKIT_INCLUDE,[${with_plugin_toolkit}])
21 AM_CONDITIONAL(WITH_PLUGIN_TOOLKIT, test "$with_plugin_toolkit" != ".")
22 AM_CONDITIONAL(ENABLE_TESTS, test "$enable_tests" = "1")
23 AC_OUTPUT([Makefile])