summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2012-11-13 22:24:12 +0000
committerIan Lynagh <ian@well-typed.com>2012-11-13 22:24:12 +0000
commitea301fa1787761291cf0a0a9e02b9ac8f2c7b18e (patch)
treee83506744fe14710405ef253ae62bb417ef0f6bb /aclocal.m4
parentf871ac9c67b4ad9f3c62e822e7ba10d3214aab55 (diff)
downloadhaskell-ea301fa1787761291cf0a0a9e02b9ac8f2c7b18e.tar.gz
Remove unused FP_GEN_FO and FP_PROG_FOP configure macros
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m453
1 files changed, 0 insertions, 53 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index d5065219da..9adad1ee23 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -1379,59 +1379,6 @@ fi
])# FP_CHECK_DOCBOOK_DTD
-# FP_GEN_FO
-# ------------------
-# Generates a formatting objects document in conftest.fo.
-AC_DEFUN([FP_GEN_FO],
-[rm -f conftest.fo
-cat > conftest.fo << EOF
-<?xml version="1.0"?>
-<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
- <fo:layout-master-set>
- <fo:simple-page-master master-name="blank">
- <fo:region-body/>
- </fo:simple-page-master>
- </fo:layout-master-set>
- <fo:page-sequence master-reference="blank">
- <fo:flow flow-name="xsl-region-body">
- <fo:block>
- Test!
- </fo:block>
- </fo:flow>
- </fo:page-sequence>
-</fo:root>
-EOF
-]) # FP_GEN_FO
-
-
-# FP_PROG_FOP
-# -----------
-# Set the output variable 'FopCmd' to the first working 'fop' in the current
-# 'PATH'. Note that /usr/bin/fop is broken in SuSE 9.1 (unpatched), so try
-# /usr/share/fop/fop.sh in that case (or no 'fop'), too.
-AC_DEFUN([FP_PROG_FOP],
-[AC_PATH_PROGS([FopCmd1], [fop fop.sh])
-if test -n "$FopCmd1"; then
- AC_CACHE_CHECK([for $FopCmd1 usability], [fp_cv_fop_usability],
- [FP_GEN_FO
- if "$FopCmd1" -fo conftest.fo -ps conftest.ps > /dev/null 2>&1; then
- fp_cv_fop_usability=yes
- else
- fp_cv_fop_usability=no
- fi
- rm -rf conftest*])
- if test x"$fp_cv_fop_usability" = xyes; then
- FopCmd=$FopCmd1
- fi
-fi
-if test -z "$FopCmd"; then
- AC_PATH_PROGS([FopCmd2], [fop.sh], , [/usr/share/fop])
- FopCmd=$FopCmd2
-fi
-AC_SUBST([FopCmd])
-])# FP_PROG_FOP
-
-
# FP_PROG_GHC_PKG
# ----------------
# Try to find a ghc-pkg matching the ghc mentioned in the environment variable