# --enable-make-plugin=yes/no
AC_ARG_ENABLE([make-plugin],
              [AS_HELP_STRING([--enable-make-plugin=@<:@yes/no@:>@],
                              [Build with support for Makefile integration.])],
              [enable_make_plugin=$enableval],
              [enable_make_plugin=yes])

# for if ENABLE_MAKE_PLUGIN in Makefile.am
AM_CONDITIONAL(ENABLE_MAKE_PLUGIN, test x$enable_make_plugin = xyes)

# Ensure our make is generated by autoconf
AC_CONFIG_FILES([plugins/make/Makefile])
