p4raw-id: //depot/metaconfig@5230
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
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
#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
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
$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
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