From mboxrd@z Thu Jan 1 00:00:00 1970 From: arnold@skeeve.com Message-Id: <201507091524.t69FOvp2025927@freefriends.org> Date: Thu, 9 Jul 2015 09:24:57 -0600 To: 9fans@9fans.net References: <8f71c132-1b4d-4d0c-a741-d0738945f22c@email.android.com> In-Reply-To: <8f71c132-1b4d-4d0c-a741-d0738945f22c@email.android.com> User-Agent: Heirloom mailx 12.4 7/29/08 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: [9fans] origins of configure Topicbox-Message-UUID: 5fc0cc04-ead9-11e9-9d60-3106f5b1d025 So, the history is more than this. Larry Wall's Configure (capital C) for rn and Perl was the first step at a shell script to examine system features and generate a config.h. It was inspirational for autoconf, but autoconf doesn't use any of its code, as far as I know. Autoconf was designed to solve real portability problems. In the late 80s and early 90s there was a huge variety of Unix systems and it was really hard to know what was available and what wasn't based on simple ifdefs. The variations were bigger than Erik makes out. Today, the scale of the problem is reduced, since we have POSIX and also fewer systems out there. Much of the bloat in the Autotools is from legacy. But there are still very real portability issues, especially among some of the fringe *BSD systems. MirBSD in particular is one of the worst, but that's another rant. If one were to start over today, one could likely arrive at a simpler system, but portability problems remain, and they are real. Arnold erik quanstrom wrote: > confirmed. it's existence is due to early gnu programs fighting with > small variations in unix and compilers. byron's rc used a small script > to the same effect. but for the most part, this all could be avoided > with careful planning and not using esoteric functions. > > gcc also had its own configuration step. the header rewriting is a ves= tage of this system. > > - erik > > > On Jul 9, 2015 05:31, Jeff Sickel wrote: > > > > > > > On Jul 9, 2015, at 5:19 AM, Steve Simon wrote:= =20 > > >=20 > > > FWIW: fgb did a stirling script called config which sets up some=20 > > > environment and runs configure under ape. It doesn't always work bu= t often gets close=20 > > > to generating a config.h as linux intended.=20 > > > > Configure predates Linux.=C2=A0 That, or my memory of using it to ban= g my head against the perl wall in the 1980s damaged the register.=20 > > > > -jas=20 > > > > =E2=80=A6 at least you=E2=80=99re not using Xenix=20 > > > > > > > From 9fans-bounces@9fans.net Thu Jul 9 07:52:09 2015 > X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on > frenzy.freefriends.org > X-Spam-Level:=20 > X-Spam-Status: No, score=3D0.0 required=3D5.0 tests=3DTIME_LIMIT_EXCEED= ED > autolearn=3Dunavailable version=3D3.3.1 > X-Envelope-From: 9fans-bounces@9fans.net > Return-Path: <9fans-bounces@9fans.net> > X-Virus-Scanned: by MailRoute > Date: Thu, 09 Jul 2015 06:50:06 -0700 > X-Android-Message-ID: <8f71c132-1b4d-4d0c-a741-d0738945f22c@email.andro= id.com> > From: erik quanstrom > To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> > Content-Type: text/plain; charset=3Dutf-8 > Subject: Re: [9fans] Gawk in 9front-ports > X-BeenThere: 9fans@9fans.net > X-Mailman-Version: 2.1.13 > Precedence: list > Reply-To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> > List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.9fans.net> > List-Unsubscribe: , > > List-Archive: > List-Post: > List-Help: > List-Subscribe: , > > Sender: 9fans-bounces@9fans.net > Errors-To: 9fans-bounces@9fans.net > X-MIME-Autoconverted: from base64 to 8bit by freefriends.org id t69Dq5R= i006148 > Status: R > > confirmed. it's existence is due to early gnu programs fighting with s= mall variations in unix and compilers. byron's rc used a small script to= the same effect. but for the most part, this all could be avoided with = careful planning and not using esoteric functions. =20 > > gcc also had its own configuration step. the header rewriting is a ves= tage of this system. > > - erik > > > On Jul 9, 2015 05:31, Jeff Sickel wrote: > > > > > > > On Jul 9, 2015, at 5:19 AM, Steve Simon wrote:= =20 > > >=20 > > > FWIW: fgb did a stirling script called config which sets up some=20 > > > environment and runs configure under ape. It doesn't always work bu= t often gets close=20 > > > to generating a config.h as linux intended.=20 > > > > Configure predates Linux.=C2=A0 That, or my memory of using it to ban= g my head against the perl wall in the 1980s damaged the register.=20 > > > > -jas=20 > > > > =E2=80=A6 at least you=E2=80=99re not using Xenix=20 > > > > > > >