From 667f4fbf38fbd66b1d3309d439f9733720eb8494 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 25 Apr 2012 14:31:42 +0200 Subject: Don't try to build `.go' files with Guile < 2.0. * src/guile/Makefile.am (nobase_nodist_module_DATA): Add `skribilo/config.go' and `skribilo/utils/images.go' only when ENABLE_GUILE_VM. Reported by Roger Mason . --- src/guile/Makefile.am | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/guile/Makefile.am b/src/guile/Makefile.am index a250d97..9e959e0 100644 --- a/src/guile/Makefile.am +++ b/src/guile/Makefile.am @@ -1,4 +1,4 @@ -# Copyright 2005, 2006, 2007, 2008, 2009, 2010 Ludovic Courtès +# Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2012 Ludovic Courtès # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -80,9 +80,18 @@ include $(top_srcdir)/substitute.am include $(top_srcdir)/guile-vm.am # Generated files not part of the distribution. -nobase_nodist_module_DATA += \ - skribilo/config.scm skribilo/config.go \ - skribilo/utils/images.scm skribilo/utils/images.go +nobase_nodist_module_DATA += \ + skribilo/config.scm \ + skribilo/utils/images.scm + +if ENABLE_GUILE_VM + +nobase_nodist_module_DATA += \ + skribilo/config.go \ + skribilo/utils/images.go + +endif ENABLE_GUILE_VM + BUILT_SOURCES = skribilo/config.scm -- cgit v1.2.3