]> 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 ed4dbbc5e48be4db3e93d07c1a13d4970414c37b..755f9d7e2c6ec6d531038c72d57da685512b4873 100644 (file)
@@ -1,5 +1,5 @@
 dnl
-dnl "$Id: cups-opsys.m4 6649 2007-07-11 21:46:42Z mike $"
+dnl "$Id: cups-opsys.m4 11324 2013-10-04 03:11:42Z msweet $"
 dnl
 dnl   Operating system stuff for CUPS.
 dnl
@@ -19,6 +19,13 @@ 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"
                ;;
@@ -28,5 +35,5 @@ case "$uname" in
 esac
 
 dnl
-dnl "$Id: cups-opsys.m4 6649 2007-07-11 21:46:42Z mike $"
+dnl "$Id: cups-opsys.m4 11324 2013-10-04 03:11:42Z msweet $"
 dnl