summaryrefslogtreecommitdiff
path: root/support/ocaml.m4
diff options
context:
space:
mode:
authorOlivier Andrieu <oandrieu@gmail.com>2005-01-26 00:54:14 +0000
committerHezekiah M. Carty <hcarty@atmos.umd.edu>2009-06-18 13:57:26 -0400
commit80b67ef8c98b8b32314b1a6c1a1ab70b42b3d032 (patch)
tree5e7ca67ed67bfaa0d892094b0b5c28873714fe86 /support/ocaml.m4
parent2f8d01e49ad6b650aaf098f28fb918d31ec602e4 (diff)
Add PDF backend
* sync with Cairo snapshot 0.3.0
Diffstat (limited to 'support/ocaml.m4')
-rw-r--r--support/ocaml.m414
1 files changed, 7 insertions, 7 deletions
diff --git a/support/ocaml.m4 b/support/ocaml.m4
index 1211fe7..8804361 100644
--- a/support/ocaml.m4
+++ b/support/ocaml.m4
@@ -17,7 +17,7 @@ dnl
dnl OCAMLMKTOP
dnl OCAMLMKLIB
dnl OCAMLDOC
-AC_DEFUN(AC_PROG_OCAML,
+AC_DEFUN([AC_PROG_OCAML],
[dnl
# checking for ocamlc
AC_CHECK_PROG(OCAMLC,ocamlc,ocamlc,AC_MSG_ERROR(Cannot find ocamlc.))
@@ -94,7 +94,7 @@ dnl
dnl macro AC_PROG_OCAML_TOOLS will check OCamllex and OCamlyacc :
dnl OCAMLLEX "ocamllex" or "ocamllex.opt" if present
dnl OCAMLYACC "ocamlyac"
-AC_DEFUN(AC_PROG_OCAML_TOOLS,
+AC_DEFUN([AC_PROG_OCAML_TOOLS],
[dnl
# checking for ocamllex and ocamlyacc
AC_CHECK_PROG(OCAMLLEX,ocamllex,ocamllex,AC_MSG_ERROR(Cannot find ocamllex.))
@@ -114,7 +114,7 @@ dnl
dnl
dnl
dnl AC_PROG_CAMLP4 checks for Camlp4
-AC_DEFUN(AC_PROG_CAMLP4,
+AC_DEFUN([AC_PROG_CAMLP4],
[dnl
AC_REQUIRE([AC_PROG_OCAML])
# checking for camlp4
@@ -135,7 +135,7 @@ dnl
dnl
dnl macro AC_PROG_FINDLIB will check for the presence of
dnl ocamlfind if configure is called with --with-findlib
-AC_DEFUN(AC_PROG_FINDLIB,
+AC_DEFUN([AC_PROG_FINDLIB],
[dnl
AC_ARG_WITH(findlib,[ --with-findlib use findlib package system],
use_findlib="$withval")
@@ -153,7 +153,7 @@ dnl
dnl
dnl AC_CHECK_OCAML_PKG checks wether a findlib package is present
dnl defines pkg_name to name
-AC_DEFUN(AC_CHECK_OCAML_PKG,
+AC_DEFUN([AC_CHECK_OCAML_PKG],
[dnl
AC_REQUIRE([AC_PROG_FINDLIB])
if test "$use_findlib" = yes ; then
@@ -171,7 +171,7 @@ dnl
dnl
dnl
dnl AC_ARG_OCAML_INSTALLDIR adds a --with-installdir option
-AC_DEFUN(AC_ARG_OCAML_INSTALLDIR,
+AC_DEFUN([AC_ARG_OCAML_INSTALLDIR],
[dnl
AC_ARG_WITH(installdir,[ --with-installdir=DIR specify installation directory],INSTALLDIR="$withval")
if ! test "$INSTALLDIR" -o "$use_findlib" ; then
@@ -187,7 +187,7 @@ dnl 1 -> name (for printing)
dnl 2 -> env var name
dnl 3 -> module to check
dnl 4 -> default dirs
-AC_DEFUN(AC_CHECK_OCAML_MODULE,
+AC_DEFUN([AC_CHECK_OCAML_MODULE],
[dnl
AC_MSG_CHECKING($1 directory)
cat > conftest.ml <<EOF