[Freeciv-Dev] Re: MacOS X ./configure
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
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 ).
|
|