Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Jean-Christophe Filliatre <Jean-Christophe.Filliatre@lri.fr>
To: caml-list@inria.fr
Subject: autoconf input for ocaml applications
Date: Tue, 31 Oct 2000 17:15:14 +0100 (MET)	[thread overview]
Message-ID: <14846.61458.287540.597548@pc803> (raw)


Hello ocamlers,

I wrote an autoconf input  for ocaml applications that could be useful
for others. It is available here (together with a suggested Makefile):

    http://www.lri.fr/~filliatr/software.en.html

It checks for  ocaml compilers and tools and  determines the following
variables:

   OCAMLC        "ocamlc" if present in the path, or a failure;
                 or "ocamlc.opt" if present with same version number as ocamlc
   OCAMLOPT      "ocamlopt" (or "ocamlopt.opt" if present), or "no"
   OCAMLBEST     either "byte" if no native compiler was found, 
                 or "opt" otherwise
   OCAMLDEP      "ocamldep"
   OCAMLLEX      "ocamllex"
   OCAMLYACC     "ocamlyac"
   OCAMLLIB      the path to the ocaml standard library
   OCAMLVERSION  the ocaml version number

Then it  is easy  to write  a Makefile compiling  with the  best ocaml
compiler available without requiring the  user to specify which one it
is. (Similarly for installation issues.)

CREDITS: this  autoconf input was built  on one sent to  me by Georges
Mariano.

-- 
Jean-Christophe FILLIATRE
  mailto:Jean-Christophe.Filliatre@lri.fr
  http://www.lri.fr/~filliatr



             reply	other threads:[~2000-10-31 16:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-31 16:15 Jean-Christophe Filliatre [this message]
2000-10-31 17:27 ` Michael Hicks

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=14846.61458.287540.597548@pc803 \
    --to=jean-christophe.filliatre@lri.fr \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox