summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-03-13 20:05:50 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-03-13 20:05:50 +0000
commit073b6de5ebd9c2bf9cbf67cdf30d2de79cdd279f (patch)
tree8e263f7d1fc8c74894ebe34615cff988459ea88f /Configure
parent0c54f65beca99cd47fc978febc1180b492e468de (diff)
downloadperl-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-xConfigure12
1 files changed, 8 insertions, 4 deletions
diff --git a/Configure b/Configure
index a921d3a534..15170543bb 100755
--- 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 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;