delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/06/04/06:09:25

From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: indent upgrade
Date: 4 Jun 2003 08:59:58 GMT
Organization: Aachen University of Technology (RWTH)
Lines: 40
Message-ID: <bbkcee$7v3$1@nets3.rz.RWTH-Aachen.DE>
References: <3EDB22ED DOT 188CC8A3 AT yahoo DOT com> <bbfd2s$6i3$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> <3EDB680B DOT 9CCD0841 AT yahoo DOT com> <3edb9118$0$31827$9b622d9e AT news DOT freenet DOT de> <3EDBDC81 DOT EA8A6F5 AT yahoo DOT com> <3edd27b3$0$16597$9b622d9e AT news DOT freenet DOT de>
NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de
X-Trace: nets3.rz.RWTH-Aachen.DE 1054717198 8163 137.226.32.75 (4 Jun 2003 08:59:58 GMT)
X-Complaints-To: abuse AT rwth-aachen DOT de
NNTP-Posting-Date: 4 Jun 2003 08:59:58 GMT
Originator: broeker@
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

deckerben <bdeck AT lycos DOT co DOT uk> wrote:

> Autoconf just rebuild the configure script using a "configure.in", if that
> package has one. It tailors the configure script to the OS that is running
> it. 

Not really.  Or more precisely: that's not how it's supposed to work.
Tailoring to a given system is done by the configure script, not by
autoconf.  autoconf generates the configure script from configure.in
and a host of templates, so you don't have to write it all yourself.

The original DJGPP port of autoconf had to deviate from this plan
because configure scripts generated by stock autoconf stood no chance
at all to work in a DJGPP environment at that time.  But AFAIK, that's
changed in the meantime.  Nowadays, you're not even supposed to need
autoconf unless you're a software author and actually modify
configure.in scripts yourself, or work with CVS-checkouts instead of
source tarballs.

> ./configure
> i386-pc-gnu --with-static --disable-shared --program-suffix=.exe --prefix=/d
> ev/env/DJDIR --without-pic --bindir=/dev/env/DJDIR/bin --datadir=/dev/env/DJ
> DIR/ --includedir=/dev/env/DJDIR/include --mandir=/dev/env/DJDIR/man --infod
> ir=/dev/env/DJDIR/inf  --sysconfdir=/dev/env/DJDIR/etc

Almost all of those those are superfluous.  --prefix=/dev/env/DJDIR
will already set all those directories without you overriding each of
them yourself, and to exactly those values you give.  And the
--infodir setting is plain wrong, I think --- it lacks an 'o' at the
end.  

I also have serious doubts about that platform specifier you use.
Last I looked, i368-pc-gnu is *not* the correct platform name for
DJGPP --- that'd have to be i386-pc-msdosdjgpp.  And configure should
always find detect that on its own, so there's no need to override it.


-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019