Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2001:
[Freeciv-Dev] Re: MacOS X ./configure
Home

[Freeciv-Dev] Re: MacOS X ./configure

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Brian Olson <locke@xxxxxxx>, freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: MacOS X ./configure
From: Petrus Viljoen <viljoenp@xxxxxxxxxxx>
Date: Fri, 30 Nov 2001 14:34:10 +0200

Brian Olson wrote:

> But, any thoughts on the difficulty of getting autoconf/configure to
> detect a presence/absence of stderr output on a command like
> $CC -no-cpp-precomp -E - < /dev/null
> ?
>
> macosx% cc -no-cpp-precomp -E - < /dev/null
> # 1 ""
> freebsd% gcc -no-cpp-precomp -E - < /dev/null
> gcc: unrecognized option `-no-cpp-precomp'
> # 1 ""
>
> [insert clever signoff here]
> Brian Olson http://bolson.org/

"gcc -v --help "  should list all options that your gcc supports (to
stderr on my system).

so use
"gcc -v --help > options.lst  2>&1"

and check if  -no-cpp-precomp is in options.lst.


What I know of autoconf/configure is dangarous. Best  if you check with
the people who developed  autoconf  (They should be able to give you the
Best advice ).






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