aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorLudovic Courtès2008-02-08 11:25:35 +0100
committerLudovic Courtès2008-02-08 11:25:35 +0100
commitf532bd147bf93121c179179be4205bab5ba955ae (patch)
tree27f74b94aa93eaf2efee15a5216778a595ecc968 /configure.ac
parentb0727a8288ba6518920f411e76b9148731b8c2bd (diff)
downloadskribilo-f532bd147bf93121c179179be4205bab5ba955ae.tar.gz
skribilo-f532bd147bf93121c179179be4205bab5ba955ae.tar.lz
skribilo-f532bd147bf93121c179179be4205bab5ba955ae.zip
configure: Look for `convert' and `fig2dev'.
* NEWS, README: Update. * configure.ac: Look for `convert' and `fig2dev'. Produce `src/guile/skribilo/utils/images.scm'. * src/guile/skribilo/utils/images.scm.in: Use Autoconf substitution.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index a2de438..2cb6833 100644
--- a/configure.ac
+++ b/configure.ac
@@ -47,6 +47,15 @@ GUILE_MODULE_REQUIRED([srfi srfi-35])
GUILE_MODULE_REQUIRED([srfi srfi-37])
+# Look for `convert', from ImageMagick.
+AC_PATH_PROG([CONVERT], [convert])
+if test "x$CONVERT" == "x"; then
+ AC_MSG_ERROR([The `convert' program was not found. Please install ImageMagick.])
+fi
+
+# Look for `fig2dev', from Xfig/Transfig.
+AC_PATH_PROG([FIG2DEV], [fig2dev], [fig2dev])
+
# Look for a suitable version of Lout.
LOUT_PROGRAM([LOUT_REQUIRED_PACKAGE([math])])
@@ -85,6 +94,7 @@ AC_OUTPUT([Makefile
src/guile/Makefile
src/guile/skribilo/Makefile
src/guile/skribilo/utils/Makefile
+ src/guile/skribilo/utils/images.scm
src/guile/skribilo/engine/Makefile
src/guile/skribilo/reader/Makefile
src/guile/skribilo/package/Makefile