diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2003-03-13 20:05:50 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2003-03-13 20:05:50 +0000 |
commit | 073b6de5ebd9c2bf9cbf67cdf30d2de79cdd279f (patch) | |
tree | 8e263f7d1fc8c74894ebe34615cff988459ea88f /Configure | |
parent | 0c54f65beca99cd47fc978febc1180b492e468de (diff) | |
download | perl-073b6de5ebd9c2bf9cbf67cdf30d2de79cdd279f.tar.gz |
Some more stdlib.h inclusions and change the gccversion
test to use return (could have used that for all, sigh).
p4raw-id: //depot/perl@18959
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -20,7 +20,7 @@ # $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $ # -# Generated on Wed Mar 12 09:04:02 EET 2003 [metaconfig 3.0 PL70] +# Generated on Thu Mar 13 12:23:47 EET 2003 [metaconfig 3.0 PL70] # (with additional metaconfig patches by perlbug@perl.org) cat >c1$$ <<EOF @@ -3846,7 +3846,7 @@ int main() { printf("%s\n", "1"); #endif #endif - (void)exit(0); + return(0); } EOM if $cc -o try $ccflags $ldflags try.c; then @@ -9069,7 +9069,7 @@ EOCP #include <stdio.h> int main() { printf("%d\n", (int)sizeof($fpostype)); - exit(0); + return(0); } EOCP set try @@ -15552,10 +15552,14 @@ echo " " : see if we have sigaction if set sigaction val -f d_sigaction; eval $csym; $val; then echo 'sigaction() found.' >&4 - $cat > try.c <<'EOP' + $cat > try.c <<EOP #include <stdio.h> #include <sys/types.h> #include <signal.h> +#$i_stdlib I_STDLIB +#ifdef I_STDLIB +#include <stdlib.h> +#endif int main() { struct sigaction act, oact; |