?MAKE:d_gethostbyaddr_r gethostbyaddr_r_proto: Inlibc Protochk i_systypes i_netdb ?MAKE: -pick add $@ %< ?S:d_gethostbyaddr_r: ?S: This variable conditionally defines the HAS_GETHOSTBYADDR_R symbol, ?S: which indicates to the C program that the gethostbyaddr_r() ?S: routine is available. ?S:. ?S:gethostbyaddr_r_proto: ?S: This variable encodes the prototype of gethostbyaddr_r. ?S:. ?C:HAS_GETHOSTBYADDR_R: ?C: This symbol, if defined, indicates that the gethostbyaddr_r routine ?C: is available to gethostbyaddr re-entrantly. ?C:. ?C:GETHOSTBYADDR_R_PROTO: ?C: This symbol encodes the prototype of gethostbyaddr_r. ?C:. ?H:#$d_gethostbyaddr_r HAS_GETHOSTBYADDR_R /**/ ?H:#define GETHOSTBYADDR_R_PROTO $gethostbyaddr_r_proto /**/ ?H:. ?T:try hdrs ?LINT:set d_gethostbyaddr_r ?LINT:set gethostbyaddr_r_proto : see if gethostbyaddr_r exists set gethostbyaddr_r d_gethostbyaddr_r eval $inlibc case "$d_gethostbyaddr_r" in "$define") hdrs="$i_systypes sys/types.h define stdio.h $i_netdb netdb.h" case "$gethostbyaddr_r_proto" in '') try='int gethostbyaddr_r(const char*, size_t, int, struct hostent*, char*, size_t, struct hostent**, int*);' ./protochk "extern $try" $hdrs && gethostbyaddr_r_proto=I_CWISBWRE ;; esac case "$gethostbyaddr_r_proto" in '') try='struct hostent* gethostbyaddr_r(const char*, size_t, int, struct hostent*, char*, size_t, int, int*);' ./protochk "extern $try" $hdrs && gethostbyaddr_r_proto=S_CWISBWIE ;; esac case "$gethostbyaddr_r_proto" in '') try='struct hostent* gethostbyaddr_r(const char*, int, int, struct hostent*, char*, int, int*);' ./protochk "extern $try" $hdrs && gethostbyaddr_r_proto=S_CIISBIE ;; esac case "$gethostbyaddr_r_proto" in '') try='int gethostbyaddr_r(const char*, size_t, int, struct hostent*, struct hostent_data*);' ./protochk "extern $try" $hdrs && gethostbyaddr_r_proto=I_CWISD ;; esac case "$gethostbyaddr_r_proto" in '') try='int gethostbyaddr_r(const char*, int, int, struct hostent*, struct hostent_data*);' ./protochk "extern $try" $hdrs && gethostbyaddr_r_proto=I_CIISD ;; esac case "$gethostbyaddr_r_proto" in '') try='int gethostbyaddr_r(const char*, int, int);' ./protochk "extern $try" $hdrs && gethostbyaddr_r_proto=I_CII ;; esac case "$gethostbyaddr_r_proto" in '') d_gethostbyaddr_r=undef echo "Disabling gethostbyaddr_r, cannot determine prototype." ;; * ) case "$gethostbyaddr_r_proto" in REENTRANT_PROTO*) ;; *) gethostbyaddr_r_proto="REENTRANT_PROTO_$gethostbyaddr_r_proto" ;; esac echo "Prototype: $try" ;; esac ;; esac