Re: mutt/2603: bogus CPPFLAGS Makefile.am
On 2006-12-10 05:31:59 +0100, jel@xxxxxxxxxxxxxxxxxxx wrote:
> Makefile.am: CPPFLAGS=@CPPFLAGS@ -I$(includedir)
>
> 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.
--
Vincent Lefèvre <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)