HAVE_RRESVPORT_AF.
#endif /* HAVE_AVAHI */
-#ifdef HAVE_DNSSD
-# ifdef HAVE_MDNSRESPONDER
+#ifdef HAVE_MDNSRESPONDER
/*
* 'query_callback()' - Process query data.
*/
else
device->make_and_model = strdup(model);
}
-#endif /* HAVE_DNSSD */
/*
AC_SUBST([LIBPAPER])
dnl Checks for header files.
-AC_CHECK_HEADER([crypt.h], AC_DEFINE([HAVE_CRYPT_H], [1], [Have <crypt.h> header?]))
AC_CHECK_HEADER([langinfo.h], AC_DEFINE([HAVE_LANGINFO_H], [1], [Have <langinfo.h> header?]))
AC_CHECK_HEADER([malloc.h], AC_DEFINE([HAVE_MALLOC_H], [1], [Have <malloc.h> header?]))
-AC_CHECK_HEADER([shadow.h], AC_DEFINE([HAVE_SHADOW_H], [1], [Have <shadow.h> header?]))
AC_CHECK_HEADER([stdint.h], AC_DEFINE([HAVE_STDINT_H], [1], [Have <stdint.h> header?]))
AC_CHECK_HEADER([sys/ioctl.h], AC_DEFINE([HAVE_SYS_IOCTL_H], [1], [Have <sys/ioctl.h> header?]))
AC_CHECK_HEADER([sys/param.h], AC_DEFINE([HAVE_SYS_PARAM_H], [1], [Have <sys/param.h> header?]))
AS_CASE(["$host_os_name"], [darwin*], [
# Darwin and macOS...
with_dnssd="mdnsresponder"
- AC_DEFINE([HAVE_DNSSD], [1], [Have DNS-SD support?])
AC_DEFINE([HAVE_MDNSRESPONDER], [1], [Have mDNSResponder library?])
DNSSD_BACKEND="dnssd"
IPPFIND_BIN="ippfind"
], [
AC_MSG_RESULT([yes])
with_dnssd="mdnsresponder"
- AC_DEFINE([HAVE_DNSSD], [1], [Have DNS-SD support?])
AC_DEFINE([HAVE_MDNSRESPONDER], [1], [Have mDNSResponder library?])
DNSSDLIBS="-ldns_sd"
DNSSD_BACKEND="dnssd"
IPPFIND_MAN="ippfind.1"
PKGCONFIG_REQUIRES="$PKGCONFIG_REQUIRES avahi-client"
AC_DEFINE([HAVE_AVAHI], [1], [Have Avahi client library?])
- AC_DEFINE([HAVE_DNSSD], [1], [Have DNS-SD support?])
], [
AC_MSG_RESULT([no])
AS_IF([test $with_dnssd = avahi], [
AC_SEARCH_LIBS([hstrerror], [nsl socket resolv], [
AC_DEFINE([HAVE_HSTRERROR], [1], [Have the hstrerror function?])
])
-AC_SEARCH_LIBS([rresvport_af], [nsl], [
- AC_DEFINE([HAVE_RRESVPORT_AF], [1], [Have the rresvport_af function?])
-])
AC_SEARCH_LIBS([__res_init], [resolv bind], [
AC_DEFINE([HAVE_RES_INIT], [1], [Have res_init function?])
], [
#undef HAVE_PAM_SETCRED
-/*
- * Do we have <shadow.h>?
- */
-
-#undef HAVE_SHADOW_H
-
-
-/*
- * Do we have <crypt.h>?
- */
-
-#undef HAVE_CRYPT_H
-
-
/*
* Use <stdint.h>?
*/
#undef HAVE_LIBPAPER
-/*
- * Do we have DNS Service Discovery (aka Bonjour) support?
- */
-
-#undef HAVE_DNSSD
-
-
/*
* Do we have mDNSResponder for DNS-SD?
*/
#undef HAVE_TM_GMTOFF
-/*
- * Do we have rresvport_af()?
- */
-
-#undef HAVE_RRESVPORT_AF
-
-
/*
* Do we have getifaddrs()?
*/
printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
fi
-ac_fn_c_check_header_compile "$LINENO" "crypt.h" "ac_cv_header_crypt_h" "$ac_includes_default"
-if test "x$ac_cv_header_crypt_h" = xyes
-then :
-
-printf "%s\n" "#define HAVE_CRYPT_H 1" >>confdefs.h
-
-fi
-
ac_fn_c_check_header_compile "$LINENO" "langinfo.h" "ac_cv_header_langinfo_h" "$ac_includes_default"
if test "x$ac_cv_header_langinfo_h" = xyes
then :
fi
-ac_fn_c_check_header_compile "$LINENO" "shadow.h" "ac_cv_header_shadow_h" "$ac_includes_default"
-if test "x$ac_cv_header_shadow_h" = xyes
-then :
-
-printf "%s\n" "#define HAVE_SHADOW_H 1" >>confdefs.h
-
-fi
-
ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
if test "x$ac_cv_header_stdint_h" = xyes
then :
printf "%s\n" "#define HAVE_HSTRERROR 1" >>confdefs.h
-fi
-
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing rresvport_af" >&5
-printf %s "checking for library containing rresvport_af... " >&6; }
-if test ${ac_cv_search_rresvport_af+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
- ac_func_search_save_LIBS=$LIBS
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-/* Override any GCC internal prototype to avoid an error.
- Use char because int might match the return type of a GCC
- builtin and then its argument prototype would still apply. */
-char rresvport_af ();
-int
-main (void)
-{
-return rresvport_af ();
- ;
- return 0;
-}
-_ACEOF
-for ac_lib in '' nsl
-do
- if test -z "$ac_lib"; then
- ac_res="none required"
- else
- ac_res=-l$ac_lib
- LIBS="-l$ac_lib $ac_func_search_save_LIBS"
- fi
- if ac_fn_c_try_link "$LINENO"
-then :
- ac_cv_search_rresvport_af=$ac_res
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam \
- conftest$ac_exeext
- if test ${ac_cv_search_rresvport_af+y}
-then :
- break
-fi
-done
-if test ${ac_cv_search_rresvport_af+y}
-then :
-
-else $as_nop
- ac_cv_search_rresvport_af=no
-fi
-rm conftest.$ac_ext
-LIBS=$ac_func_search_save_LIBS
-fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_rresvport_af" >&5
-printf "%s\n" "$ac_cv_search_rresvport_af" >&6; }
-ac_res=$ac_cv_search_rresvport_af
-if test "$ac_res" != no
-then :
- test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
-
-
-printf "%s\n" "#define HAVE_RRESVPORT_AF 1" >>confdefs.h
-
-
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing __res_init" >&5
# Darwin and macOS...
with_dnssd="mdnsresponder"
-printf "%s\n" "#define HAVE_DNSSD 1" >>confdefs.h
-
-
printf "%s\n" "#define HAVE_MDNSRESPONDER 1" >>confdefs.h
DNSSD_BACKEND="dnssd"
printf "%s\n" "yes" >&6; }
with_dnssd="mdnsresponder"
-printf "%s\n" "#define HAVE_DNSSD 1" >>confdefs.h
-
-
printf "%s\n" "#define HAVE_MDNSRESPONDER 1" >>confdefs.h
DNSSDLIBS="-ldns_sd"
printf "%s\n" "#define HAVE_AVAHI 1" >>confdefs.h
-printf "%s\n" "#define HAVE_DNSSD 1" >>confdefs.h
-
-
else $as_nop
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
#include "cupsd.h"
#include <grp.h>
-#ifdef HAVE_SHADOW_H
-# include <shadow.h>
-#endif /* HAVE_SHADOW_H */
-#ifdef HAVE_CRYPT_H
-# include <crypt.h>
-#endif /* HAVE_CRYPT_H */
#if HAVE_LIBPAM
# ifdef HAVE_PAM_PAM_APPL_H
# include <pam/pam_appl.h>
}
pam_end(pamh, PAM_SUCCESS);
-
#else
- /*
- * Use normal UNIX password file-based authentication...
- */
-
- char *pass; /* Encrypted password */
- struct passwd *pw; /* User password data */
-# ifdef HAVE_SHADOW_H
- struct spwd *spw; /* Shadow password data */
-# endif /* HAVE_SHADOW_H */
-
-
- pw = getpwnam(username); /* Get the current password */
- endpwent(); /* Close the password file */
-
- if (!pw)
- {
- /*
- * No such user...
- */
-
- cupsdLogClient(con, CUPSD_LOG_ERROR, "Unknown username \"%s\".", username);
- return;
- }
-
-# ifdef HAVE_SHADOW_H
- spw = getspnam(username);
- endspent();
-
- if (!spw && !strcmp(pw->pw_passwd, "x"))
- {
- /*
- * Don't allow blank passwords!
- */
-
- cupsdLogClient(con, CUPSD_LOG_ERROR, "Username \"%s\" has no shadow password.", username);
- return;
- }
-
- if (spw && !spw->sp_pwdp[0] && !pw->pw_passwd[0])
-# else
- if (!pw->pw_passwd[0])
-# endif /* HAVE_SHADOW_H */
- {
- /*
- * Don't allow blank passwords!
- */
-
- cupsdLogClient(con, CUPSD_LOG_ERROR, "Username \"%s\" has no password.", username);
- return;
- }
-
- /*
- * OK, the password isn't blank, so compare with what came from the
- * client...
- */
-
- pass = crypt(password, pw->pw_passwd);
-
- if (!pass || strcmp(pw->pw_passwd, pass))
- {
-# ifdef HAVE_SHADOW_H
- if (spw)
- {
- pass = crypt(password, spw->sp_pwdp);
-
- if (pass == NULL || strcmp(spw->sp_pwdp, pass))
- {
- cupsdLogClient(con, CUPSD_LOG_ERROR, "Authentication failed for user \"%s\".", username);
- return;
- }
- }
- else
-# endif /* HAVE_SHADOW_H */
- {
- cupsdLogClient(con, CUPSD_LOG_ERROR, "Authentication failed for user \"%s\".", username);
- return;
- }
- }
+ cupsdLogClient(con, CUPSD_LOG_ERROR, "No authentication support is available.");
+ return;
#endif /* HAVE_LIBPAM */
}
!strcmp(con->clientname, "[::1]"));
}
-#ifdef HAVE_DNSSD
/*
* Check if the hostname is something.local (Bonjour); if so, allow it.
*/
for (end --; end > con->clientname && *end != '.'; end --);
}
- if (end && (!_cups_strcasecmp(end, ".local") ||
- !_cups_strcasecmp(end, ".local.")))
+ if (end && (!_cups_strcasecmp(end, ".local") || !_cups_strcasecmp(end, ".local.")))
return (1);
-#endif /* HAVE_DNSSD */
/*
* Check if the hostname is an IP address...
}
}
-#ifdef HAVE_DNSSD
- for (a = (cupsd_alias_t *)cupsArrayGetFirst(DNSSDAlias);
- a;
- a = (cupsd_alias_t *)cupsArrayGetNext(DNSSDAlias))
+ for (a = (cupsd_alias_t *)cupsArrayGetFirst(DNSSDAlias); a; a = (cupsd_alias_t *)cupsArrayGetNext(DNSSDAlias))
{
/*
* "ServerAlias *" allows all host values through...
return (1);
}
}
-#endif /* HAVE_DNSSD */
/*
* Check for interface hostname matches...
static const cupsd_var_t cupsd_vars[] =
{
{ "AutoPurgeJobs", &JobAutoPurge, CUPSD_VARTYPE_BOOLEAN },
-#ifdef HAVE_DNSSD
{ "BrowseDNSSDSubTypes", &DNSSDSubTypes, CUPSD_VARTYPE_STRING },
-#endif /* HAVE_DNSSD */
{ "BrowseWebIF", &BrowseWebIF, CUPSD_VARTYPE_BOOLEAN },
{ "Browsing", &Browsing, CUPSD_VARTYPE_BOOLEAN },
{ "Classification", &Classification, CUPSD_VARTYPE_STRING },
{ "DefaultPolicy", &DefaultPolicy, CUPSD_VARTYPE_STRING },
{ "DefaultShared", &DefaultShared, CUPSD_VARTYPE_BOOLEAN },
{ "DirtyCleanInterval", &DirtyCleanInterval, CUPSD_VARTYPE_TIME },
-#ifdef HAVE_DNSSD
{ "DNSSDHostName", &DNSSDHostName, CUPSD_VARTYPE_STRING },
-#endif /* HAVE_DNSSD */
{ "ErrorPolicy", &ErrorPolicy, CUPSD_VARTYPE_STRING },
{ "FilterLimit", &FilterLimit, CUPSD_VARTYPE_INTEGER },
{ "FilterNice", &FilterNice, CUPSD_VARTYPE_INTEGER },
Browsing = CUPS_DEFAULT_BROWSING;
DefaultShared = CUPS_DEFAULT_DEFAULT_SHARED;
-#ifdef HAVE_DNSSD
cupsdSetString(&DNSSDSubTypes, "_cups,_print,_universal");
cupsdClearString(&DNSSDHostName);
-#endif /* HAVE_DNSSD */
cupsdSetString(&ErrorPolicy, CUPS_DEFAULT_ERROR_POLICY);
* Local functions...
*/
-#ifdef HAVE_DNSSD
static char *get_auth_info_required(cupsd_printer_t *p,
char *buffer, size_t bufsize);
# ifdef __APPLE__
static void dnssdUpdate(void);
# endif /* HAVE_MDNSRESPONDER */
static void dnssdUpdateDNSSDName(int from_callback);
-#endif /* HAVE_DNSSD */
/*
* Announce the deletion...
*/
-#ifdef HAVE_DNSSD
if (removeit && (BrowseLocalProtocols & BROWSE_DNSSD) && DNSSDMaster)
dnssdDeregisterPrinter(p, 1, 0);
-#endif /* HAVE_DNSSD */
}
(p->type & (CUPS_PRINTER_REMOTE | CUPS_PRINTER_SCANNER)))
return;
-#ifdef HAVE_DNSSD
if ((BrowseLocalProtocols & BROWSE_DNSSD) && DNSSDMaster)
dnssdRegisterPrinter(p, 0);
-#endif /* HAVE_DNSSD */
}
if (!Browsing || !BrowseLocalProtocols)
return;
-#ifdef HAVE_DNSSD
if (BrowseLocalProtocols & BROWSE_DNSSD)
{
# ifdef HAVE_MDNSRESPONDER
*/
dnssdRegisterAllPrinters(0);
-#endif /* HAVE_DNSSD */
}
if (!Browsing || !BrowseLocalProtocols)
return;
-#ifdef HAVE_DNSSD
/*
* De-register the individual printers
*/
if ((BrowseLocalProtocols & BROWSE_DNSSD) && DNSSDMaster)
dnssdStop();
-#endif /* HAVE_DNSSD */
}
-#ifdef HAVE_DNSSD
/*
* 'cupsdUpdateDNSSDName()' - Update the computer name we use for browsing...
*/
return ("none");
}
-#endif /* HAVE_DNSSD */
BrowseLocalProtocols
VALUE(BROWSE_ALL);
/* Protocols to support for local printers */
-#ifdef HAVE_DNSSD
VAR char *DNSSDComputerName VALUE(NULL),
/* Computer/server name */
*DNSSDHostName VALUE(NULL),
# endif /* HAVE_MDNSRESPONDER */
VAR cupsd_srv_t WebIFSrv VALUE(NULL);
/* Service reference for the web interface */
-#endif /* HAVE_DNSSD */
/*
extern void cupsdRegisterPrinter(cupsd_printer_t *p);
extern void cupsdStartBrowsing(void);
extern void cupsdStopBrowsing(void);
-#ifdef HAVE_DNSSD
extern void cupsdUpdateDNSSDName(void);
-#endif /* HAVE_DNSSD */
if (!ra || cupsArrayFind(ra, "printer-current-time"))
ippAddDate(con->response, IPP_TAG_PRINTER, "printer-current-time", ippTimeToDate(curtime));
-#ifdef HAVE_DNSSD
if (!ra || cupsArrayFind(ra, "printer-dns-sd-name"))
{
if (printer->reg_name)
else
ippAddInteger(con->response, IPP_TAG_PRINTER, IPP_TAG_NOVALUE, "printer-dns-sd-name", 0);
}
-#endif /* HAVE_DNSSD */
if (!ra || cupsArrayFind(ra, "printer-error-policy"))
ippAddString(con->response, IPP_TAG_PRINTER, IPP_TAG_NAME, "printer-error-policy", NULL, printer->error_policy);
* compare case-insensitively.
*/
-#ifdef HAVE_DNSSD
if (DNSSDHostName)
nameptr = DNSSDHostName;
- else
-#endif
- if (ServerName)
+ else if (ServerName)
nameptr = ServerName;
else
nameptr = NULL;
* Got an error from select!
*/
-#ifdef HAVE_DNSSD
cupsd_printer_t *p; /* Current printer */
-#endif /* HAVE_DNSSD */
if (errno == EINTR) /* Just interrupted by a signal */
continue;
job->print_pipes[0], job->print_pipes[1],
job->back_pipes[0], job->back_pipes[1]);
-#ifdef HAVE_DNSSD
- for (p = (cupsd_printer_t *)cupsArrayFirst(Printers);
- p;
- p = (cupsd_printer_t *)cupsArrayNext(Printers))
+ for (p = (cupsd_printer_t *)cupsArrayFirst(Printers); p; p = (cupsd_printer_t *)cupsArrayNext(Printers))
cupsdLogMessage(CUPSD_LOG_EMERG, "printer[%s] reg_name=\"%s\"", p->name,
p->reg_name ? p->reg_name : "(null)");
-#endif /* HAVE_DNSSD */
-
break;
}
cupsdClearString(&p->alert);
cupsdClearString(&p->alert_description);
-#ifdef HAVE_DNSSD
cupsdClearString(&p->pdl);
cupsdClearString(&p->reg_name);
-#endif /* HAVE_DNSSD */
cupsArrayDelete(p->filetypes);
/* MIME type name */
const char *preferred = "image/urf";
/* document-format-preferred value */
+ char pdl[1024]; /* Buffer to build pdl list */
+ mime_filter_t *filter; /* MIME filter looping var */
/*
if (i)
attr->values[0].string.text = _cupsStrAlloc("application/octet-stream");
- for (type = (mime_type_t *)cupsArrayFirst(p->filetypes);
- type;
- i ++, type = (mime_type_t *)cupsArrayNext(p->filetypes))
+ for (type = (mime_type_t *)cupsArrayFirst(p->filetypes); type; i ++, type = (mime_type_t *)cupsArrayNext(p->filetypes))
{
snprintf(mimetype, sizeof(mimetype), "%s/%s", type->super, type->type);
ippAddString(p->attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_MIMETYPE), "document-format-preferred", NULL, preferred);
-#ifdef HAVE_DNSSD
+ /*
+ * We only support raw printing if this is not a Tioga PrintJobMgr based
+ * queue and if application/octet-stream is a known type...
+ */
+
+ for (filter = (mime_filter_t *)cupsArrayFirst(MimeDatabase->filters); filter; filter = (mime_filter_t *)cupsArrayNext(MimeDatabase->filters))
{
- char pdl[1024]; /* Buffer to build pdl list */
- mime_filter_t *filter; /* MIME filter looping var */
+ if (filter->dst == p->filetype && strstr(filter->filter, "PrintJobMgr"))
+ break;
+ }
+ pdl[0] = '\0';
- /*
- * We only support raw printing if this is not a Tioga PrintJobMgr based
- * queue and if application/octet-stream is a known type...
- */
+ /*
+ * Then list a bunch of formats that are supported by the printer...
+ */
- for (filter = (mime_filter_t *)cupsArrayFirst(MimeDatabase->filters);
- filter;
- filter = (mime_filter_t *)cupsArrayNext(MimeDatabase->filters))
+ for (type = (mime_type_t *)cupsArrayFirst(p->filetypes); type; type = (mime_type_t *)cupsArrayNext(p->filetypes))
+ {
+ if (!_cups_strcasecmp(type->super, "application"))
{
- if (filter->dst == p->filetype && strstr(filter->filter, "PrintJobMgr"))
- break;
+ if (!_cups_strcasecmp(type->type, "pdf"))
+ cupsConcatString(pdl, "application/pdf,", sizeof(pdl));
+ else if (!_cups_strcasecmp(type->type, "postscript"))
+ cupsConcatString(pdl, "application/postscript,", sizeof(pdl));
}
-
- pdl[0] = '\0';
-
- /*
- * Then list a bunch of formats that are supported by the printer...
- */
-
- for (type = (mime_type_t *)cupsArrayFirst(p->filetypes);
- type;
- type = (mime_type_t *)cupsArrayNext(p->filetypes))
+ else if (!_cups_strcasecmp(type->super, "image"))
{
- if (!_cups_strcasecmp(type->super, "application"))
- {
- if (!_cups_strcasecmp(type->type, "pdf"))
- cupsConcatString(pdl, "application/pdf,", sizeof(pdl));
- else if (!_cups_strcasecmp(type->type, "postscript"))
- cupsConcatString(pdl, "application/postscript,", sizeof(pdl));
- }
- else if (!_cups_strcasecmp(type->super, "image"))
- {
- if (!_cups_strcasecmp(type->type, "jpeg"))
- cupsConcatString(pdl, "image/jpeg,", sizeof(pdl));
- else if (!_cups_strcasecmp(type->type, "png"))
- cupsConcatString(pdl, "image/png,", sizeof(pdl));
- else if (!_cups_strcasecmp(type->type, "pwg-raster"))
- cupsConcatString(pdl, "image/pwg-raster,", sizeof(pdl));
- else if (!_cups_strcasecmp(type->type, "urf"))
- cupsConcatString(pdl, "image/urf,", sizeof(pdl));
- }
+ if (!_cups_strcasecmp(type->type, "jpeg"))
+ cupsConcatString(pdl, "image/jpeg,", sizeof(pdl));
+ else if (!_cups_strcasecmp(type->type, "png"))
+ cupsConcatString(pdl, "image/png,", sizeof(pdl));
+ else if (!_cups_strcasecmp(type->type, "pwg-raster"))
+ cupsConcatString(pdl, "image/pwg-raster,", sizeof(pdl));
+ else if (!_cups_strcasecmp(type->type, "urf"))
+ cupsConcatString(pdl, "image/urf,", sizeof(pdl));
}
+ }
- if (pdl[0])
- pdl[strlen(pdl) - 1] = '\0'; /* Remove trailing comma */
+ if (pdl[0])
+ pdl[strlen(pdl) - 1] = '\0'; /* Remove trailing comma */
- cupsdLogMessage(CUPSD_LOG_DEBUG, "%s: pdl='%s'", p->name, pdl);
+ cupsdLogMessage(CUPSD_LOG_DEBUG, "%s: pdl='%s'", p->name, pdl);
- cupsdSetString(&p->pdl, pdl);
- }
-#endif /* HAVE_DNSSD */
+ cupsdSetString(&p->pdl, pdl);
}
time_t marker_time; /* Last time marker attributes were updated */
_ppd_cache_t *pc; /* PPD cache and mapping data */
-#ifdef HAVE_DNSSD
char *reg_name, /* Name used for service registration */
*pdl; /* pdl value for TXT record */
cupsd_srv_t ipp_srv; /* IPP service(s) */
cupsd_srv_t ipps_srv; /* IPPS service(s) */
cupsd_srv_t printer_srv; /* LPD service */
# endif /* HAVE_MDNSRESPONDER */
-#endif /* HAVE_DNSSD */
};
p = (cupsd_printer_t *)cupsArrayNext(Printers))
cupsdDeregisterPrinter(p, 1);
-# ifdef HAVE_DNSSD
/*
* Update the computer name and BTMM domain list...
*/
cupsdUpdateDNSSDName();
-# endif /* HAVE_DNSSD */
/*
* Now re-register them...
/* #undef HAVE_PAM_SETCRED */
-/*
- * Do we have <shadow.h>?
- */
-
-/* #undef HAVE_SHADOW_H */
-
-
-/*
- * Do we have <crypt.h>?
- */
-
-/* #undef HAVE_CRYPT_H */
-
-
/*
* Use <stdint.h>?
*/
/* #undef HAVE_LIBPAPER */
-/*
- * Do we have DNS Service Discovery (aka Bonjour) support?
- */
-
-#define HAVE_DNSSD 1
-
-
/*
* Do we have mDNSResponder for DNS-SD?
*/
/* #undef HAVE_TM_GMTOFF */
-/*
- * Do we have rresvport_af()?
- */
-
-/* #undef HAVE_RRESVPORT_AF */
-
-
/*
* Do we have getifaddrs()?
*/
#endif /* TARGET_OS_OSX */
-/*
- * Do we have <shadow.h>?
- */
-
-/* #undef HAVE_SHADOW_H */
-
-
-/*
- * Do we have <crypt.h>?
- */
-
-/* #undef HAVE_CRYPT_H */
-
-
/*
* Use <stdint.h>?
*/
/* #undef HAVE_LIBPAPER */
-/*
- * Do we have DNS Service Discovery (aka Bonjour) support?
- */
-
-#define HAVE_DNSSD 1
-
-
/*
* Do we have mDNSResponder for DNS-SD?
*/
#define HAVE_TM_GMTOFF 1
-/*
- * Do we have rresvport_af()?
- */
-
-#define HAVE_RRESVPORT_AF 1
-
-
/*
* Do we have getifaddrs()?
*/