Karim BELABAS on Wed, 11 Dec 2002 16:38:55 +0100 (MET)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Configure


On Wed, 11 Dec 2002, Bill Allombert wrote:
> Now we need to document each
> case "$osname-$arch" in
> to say what they are supposed to do.

There's also the issue of making the various scripts as orthogonal to each
other as possible, and documenting dependencies.

> BTW, is
> . config/foo bar1 bar2 bar3
> portable ?

in order to set positional parameters $1, etc. within foo ?

At the time I wrote Configure, I thought not [ that's why I used
global variables everywhere: dflt=...; . config/foo ]

I don't think it would be a good idea to change this (minor gain, non-zero
risks).

> There are several things I would like to change in configure:
>
> 1) Respect of environment variables CC,LD,DLLD,CFLAGS, etc...
> The LD value is clobbered
>
> 2) Better gcc handling. Use gcc -print-prog-name=ld to find ld
> and use gcc for linking with proper -Wl, options.

3) add the standard --with-foo=... autoconf flags [ e.g to specify where
readline, X11, gnuplot libraries and headers can be found ]

4) write all messages to useful file descriptors (currently, most things go
to /dev/null).

    Karim.
-- 
Karim Belabas                    Tel: (+33) (0)1 69 15 57 48
Dép. de Mathématiques, Bât. 425  Fax: (+33) (0)1 69 15 60 19
Université Paris-Sud             Email: Karim.Belabas@math.u-psud.fr
F-91405 Orsay (France)           http://www.math.u-psud.fr/~belabas/
--
PARI/GP Home Page: http://www.parigp-home.de/