Harlan Stenn wrote:
> > The differences between ALL of the various linux-gnu implementations are
> > so slight that they are far more suited to feature tests than something
> > like this.
>
> Are you really serious? ...
>
> - RC files?
> - packaging mechanism?
> - automount filesystem selection based on different OS versions?
These are good examples for how autoconf may be useful:
- RC files: Check for the existence of /{etc,sbin}/{rc.d,init.d}.
- Packaging mechanism: Test for /bin/rpm and {/usr,}/bin/apt
- automount filesystem selection: Check for /afs. Check for
/etc/init.d/autofs or for autofs in /proc/modules. Check for amd...
Remember: an autoconf macro is written once. A list of Linux distributions
that have a particular feature must be maintained forever.
Bruno