Previous Entry Share Next Entry
04:04 pm, 13 Apr 04

ocaml, autoconf

Regexp/OCaml looks pretty impressive.

I took over ocaml-sqlite.
Trying to fix up the autoconf again. Why do I put up with this shit?
AC_ARG_WITH(sqlite,[AC_HELP_STRING([[--with-sqlite[=path]]],[path to sqlite])],
            foo, bar)

  --infodir=DIR          info documentation [PREFIX/info]
  --mandir=DIR           man documentation [PREFIX/man]
Optional Packages:
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  --with-sqlite=path  path to sqlite

observe that the --withs provided by autoconf don't even line up with the --infodir, nor with the with-sqlite. And getting those square brackets in there is a total mystery, even though I've done this sort of thing way too many times before.