summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-03-05 19:56:41 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-03-05 19:56:41 +0000
commita845a0d454e0f00755bd9ac955d4d658c0af2872 (patch)
tree25a487967f552e4838b1c126faf79c662bade9ac /Configure
parentb891b7335194e891dcfaf5a5077012facb06d75b (diff)
downloadperl-a845a0d454e0f00755bd9ac955d4d658c0af2872.tar.gz
Couple more _r possibilities (found in a RH 8.0 box), and
the random() macros were all wrong. (I don't know why metaconfig did so much reordering of config_h.SH.) p4raw-id: //depot/perl@18831
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure20
1 files changed, 18 insertions, 2 deletions
diff --git a/Configure b/Configure
index 0b30dd6bc3..d4336faa12 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 Mon Feb 3 15:49:19 EET 2003 [metaconfig 3.0 PL70]
+# Generated on Wed Mar 5 23:02:07 EET 2003 [metaconfig 3.0 PL70]
# (with additional metaconfig patches by perlbug@perl.org)
cat >c1$$ <<EOF
@@ -12299,6 +12299,10 @@ case "$d_gethostbyaddr_r" in
./protochk "extern $try" $hdrs && gethostbyaddr_r_proto=I_CII ;;
esac
case "$gethostbyaddr_r_proto" in
+ ''|0) try='int gethostbyaddr_r(const void*, socklen_t, int, struct hostent*, char*, size_t, struct hostent**, int*);'
+ ./protochk "extern $try" $hdrs && gethostbyaddr_r_proto=I_TsISBWRE ;;
+ esac
+ case "$gethostbyaddr_r_proto" in
''|0) d_gethostbyaddr_r=undef
gethostbyaddr_r_proto=0
echo "Disabling gethostbyaddr_r, cannot determine prototype." >&4 ;;
@@ -12560,6 +12564,10 @@ case "$d_getnetbyaddr_r" in
./protochk "extern $try" $hdrs && getnetbyaddr_r_proto=I_IISD ;;
esac
case "$getnetbyaddr_r_proto" in
+ ''|0) try='int getnetbyaddr_r(uint32_t, int, struct netent*, char*, size_t, struct netent**, int*);'
+ ./protochk "extern $try" $hdrs && getnetbyaddr_r_proto=I_uISBWRE ;;
+ esac
+ case "$getnetbyaddr_r_proto" in
''|0) d_getnetbyaddr_r=undef
getnetbyaddr_r_proto=0
echo "Disabling getnetbyaddr_r, cannot determine prototype." >&4 ;;
@@ -14326,7 +14334,15 @@ case "$d_random_r" in
define)
case "$random_r_proto" in
''|0) try='int random_r(int*, struct random_data*);'
- ./protochk "extern $try" $hdrs && random_r_proto=I_TS ;;
+ ./protochk "extern $try" $hdrs && random_r_proto=I_iS ;;
+ esac
+ case "$random_r_proto" in
+ ''|0) try='int random_r(long*, struct random_data*);'
+ ./protochk "extern $try" $hdrs && random_r_proto=I_lS ;;
+ esac
+ case "$random_r_proto" in
+ ''|0) try='int random_r(struct random_data*, int32_t*);'
+ ./protochk "extern $try" $hdrs && random_r_proto=I_St ;;
esac
case "$random_r_proto" in
''|0) d_random_r=undef