This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
The #5228 wasn't quite right + fix typos.
authorJarkko Hietaniemi <jhi@iki.fi>
Thu, 24 Feb 2000 01:02:05 +0000 (01:02 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Thu, 24 Feb 2000 01:02:05 +0000 (01:02 +0000)
p4raw-id: //depot/metaconfig@5230

U/modified/d_longdbl.U
U/modified/d_longlong.U
U/perl/d_int64_t.U
U/perl/d_socklen_t.U
U/perl/io64.U

index c6aae4f..b4b9cfd 100644 (file)
@@ -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
index 98b8121..2ef603c 100644 (file)
@@ -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
index 162daf4..b18b044 100644 (file)
@@ -32,13 +32,15 @@ $cat >try.c <<EOCP
 #endif
 int main() { int64_t x = 7; }
 EOCP
+       echo " " >&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
index 1478f2e..e480a3a 100644 (file)
@@ -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
index 6323f57..041070a 100644 (file)
@@ -32,7 +32,7 @@ echo "Checking to see if your system supports off64_t..." >&4
 $cat >try.c <<EOCP
 #include <sys/types.h>
 #include <unistd.h>
-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 <<EOCP
-#include <sys/stdio.h>
-int main() { fpos64_t x x = 7; }'
+#include <stdio.h>
+int main() { fpos64_t x x = 7; }
 EOCP
 set try
 if eval $compile; then