Re: mutt/2603: bogus CPPFLAGS Makefile.am
The following reply was made to PR mutt/2603; it has been noted by GNATS.
From: Vincent Lefevre <vincent@xxxxxxxxxx>
To: Mutt Developers <mutt-dev@xxxxxxxx>
Cc: bug-any@xxxxxxxxxxxxx
Subject: Re: mutt/2603: bogus CPPFLAGS Makefile.am
Date: Mon, 11 Dec 2006 00:57:06 +0100
On 2006-12-10 05:31:59 +0100, jel@xxxxxxxxxxxxxxxxxxx wrote:
> Makefile.am: CPPFLAGS=3D@CPPFLAGS@ -I$(includedir)
>=20
> One should NOT include blindly the destination include directory,
> since the includes required for compilation might not reside in that
> directory.
I completely agree with you. The user may have chosen a correct
include path order with $C_INCLUDE_PATH, and adding the destination
include directory to CPPFLAGS will destroy this order.
--=20
Vincent Lef=E8vre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)