Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 1 | AC_INIT(sample_plugin, 1.0) |
Dave Barach | 2126b35 | 2016-02-10 08:42:59 -0500 | [diff] [blame] | 2 | LT_INIT |
Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 3 | AM_INIT_AUTOMAKE |
| 4 | |
Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 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]) |