518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
|
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
|
-
-
-
-
-
+
+
+
+
+
+
+
|
# The SMTP module requires special libraries and headers for MX DNS
# record lookups and such.
cc-check-includes arpa/nameser.h
cc-include-needs bind/resolv.h netinet/in.h
cc-check-includes bind/resolv.h
cc-check-includes resolv.h
if { (![cc-check-function-in-lib dn_expand resolv] ||
![cc-check-function-in-lib ns_name_uncompress {bind resolv}] ||
![cc-check-function-in-lib __ns_name_uncompress {bind resolv}]) &&
(![cc-check-function-in-lib res_query {bind resolv}] ||
![cc-check-function-in-lib __res_query {bind resolv}])} {
if { !(([cc-check-function-in-lib dn_expand resolv] ||
[cc-check-function-in-lib ns_name_uncompress {bind resolv}] ||
[cc-check-function-in-lib __ns_name_uncompress {bind resolv}]) &&
([cc-check-function-in-lib ns_parserr {bind resolv}] ||
[cc-check-function-in-lib __ns_parserr {bind resolv}]) &&
([cc-check-function-in-lib res_query {bind resolv}] ||
[cc-check-function-in-lib __res_query {bind resolv}]))} {
msg-result "WARNING: SMTP feature will not be able to look up local MX."
}
cc-check-function-in-lib res_9_ns_initparse resolv
# Other nonstandard function checks
cc-check-functions utime
cc-check-functions usleep
|