Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2004:
[Freeciv-Dev] Selecting wich componets to compile
Home

[Freeciv-Dev] Selecting wich componets to compile

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Selecting wich componets to compile
From: "Guillermo Lopez Alejos" <100030179@xxxxxxxxxxxxxxx>
Date: Fri, 23 Jul 2004 12:08:56 +0200 (CEST)

Hi,

One of the entries of the puppeteer's TODO file is 'configure parameter
"--enable-puppeteer"'.

By one hand, client/puppeteer directory has to be included / excluded
whether "--enable-puppeteer" is defined or not. I know what lines of the
configure.ac and client/Makefile.am I have to modify to achieve this.

But if puppeteer is not present, there are some lines of code (in
agents_init() and main() in the civclient) that don't have to be compiled.

I guess that I have to do something like:

#ifdef FC_USE_PUPPETEER
  /* puppeteer calls */
#endif

But I don't know howto modify the configure.ac or Makefile.am to define
automaticaly the "FC_USE_PUPPETEER". Could anyone tell me how?

Thanks,

--
Guillermo López Alejos - N.I.A. 100030179
Universidad Carlos III de Madrid
Ingeniería Técnica en Informática de Gestión




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