Revision: 765 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=765&view=rev Author: hyperair Date: 2009-06-21 22:25:00 +0000 (Sun, 21 Jun 2009)
Log Message: ----------- Add GeanyVC to autotools build system
Modified Paths: -------------- trunk/geany-plugins/Makefile.am trunk/geany-plugins/configure.ac
Added Paths: ----------- trunk/geany-plugins/build/geanyvc.m4 trunk/geany-plugins/geanyvc/Makefile.am trunk/geany-plugins/geanyvc/src/Makefile.am
Modified: trunk/geany-plugins/Makefile.am =================================================================== --- trunk/geany-plugins/Makefile.am 2009-06-21 21:22:24 UTC (rev 764) +++ trunk/geany-plugins/Makefile.am 2009-06-21 22:25:00 UTC (rev 765) @@ -5,6 +5,7 @@ geanylipsum \ geanylua \ geanysendmail \ + geanyvc \ shiftcolumn \ spellcheck
Added: trunk/geany-plugins/build/geanyvc.m4 =================================================================== --- trunk/geany-plugins/build/geanyvc.m4 (rev 0) +++ trunk/geany-plugins/build/geanyvc.m4 2009-06-21 22:25:00 UTC (rev 765) @@ -0,0 +1,21 @@ +AC_DEFUN([GP_CHECK_GEANYVC], +[ + AC_ARG_ENABLE([gtkspell], + AC_HELP_STRING([--disable-gtkspell], + [Disables gtkspell support in GeanyVC]), + [enable_gtkspell=$enableval], + [enable_gtkspell=yes]) + + if [[ x"$enable_gtkspell" = "xyes" ]]; then + PKG_CHECK_MODULES(GTKSPELL, [gtkspell-2.0], + [AM_CONDITIONAL([USE_GTKSPELL], true)], + [AM_CONDITIONAL([USE_GTKSPELL], false)]) + else + AM_CONDITIONAL([USE_GTKSPELL], false) + fi + + AC_CONFIG_FILES([ + geanyvc/Makefile + geanyvc/src/Makefile + ]) +])
Modified: trunk/geany-plugins/configure.ac =================================================================== --- trunk/geany-plugins/configure.ac 2009-06-21 21:22:24 UTC (rev 764) +++ trunk/geany-plugins/configure.ac 2009-06-21 22:25:00 UTC (rev 765) @@ -38,6 +38,7 @@ GP_CHECK_GEANYLIPSUM GP_CHECK_GEANYLUA GP_CHECK_GEANYSENDMAIL +GP_CHECK_GEANYVC GP_CHECK_SHIFTCOLUMN GP_CHECK_SPELLCHECK
Added: trunk/geany-plugins/geanyvc/Makefile.am =================================================================== --- trunk/geany-plugins/geanyvc/Makefile.am (rev 0) +++ trunk/geany-plugins/geanyvc/Makefile.am 2009-06-21 22:25:00 UTC (rev 765) @@ -0,0 +1,4 @@ +include $(top_srcdir)/build/vars.auxfiles.mk + +SUBDIRS = src +plugin = geanyvc
Added: trunk/geany-plugins/geanyvc/src/Makefile.am =================================================================== --- trunk/geany-plugins/geanyvc/src/Makefile.am (rev 0) +++ trunk/geany-plugins/geanyvc/src/Makefile.am 2009-06-21 22:25:00 UTC (rev 765) @@ -0,0 +1,24 @@ +include $(top_srcdir)/build/vars.build.mk + +geanyplugins_LTLIBRARIES = geanyvc.la +geanyvc_la_SOURCES = \ + externdiff.c \ + geanyvc.c \ + utils.c \ + vc_bzr.c \ + vc_cvs.c \ + vc_git.c \ + vc_hg.c \ + vc_svk.c \ + vc_svn.c \ + geanyvc.h + +geanyvc_la_CFLAGS = $(AM_CFLAGS) +geanyvc_la_LIBADD = $(COMMONLIBS) + +if USE_GTKSPELL +geanyvc_la_CFLAGS += \ + -DUSE_GTKSPELL=1 \ + $(GTKSPELL_CFLAGS) +geanyvc_la_LIBADD += $(GTKSPELL_LIBS) +endif
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.