Re: [AD] allegro-config patch: sed expression seds too much

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 14 August 2002 10:12, Vincent Penquerc'h wrote:
[snip]
> Don't know how this one went in, as it should hose every
> single build, unless it's my specific configure options ?
> Didn't look more, this fixes it fine.

I must admit I don't see it, but then I only ever use --libs or 
- --cflags. Vincent, can you (or someone) change the script so that it 
doesn't emit -I<allegro_prefix> if allegro_prefix is already in the 
path? The preprocessor which ships with gcc3 complains:

sh-2.05$ touch test.c
sh-2.05$ gcc `allegro-config --cflags` -o test.o -c test.c
cc1: warning: changing search order for system directory 
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system 
directory
sh-2.05$

This is also very annoying, especially since it is emitted once for each 
file. But sometimes I use Allegro at home (instlled in /usr/local) and 
sometimes at University, where they won't let me have root access :-) 
so everything is in ~, and I need allegro-config --cflags .

Bye for now,
- -- 
Laurence Withers,  lwithers@xxxxxxxxxx
(GnuPG 04A646EA) http://www.lwithers.demon.co.uk/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9Wj5mUdhclgSmRuoRAm/yAJ0ezAyFMusaa5L09ufCN9I9mo5JuwCgjoW3
a+nWHkK7PfkzLt4GhFr9snI=
=uU+p
-----END PGP SIGNATURE-----



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/