Complete.Org: Mailing Lists: Archives: freeciv-dev: August 1999:
Re: [Freeciv-Dev] patch: Check for AMIGA in shared.c
Home

Re: [Freeciv-Dev] patch: Check for AMIGA in shared.c

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: sebauer@xxxxxxxxxxx
Cc: freeciv-dev@xxxxxxxxxxx
Subject: Re: [Freeciv-Dev] patch: Check for AMIGA in shared.c
From: David Pfitzner <dwp@xxxxxxxxxxxxxx>
Date: Fri, 13 Aug 1999 21:15:02 +1000 (EST)

sebauer@xxxxxxxxxxx (Sebastian Bauer) wrote:

[ dont_run_as_root() on Amiga ]

> But I ask me if the test programm is necesarry, because
> for the "Not GNU Amiga" compile I must write an own config.h
> anywhy (I cannot use configure). This is probably the same in
> the Mac version. What's about __EMX__?
> If so, we could simply define HAVE_ONLYROOT (or similiar)
> in acconfig.h (and in config.h.in) and check for it in shared.c.
> But I don't know if this is possible, because this define
> wouldn't not be touched in configure?
> (That means I don't know if autoheader will create a entry
> in config.h.in automatically if configure.in doesn't use
> HAVE_ONLYROOT)

This seems to work fine, and I've done something like this,
declaring ALWAYS_ROOT in acconfig.h/config.h.in, but not
setting it via configure, so it is always undefined unless
set by hand.

Regards,
-- David

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