Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 1 | AC_INIT(sample_plugin, 1.0) |
2 | AM_INIT_AUTOMAKE | ||||
3 | |||||
4 | AC_PROG_LIBTOOL | ||||
5 | AM_PROG_AS | ||||
6 | AC_PROG_CC | ||||
7 | AM_PROG_CC_C_O | ||||
8 | |||||
9 | AC_ARG_WITH(plugin-toolkit, | ||||
10 | AC_HELP_STRING([--with-plugin-toolkit], | ||||
11 | [build using the vpp toolkit]), | ||||
12 | [with_plugin_toolkit=${prefix}/include], | ||||
13 | [with_plugin_toolkit=.]) | ||||
14 | |||||
15 | AC_SUBST(TOOLKIT_INCLUDE,[${with_plugin_toolkit}]) | ||||
16 | AM_CONDITIONAL(WITH_PLUGIN_TOOLKIT, test "$with_plugin_toolkit" != ".") | ||||
17 | AC_OUTPUT([Makefile]) |