On Thu, Sep 30, 2004 at 04:39:32PM -0400, Ed Allen Smith wrote:
> Possible. The only cppstdin I find on an IRIX 6.5.20m system is one that
> appears to be from a Perl install (at least from its file date as compared
> to the /usr/share/src/perl-5.8.0/cppstdin file, and that the two files are
> identical). So an earlier install (possibly something from SGI installing an
> older version of Perl, especially since we're talking about an IRIX 6.5.#_f_
> system (feature release instead of maintenance release - feature == less
> stable)) could have put in one that doesn't work. (I can't read the attached
> version of config.sh, so I can't tell by it.)
Your config.sh has
cppstdin='cc -64 -E'
and the relevant test in ./Configure is
$cat >cpp_stuff.c <<'EOCP'
#define RCAT(a,b)a/**/b
#define ACAT(a,b)a ## b
RCAT(Rei,ser)
ACAT(Cir,cus)
EOCP
$cppstdin $cppflags $cppminus <cpp_stuff.c >cpp_stuff.out 2>&1
if $contains 'Circus' cpp_stuff.out >/dev/null 2>&1; then
echo "Oh! Smells like ANSI's been here." >&4
echo "We can catify or stringify, separately or together!"
cpp_stuff=42
--
"You're so sadly neglected, and often ignored.
A poor second to Belgium, When going abroad."
-- Monty Python - "Finland"