Integrate with Sarathy.
[p5sagit/p5-mst-13.2.git] / Configure
index fab24d3..202fa98 100755 (executable)
--- 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 Sun Nov  7 02:39:34 EET 1999 [metaconfig 3.0 PL70]
+# Generated on Sun Nov  7 14:31:41 EET 1999 [metaconfig 3.0 PL70]
 # (with additional metaconfig patches by perlbug@perl.com)
 
 cat >/tmp/c1$$ <<EOF
@@ -6834,7 +6834,7 @@ case "$doublesize" in
 int main()
 {
     printf("%d\n", (int)sizeof(double));
-    return(0);
+    exit(0);
 }
 EOCP
        set try
@@ -8021,7 +8021,8 @@ case "$eagain" in
 #ifndef errno  /* XXX need better Configure test */
 extern int errno;
 #endif
-#ifdef $i_unistd
+#$i_unistd I_UNISTD
+#ifdef I_UNISTD
 #include <unistd.h>
 #endif
 #ifdef $i_string
@@ -8543,7 +8544,7 @@ cat > try.c <<EOCP
 #include <stdio.h>
 int main() {
     printf("%d\n", (int)sizeof($fpostype));
-    return(0);
+    exit(0);
 }
 EOCP
 set try
@@ -10330,6 +10331,8 @@ int main()
     struct sigaction act, oact;
     act.sa_flags = 0;
     oact.sa_handler = 0;
+    /* so that act and oact are used */
+    exit(act.sa_flags == 0 &&  oact.sa_handler == 0);
 }
 EOP
        set try
@@ -10964,6 +10967,7 @@ EOM
        case "$alignbytes" in
        '') echo "Checking alignment constraints..." >&4
                $cat >try.c <<'EOCP'
+#include <stdio.h>
 struct foobar {
        char foo;
        double bar;
@@ -11758,7 +11762,7 @@ cat > try.c <<EOCP
 #include <stdio.h>
 int main() {
     printf("%d\n", (int)sizeof($gidtype));
-    return(0);
+    exit(0);
 }
 EOCP
 set try
@@ -11825,7 +11829,7 @@ case "$charsize" in
 int main()
 {
     printf("%d\n", (int)sizeof(char));
-    return(0);
+    exit(0);
 }
 EOCP
        set try
@@ -12540,7 +12544,7 @@ case "$ptrsize" in
 int main()
 {
     printf("%d\n", (int)sizeof(VOID_PTR));
-    return(0);
+    exit(0);
 }
 EOCP
        set try
@@ -12852,7 +12856,7 @@ echo $xxx | $tr ' ' $trnl | $sort | $uniq | $awk '
 }
 END {
        printf "#endif /* JUST_NSIG */\n";
-       printf "}\n";
+       printf "exit(0);\n}\n";
 }
 ' >>signal.c
 $cat >signal.awk <<'EOP'
@@ -13105,7 +13109,7 @@ cat > try.c <<EOCP
 #include <stdio.h>
 int main() {
     printf("%d\n", (int)sizeof($uidtype));
-    return(0);
+    exit(0);
 }
 EOCP
 set try