[Freeciv-Dev] Re: MacOS X ./configure
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Brian Olson (locke@xxxxxxx) 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
> ?
The naive way would be something like this:
$CC -no-cpp-precomp -E - < /dev/null > /dev/null 2> config.stderr
if test -s config.stderr; then
echo $ac_n "Uh oh: $ac_c" 1>&6
cat config.stderr 1>&6
else
echo "Cool." 1>&6
fi
But I'm very very far from being an autoconf guru.
--
Greg Wooledge | "Truth belongs to everybody."
greg@xxxxxxxxxxxx | - The Red Hot Chili Peppers
http://wooledge.org/~greg/ |
pgpjgvdEcNg4E.pgp
Description: PGP signature
|
|