From: Jarkko Hietaniemi Date: Tue, 10 Aug 1999 17:18:57 +0000 (+0000) Subject: AIX is different, again. Now in cc -E output. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=10a234571704a4c4c978964f3ef028b9b885cd5e;p=p5sagit%2Fp5-mst-13.2.git AIX is different, again. Now in cc -E output. p4raw-id: //depot/cfgperl@3952 --- diff --git a/Configure b/Configure index 2d310f4..60df796 100755 --- a/Configure +++ b/Configure @@ -20,7 +20,7 @@ # $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $ # -# Generated on Sat Aug 7 00:11:31 EET DST 1999 [metaconfig 3.0 PL70] +# Generated on Tue Aug 10 20:19:08 EET DST 1999 [metaconfig 3.0 PL70] # (with additional metaconfig patches by perlbug@perl.com) cat >/tmp/c1$$ <.$$.c; '"$cc"' -E ${1+"$@"} .$$.c; rm .$$.c' >cppstdin + if test "X$osname" = "Xaix" -a "X$gccversion" = X; then + # AIX cc -E doesn't show the absolute headerfile + # locations but we'll cheat by using the -M flag. + echo 'cat >.$$.c; rm -f .$$.u; '"$cc"' ${1+"$@"} -M -c .$$.c 2>/dev/null; test -s .$$.u && awk '"'"'$2 ~ /\.h$/ { print "# 0 \""$2"\"" }'"'"' .$$.u; rm -f .$$.o .$$.u; '"$cc"' -E ${1+"$@"} .$$.c; rm .$$.c' > cppstdin + else + echo 'cat >.$$.c; '"$cc"' -E ${1+"$@"} .$$.c; rm .$$.c' >cppstdin + fi else echo "Keeping your $hint cppstdin wrapper." fi