[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#512834: ITP: ocaml-autoconf -- autoconf macros for OCaml



On Sat, Jan 24, 2009 at 12:23:05PM -0500, Eric Cooper wrote:
> On Sat, Jan 24, 2009 at 11:45:04AM +0100, Stefano Zacchiroli wrote:
> > RFC: this package will consists of just one file:
> > /usr/share/ocaml-autoconf/ocaml.m4 , and this puzzles me a bit as
> > overkilling.
> 
> It would be nice to include an examples dir or README file too with
> some OCaml-specific usage tips (for autoconf newbies like me).

I agree that examples would be nice.  We steer clear of introducing
autoconf in the man page.

However if you'd just like an example to work from, then have a look
at this:

  http://hg.et.redhat.com/cgi-bin/hg-virt.cgi/applications/virt-top--devel/file/tip

It's using the old version of the macros currently, but I'll be
updating it once the licensing of ocaml-autoconf is sorted out.

Files to start with:

  configure.ac
  Makefile.in
  virt-top/Makefile.in
  aclocal.m4   # this one will be ocaml.m4 in the new version

There's no substitute for the huge amount of knowledge to be gained by
reading the autoconf manual:

  http://www.gnu.org/software/autoconf/manual/autoconf.html

Rich.

-- 
Richard Jones
Red Hat


Reply to: