From: Sam Roberts Date: 2006-06-30T06:23:37+09:00 Subject: Re: Reorganizing configure.in by platform? On Fri, Jun 30, 2006 at 05:02:57AM +0900, Daniel Berger wrote: > After looking at the docs for autoconf (ick), would it help to have > separate configure.in scripts by platform? > > So, you would have a shell script called "configure" that would just: > > Check the platform > Copy the appropriate configure.in script to the current directory > Run autoconf > Run configure, passing along any args originally passed to configure A primary design goal of the autoconf tools is that they do not have to exist on the system used to build the code. I.e., just the generated configure script is distributed, and that script works by only requiring standard shell tools. Its a harsh restriction, but the auto tools design makes sense only viewed in light of that goal. Cheers, Sam