[Freeciv-Dev] Re: [Fwd: Re: Re: (PR#8164) building out of a builddir: ge
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: |
undisclosed-recipients: ; |
Subject: |
[Freeciv-Dev] Re: [Fwd: Re: Re: (PR#8164) building out of a builddir: generate_packets.py] |
From: |
"Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx> |
Date: |
Sun, 22 Aug 2004 11:51:59 -0700 |
Reply-to: |
rt@xxxxxxxxxxx |
<URL: http://rt.freeciv.org/Ticket/Display.html?id=8164 >
Marko Lindqvist wrote:
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=8164 >
>
>
>
> -------- Original Message --------
> Subject: Re: [Freeciv-Dev] Re: (PR#8164) building out of a builddir:
> generate_packets.py
> Date: Sun, 22 Aug 2004 14:25:04 +0300
> From: Marko Lindqvist <marko.lindqvist@xxxxxxxxxxx>
> To: rt@xxxxxxxxxxx
> References: <x4127CE54.9040409@xxxxxxxxxxxx>
>
> Jason Short wrote:
>
>>Marko Lindqvist wrote:
>>
>>>-AM_CPPFLAGS = -I../intl -I$(top_srcdir)/utility -I$(srcdir)/aicore
>>>+AM_CPPFLAGS = -I../intl -I$(top_srcdir)/utility -I$(srcdir)/aicore -I-
>>>-I$(top_builddir)
>>
>>At the least, something like this needs an explanatory comment.
>
>
> It's highly likely that -I- is gcc specific anyway...
>
> So this would at least require configure time check if preprocessor
> accepts -I- and put it into AM_CPPFLAGS only if test success. Then
> everything works for gcc, but other compilers cannot be used to compile
> from separate builddir. Is this acceptable limitation? I'm not sure if
> other compilers can be used with separate builddir at all, but neither
> I'm aware of any limitations that would prevent that.
I think builddir != srcdir depends on your "make" program not on your
compiler.
jason
|
|