]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - config-scripts/cups-network.m4
Update all references to OS X to macOS.
[thirdparty/cups.git] / config-scripts / cups-network.m4
index 27825fd6d710a4323741cae6043e56890bdaf58a..dd2749d224d6936294bcdff945e70984142a5120 100644 (file)
@@ -1,6 +1,4 @@
 dnl
-dnl "$Id$"
-dnl
 dnl Networking stuff for CUPS.
 dnl
 dnl Copyright 2007-2014 by Apple Inc.
@@ -16,6 +14,8 @@ dnl
 AC_CHECK_HEADER(resolv.h,AC_DEFINE(HAVE_RESOLV_H),,[
 #include <sys/socket.h>
 #include <netinet/in.h>
+#include <arpa/inet.h>
+#include <netinet/in_systm.h>
 #include <netinet/ip.h>])
 AC_SEARCH_LIBS(socket, socket)
 AC_SEARCH_LIBS(gethostbyaddr, nsl)
@@ -47,7 +47,7 @@ if test x$enable_domainsocket != xno -a x$default_domainsocket != xno; then
        if test "x$default_domainsocket" = x; then
                case "$uname" in
                        Darwin*)
-                               # Darwin and MaxOS X do their own thing...
+                               # Darwin and MaxmacOS do their own thing...
                                CUPS_DEFAULT_DOMAINSOCKET="$localstatedir/run/cupsd"
                                ;;
                        *)
@@ -68,7 +68,3 @@ fi
 
 AC_SUBST(CUPS_DEFAULT_DOMAINSOCKET)
 AC_SUBST(CUPS_LISTEN_DOMAINSOCKET)
-
-dnl
-dnl End of "$Id$".
-dnl