[fondue-commits] [SCM] Fondue is an editor for outline fonts. branch, master, updated. be2770d89b13cd0f95b63da08ee13609948141ae

Eugeniy Meshcheryakov eugen at debian.org
Tue Aug 14 14:51:09 UTC 2007


The branch, master has been updated
       via  be2770d89b13cd0f95b63da08ee13609948141ae (commit)
      from  c598f3702697991c0499546caf5b9e114289b99b (commit)


- Log -----------------------------------------------------------------
commit be2770d89b13cd0f95b63da08ee13609948141ae
Author: Eugeniy Meshcheryakov <eugen at debian.org>
Date:   Tue Aug 14 16:50:41 2007 +0200

    add check for xsltproc

-----------------------------------------------------------------------

Summary of changes:
 Makefile.am  |    2 +-
 configure.ac |    7 ++++++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 2895567..2250fb9 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -20,6 +20,6 @@ EXTRA_DIST += data/instructions.xml
 	$(MOC) $< -o $@
 
 .xsl.tbl.cxx:
-	xsltproc -o $@ $< $(DATAFILE)
+	$(XSLTPROC) -o $@ $< $(DATAFILE)
 
 INCLUDES = -I$(srcdir)/src -I$(srcdir)/ruby -I$(srcdir)/gui -I$(srcdir)/nongui
diff --git a/configure.ac b/configure.ac
index 6c5e6b4..dc08384 100644
--- a/configure.ac
+++ b/configure.ac
@@ -57,7 +57,12 @@ int main(int argc, char **argv)
 please make sure that you have recent version of ruby installed (>= 1.8.6).])])
 CPPFLAGS=${saved_CPPFLAGS}
 
-## TODO detect xsltproc
+AC_ARG_VAR([XSLTPROC], [XSLT processor command (xsltproc-compatible)])
+AC_PATH_PROGS([XSLTPROC], [xsltproc])
+if test -z "$XSLTPROC"
+then
+        AC_MSG_ERROR([xsltproc required but not found])
+fi
 
 AC_CONFIG_FILES([Makefile])
 AC_OUTPUT

-- 
Fondue is an editor for outline fonts.



More information about the fondue-commits mailing list