summaryrefslogtreecommitdiffstats
path: root/nsh-plugin/configure.ac
blob: 52494fabfc7c4004a5e48785c687c36660a38967 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
AC_INIT(nsh_plugin, 17.04)
AM_INIT_AUTOMAKE

AC_PROG_LIBTOOL
AM_PROG_AS
AC_PROG_CC
AM_PROG_CC_C_O
AC_CONFIG_SUBDIRS([java])
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])