diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 1999-11-07 12:36:10 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 1999-11-07 12:36:10 +0000 |
commit | 14e4fe40502a3124a359f29afa1abf4e94a3a857 (patch) | |
tree | e129f6c61fef45c54bb8b069e4470be2b6d6aa76 /Configure | |
parent | 213c275fd042f6776d723234c5ca21e122773fd8 (diff) | |
download | perl-14e4fe40502a3124a359f29afa1abf4e94a3a857.tar.gz |
More test program maintenance.
p4raw-id: //depot/cfgperl@4532
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 22 |
1 files changed, 13 insertions, 9 deletions
@@ -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 |