From 1da6d93e44dbab7daf7bb432e8e0f62d0c9765b6 Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Thu, 24 Feb 2000 01:02:05 +0000 Subject: [PATCH] The #5228 wasn't quite right + fix typos. p4raw-id: //depot/metaconfig@5230 --- U/modified/d_longdbl.U | 6 ++++-- U/modified/d_longlong.U | 6 ++++-- U/perl/d_int64_t.U | 6 ++++-- U/perl/d_socklen_t.U | 6 ++++-- U/perl/io64.U | 6 +++--- 5 files changed, 19 insertions(+), 11 deletions(-) diff --git a/U/modified/d_longdbl.U b/U/modified/d_longdbl.U index c6aae4f..b4b9cfd 100644 --- a/U/modified/d_longdbl.U +++ b/U/modified/d_longdbl.U @@ -42,10 +42,12 @@ echo 'int main() { long double x = 7.0; }' > try.c set try if eval $compile; then val="$define" - echo " Yes, it does." + echo " " >&4 + echo "You have long double." else val="$undef" - echo " No, it doesn't." + echo " " >&4 + echo "You do not have long double." fi $rm try.* set d_longdbl diff --git a/U/modified/d_longlong.U b/U/modified/d_longlong.U index 98b8121..2ef603c 100644 --- a/U/modified/d_longlong.U +++ b/U/modified/d_longlong.U @@ -41,10 +41,12 @@ echo 'int main() { long long x = 7; return 0; }' > try.c set try if eval $compile; then val="$define" - echo " Yes, it does." + echo " " >&4 + echo "You have have long long." else val="$undef" - echo " No, it doesn't." + echo " " >&4 + echo "You do not have long long." fi $rm try.* set d_longlong diff --git a/U/perl/d_int64_t.U b/U/perl/d_int64_t.U index 162daf4..b18b044 100644 --- a/U/perl/d_int64_t.U +++ b/U/perl/d_int64_t.U @@ -32,13 +32,15 @@ $cat >try.c <&4 set try if eval $compile; then val="$define" - echo " Yes, it does." + echo " " >&4 + echo "You have int64_t." else val="$undef" - echo " No, it doesn't." + echo "You do not have int64_t." fi $rm -f try try.* set d_int64_t diff --git a/U/perl/d_socklen_t.U b/U/perl/d_socklen_t.U index 1478f2e..e480a3a 100644 --- a/U/perl/d_socklen_t.U +++ b/U/perl/d_socklen_t.U @@ -34,10 +34,12 @@ EOCP set try if eval $compile; then val="$define" - echo " Yes, it does." + echo " " >&4 + echo "You have socklen_t." else val="$undef" - echo " No, it doesn't." + echo " " >&4 + echo "You do not have socklen_t." fi $rm -f try try.* set d_socklen_t diff --git a/U/perl/io64.U b/U/perl/io64.U index 6323f57..041070a 100644 --- a/U/perl/io64.U +++ b/U/perl/io64.U @@ -32,7 +32,7 @@ echo "Checking to see if your system supports off64_t..." >&4 $cat >try.c < #include -int main() { off64_t x = 7; }' +int main() { off64_t x = 7; } EOCP set try if eval $compile; then @@ -53,8 +53,8 @@ eval $setvar echo " " echo "Checking to see if your system supports fpos64_t..." >&4 $cat >try.c < -int main() { fpos64_t x x = 7; }' +#include +int main() { fpos64_t x x = 7; } EOCP set try if eval $compile; then -- 1.8.3.1