AC_INIT(@PLUGIN@-config.h.in)
AM_CONFIG_HEADER(@PLUGIN@-config.h)
AM_INIT_AUTOMAKE(hexchat-@PLUGIN@, @PLUGIN_VERSION@)
AM_MAINTAINER_MODE
AM_DISABLE_STATIC
AM_PROG_LIBTOOL

AC_ARG_WITH(plugin-includes,
[  --with-plugin-includes  directory containing hexchat-plugin.h],
	PLUGIN_INCLUDES=$enableval)

AC_SUBST(PLUGIN_INCLUDES)

hexchatlibdir=${libdir}/hexchat
AC_SUBST(hexchatlibdir)

AC_OUTPUT(
Makefile
)
