]>
Commit | Line | Data |
---|---|---|
ef416fc2 | 1 | dnl |
bc44d920 | 2 | dnl "$Id: cups-opsys.m4 6649 2007-07-11 21:46:42Z mike $" |
ef416fc2 | 3 | dnl |
4 | dnl Operating system stuff for the Common UNIX Printing System (CUPS). | |
5 | dnl | |
bc44d920 | 6 | dnl Copyright 2007 by Apple Inc. |
bd7854cb | 7 | dnl Copyright 1997-2006 by Easy Software Products, all rights reserved. |
ef416fc2 | 8 | dnl |
9 | dnl These coded instructions, statements, and computer programs are the | |
bc44d920 | 10 | dnl property of Apple Inc. and are protected by Federal copyright |
11 | dnl law. Distribution and use rights are outlined in the file "LICENSE.txt" | |
12 | dnl which should have been included with this file. If this file is | |
13 | dnl file is missing or damaged, see the license at "http://www.cups.org/". | |
ef416fc2 | 14 | dnl |
15 | ||
b86bc4cf | 16 | dnl Get the operating system, version number, and architecture... |
ef416fc2 | 17 | uname=`uname` |
fa73b229 | 18 | uversion=`uname -r | sed -e '1,$s/^[[^0-9]]*\([[0-9]]*\)\.\([[0-9]]*\).*/\1\2/'` |
b86bc4cf | 19 | uarch=`uname -m` |
fa73b229 | 20 | |
ef416fc2 | 21 | case "$uname" in |
22 | GNU* | GNU/*) | |
23 | uname="GNU" | |
24 | ;; | |
25 | IRIX*) | |
26 | uname="IRIX" | |
27 | ;; | |
28 | Linux*) | |
29 | uname="Linux" | |
30 | ;; | |
31 | esac | |
32 | ||
ef416fc2 | 33 | dnl |
bc44d920 | 34 | dnl "$Id: cups-opsys.m4 6649 2007-07-11 21:46:42Z mike $" |
ef416fc2 | 35 | dnl |