pike.git / src / modules / _Protocols_DNS_SD / configure.in

version» Context lines:

pike.git/src/modules/_Protocols_DNS_SD/configure.in:4:   AC_ARG_WITH(dnssd, [ --with(out)-dnssd Support for DNS-SD],[],[with_dnssd=yes])      AC_MODULE_INIT()      PIKE_FEATURE_WITHOUT(DNS-SD)      if test x$with_dnssd = xyes ; then       PIKE_FEATURE(DNS-SD,[no (dns_sd.h or howl.h not found)])    -  AC_CHECK_HEADERS(dns_sd.h howl.h) +  AC_CHECK_HEADERS(dns_sd.h howl.h arpa/inet.h netinet/in.h)       if test x$ac_cv_header_dns_sd_h = xyes; then    PIKE_FEATURE(DNS-SD,[no (libdns_sd not found)])    AC_CHECK_FUNC(DNSServiceRegister, [    PIKE_FEATURE(DNS-SD,[yes (dns_sd.h)])    AC_DEFINE(HAVE_DNS_SD)    ], [    AC_CHECK_LIB(dns_sd, DNSServiceRegister, [    PIKE_FEATURE(DNS-SD,[yes (dns_sd.h -ldns_sd)])    AC_DEFINE(HAVE_DNS_SD)