nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] useless include ?


From: David Lawrence Ramsey
Subject: Re: [Nano-devel] useless include ?
Date: Mon, 30 Aug 2004 18:08:22 +0200
User-agent: Mutt/1.5.6+20040523i

--- Mike Frysinger <address@hidden> wrote:
>i was cross compiling nano when it bombed on me ... looking into it, 
>the nano Makefile forces an include directive to use the system 
>includes !?
>
>src/Makefile.am: INCLUDES = -Iintl -DLOCALEDIR=\"$(localedir)\" 
>address@hidden@
>
>most of the time @includedir@ resolves to /usr/include or 
>/usr/local/include ... and considering the compiler adds these paths 
>automatically, i dont see why this is used/needed ...

If I understand it correctly, it's there so that the --includedir option 
of the configure script will be used.  It's /usr/local/include by 
default, but e.g. "./configure --includedir=/some/directory" will set 
the include path to /some/directory/include.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]