Subject: System-wide cache files for configure
To: None <>
From: Julio M. Merino Vidal <>
List: tech-pkg
Date: 02/21/2004 17:42:27
Hi all,

recently, there was a discussion here in tech-pkg about how to cache default
values for configure scripts, specially because some of them take a very lo=
time to execute (i.e., "maximum length of command line").

This is somewhat tricky, and a PITA to do manually.  So I've written a small
utility, autoswc, to simplify and automate this process.  (if you are
wondering where the name comes from, "automatic system-wide cache").
=46rom the DESCR:

    autoswc is an utility that automatically generates system wide cache fi=
    for use with configure scripts created by GNU autoconf, and specially by
    those executed within pkgsrc.

I've put a preliminar package in the URL shown below, that I'll commit
probably tomorrow (or maybe tonight, if I have enough time to clean up some
details and do more testing).

It should be really easy to use.  Just install, add a line in mk.conf and
execute the utility (after, maybe, having added/removed checks from the
default file).

Any comments about it will be welcome.  Testing could be good too! ;-)


Julio M. Merino Vidal <>
The NetBSD Project -