test to use return (could have used that for all, sigh).
p4raw-id: //depot/perl@18959
# $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
printf("%s\n", "1");
#endif
#endif
- (void)exit(0);
+ return(0);
}
EOM
if $cc -o try $ccflags $ldflags try.c; then
#include <stdio.h>
int main() {
printf("%d\n", (int)sizeof($fpostype));
- exit(0);
+ return(0);
}
EOCP
set try
: 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;