Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

32 lines (27 sloc) 1.034 kB
AC_DEFUN([GP_CHECK_GEANYVC],
[
GP_ARG_DISABLE([GeanyVC], [yes])
GP_STATUS_PLUGIN_ADD([GeanyVC], [$enable_geanyvc])
AC_ARG_ENABLE(gtkspell,
AC_HELP_STRING([--enable-gtkspell=ARG],
[Enable GtkSpell support in GeanyVC. [[default=auto]]]),,
enable_gtkspell=auto)
if [[ x"$enable_gtkspell" = "xauto" ]]; then
PKG_CHECK_MODULES(GTKSPELL, gtkspell-2.0,
enable_gtkspell=yes, enable_gtkspell=no)
elif [[ x"$enable_gtkspell" = "xyes" ]]; then
PKG_CHECK_MODULES(GTKSPELL, [gtkspell-2.0])
fi
if [[ x"$enable_gtkspell" = "xyes" ]]; then
AC_DEFINE(USE_GTKSPELL, 1, [GtkSpell support])
fi
if [[ "$enable_gtkspell" = yes -a "$enable_geanyvc" = no ]]; then
AC_MSG_WARN([GtkSpell support for GeanyVC enabled, but GeanyVC itself not enabled.])
fi
GP_STATUS_FEATURE_ADD([GeanyVC GtkSpell support], [$enable_gtkspell])
AC_CONFIG_FILES([
geanyvc/Makefile
geanyvc/src/Makefile
geanyvc/tests/Makefile
])
])
Jump to Line
Something went wrong with that request. Please try again.