aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorLudovic Courtès2008-02-06 15:25:57 +0100
committerLudovic Courtès2008-02-06 15:25:57 +0100
commit7c9605c117942976a80bd1d0d10c54fdddfe5fea (patch)
treeaedb6b9ec4ad5ebeaf1adcb195fd6e413c0ecda0 /configure.ac
parent5a0e5c56d3cb25c1565ff3ffae349cc9f7ec010e (diff)
downloadskribilo-7c9605c117942976a80bd1d0d10c54fdddfe5fea.tar.gz
skribilo-7c9605c117942976a80bd1d0d10c54fdddfe5fea.tar.lz
skribilo-7c9605c117942976a80bd1d0d10c54fdddfe5fea.zip
configure: Improve detection of a suitable Lout.
* configure.ac: Use `LOUT_PROGRAM' and `LOUT_REQUIRED_PACKAGE'. * m4/lout.m4: New.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 2 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index c7e9df4..a2de438 100644
--- a/configure.ac
+++ b/configure.ac
@@ -47,9 +47,8 @@ GUILE_MODULE_REQUIRED([srfi srfi-35])
GUILE_MODULE_REQUIRED([srfi srfi-37])
-# Look for Lout.
-AC_PATH_PROG([LOUT], [lout])
-AM_CONDITIONAL([HAVE_LOUT], [test "x$LOUT" != "x"])
+# Look for a suitable version of Lout.
+LOUT_PROGRAM([LOUT_REQUIRED_PACKAGE([math])])
# Look for `ps2pdf' from GhostScript.
AC_PATH_PROG([PS2PDF], [ps2pdf])