Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2001:
[Freeciv-Dev] Re: [patch] readline with -lcurses (PR#772)
Home

[Freeciv-Dev] Re: [patch] readline with -lcurses (PR#772)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Thue <thue@xxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx, bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: [patch] readline with -lcurses (PR#772)
From: Gaute B Strokkenes <gs234@xxxxxxxxx>
Date: 19 May 2001 14:45:06 +0100

On Sat, 19 May 2001, thue@xxxxxxx wrote:
> On Saturday 19 May 2001 12:48, Gaute B Strokkenes wrote:
>> On 19 May 2001, gs234@xxxxxxxxx wrote:
>> > On Sat, 19 May 2001, thue@xxxxxxx wrote:
>> >> On Saturday 19 May 2001 03:22, Greg Wooledge wrote:
>> >>> If I copy those two files from a different project, ./configure
>> >>> succeeds; but then make blows up:
>> >>>
>> >>> ranlib libcivserver.a gcc -DHAVE_CONFIG_H
>> >>> -I. -I. -I.. -I./../common -I./../ai -I../intl -g -O2 -Wall -c
>> >>> civserver.c make[2]: *** No rule to make target `@INTLDEPS@',
>> >>> needed by `civserver'.  Stop.
>> >>
>> >> This is probably because debian unstable has gettext version
>> >> 0.10.37-1, ie unrelated. Still would be nice to have it fixed
>> >> :).
>>
>> I note that the civserver target in server/Makefile.am explicitly
>> lists @INTLDEPS@ as a dependency.  I'm unsure as to why this is
>> done, since the gettext manual (version 0.10.35, which is what I
>> have access to) doesn't mention this being necessary in any of the
>> pertinent sections.  Moreover, it seems to expand to the empty
>> string under 0.10.35, so I wonder why it was added in the first
>> place.
> 
> Looking at the code @INTLDEPS@ was exported in aclocal.m4. It seems
> that when running the aclocal in my distribution a newer version of
> the macros is used, which doesn't have/export it.
> 
> I tried just removing the 2 occurences of INTLDEPS and running
> gettextize, and it seems to work.  I suppose the changes this
> creates should be put into freeciv CVS?

It seems that I spoke a bit too soon; when I ./configure
--with-included-gettext @INTLDEPS@ is no longer empty.  I have no idea
what effect this will have on compilation.  I just looked in the
manual and saw that it wasn't mentioned anywhere.

Could you try to configure with --with-included-gettext and see what
happens when @INTLDEPS@ is removed?

Are there any CVS wizards who can try to see why @INTLDEPS@ was added?

-- 
Big Gaute                               http://www.srcf.ucam.org/~gs234/
Isn't this my STOP?!


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