]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - config-scripts/cups-opsys.m4
Import experimental work-in-progress HTTP/2 branch
[thirdparty/cups.git] / config-scripts / cups-opsys.m4
index eab82c7936a8873d8c5d0afe5d0d968eeacfba5c..755f9d7e2c6ec6d531038c72d57da685512b4873 100644 (file)
@@ -1,43 +1,39 @@
 dnl
-dnl "$Id: cups-opsys.m4 177 2006-06-21 00:20:03Z jlovell $"
+dnl "$Id: cups-opsys.m4 11324 2013-10-04 03:11:42Z msweet $"
 dnl
-dnl   Operating system stuff for the Common UNIX Printing System (CUPS).
+dnl   Operating system stuff for CUPS.
 dnl
+dnl   Copyright 2007-2012 by Apple Inc.
 dnl   Copyright 1997-2006 by Easy Software Products, all rights reserved.
 dnl
 dnl   These coded instructions, statements, and computer programs are the
-dnl   property of Easy Software Products and are protected by Federal
-dnl   copyright law.  Distribution and use rights are outlined in the file
-dnl   "LICENSE.txt" which should have been included with this file.  If this
-dnl   file is missing or damaged please contact Easy Software Products
-dnl   at:
-dnl
-dnl       Attn: CUPS Licensing Information
-dnl       Easy Software Products
-dnl       44141 Airport View Drive, Suite 204
-dnl       Hollywood, Maryland 20636 USA
-dnl
-dnl       Voice: (301) 373-9600
-dnl       EMail: cups-info@cups.org
-dnl         WWW: http://www.cups.org
+dnl   property of Apple Inc. and are protected by Federal copyright
+dnl   law.  Distribution and use rights are outlined in the file "LICENSE.txt"
+dnl   which should have been included with this file.  If this file is
+dnl   file is missing or damaged, see the license at "http://www.cups.org/".
 dnl
 
-dnl Get the operating system and version number...
+dnl Get the operating system, version number, and architecture...
 uname=`uname`
 uversion=`uname -r | sed -e '1,$s/^[[^0-9]]*\([[0-9]]*\)\.\([[0-9]]*\).*/\1\2/'`
+uarch=`uname -m`
 
 case "$uname" in
+       Darwin*)
+               uname="Darwin"
+               if test $uversion -lt 120; then
+                       AC_MSG_ERROR([Sorry, this version of CUPS requires OS X 10.8 or higher.])
+               fi
+               ;;
+
        GNU* | GNU/*)
                uname="GNU"
                ;;
-       IRIX*)
-               uname="IRIX"
-               ;;
        Linux*)
                uname="Linux"
                ;;
 esac
 
 dnl
-dnl "$Id: cups-opsys.m4 177 2006-06-21 00:20:03Z jlovell $"
+dnl "$Id: cups-opsys.m4 11324 2013-10-04 03:11:42Z msweet $"
 dnl