automake
[Top][All Lists]
Advanced

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

Re: weird flags set by configure


From: Tim Van Holder
Subject: Re: weird flags set by configure
Date: 07 Nov 2002 13:54:55 +0100

On Thu, 2002-11-07 at 12:57, Alexandre Duret-Lutz wrote:
> >>> "Tim" == Tim Van Holder <address@hidden> writes:
> 
>  Tim> On Wed, 2002-11-06 at 11:11, address@hidden wrote:
>  >> DEFAULT_INCLUDES =  -I. -I$(srcdir) -I.
>  >> 
>  >> This raises 2 questions in itself:
>  >> a. what's wrong with "DEFAULT_INCLUDES =  -I. -I$(srcdir)"
> 
>  Tim> Don't know that,
> 
> The third -I gives the search path for config.h.

OK - good to know

>  Tim> There's no harm in -I . -I . -I . as far as I know.
> 
> FWIW, spaces between `-I' and `.' are not portable.  For instance
> in this case OSF's cc will handle `.' as a source file.

OK OK - guess I should have phrased that as 'There's no harm in
using three consecutive -I options for the same directory, as far
as I know'.

-- 
Tim Van Holder <address@hidden>
Anubex





reply via email to

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