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 Sunday 08 September 2002 12:55, Peter Wang wrote:
> I searched for "-isystem cpp" and read some threads from other
> mailing lists, and I really don't think using -isystem is the right
> thing to do. It might also be gcc specific.

OK. 

> A different solution is to special case "/usr/include" and
> "/usr/local/include" and don't add "-I" in that case.  It won't catch
> everything, but it should be good enough in most cases.  I'll accept
> a patch for that.

How about a configure test which checks to see if the include directory 
into which allegro.h will be installed is in the default path? We could 
do this by choosing a random .h file in that directory (if any exist), 
#include <random_header.h> and see if it compiles. Not foolproof, and 
would be much better if we had write access.

But either way, I don't know the first thing about autoconf so unless 
you give me some pointers I won't be able to produce a patch, sorry.

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)

iD8DBQE9e7bxUdhclgSmRuoRAi6YAKCMAkqC2QJKe/C/fgBVl4rqwkzF2QCfWyX/
SPs4iC5Q0t/tryFigOLN0sw=
=L51h
-----END PGP SIGNATURE-----



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