]>
Commit | Line | Data |
---|---|---|
ef416fc2 | 1 | dnl |
f7deaa1a | 2 | dnl "$Id: cups-opsys.m4 6135 2006-12-06 18:22:38Z mike $" |
ef416fc2 | 3 | dnl |
4 | dnl Operating system stuff for the Common UNIX Printing System (CUPS). | |
5 | dnl | |
bd7854cb | 6 | dnl Copyright 1997-2006 by Easy Software Products, all rights reserved. |
ef416fc2 | 7 | dnl |
8 | dnl These coded instructions, statements, and computer programs are the | |
9 | dnl property of Easy Software Products and are protected by Federal | |
10 | dnl copyright law. Distribution and use rights are outlined in the file | |
11 | dnl "LICENSE.txt" which should have been included with this file. If this | |
12 | dnl file is missing or damaged please contact Easy Software Products | |
13 | dnl at: | |
14 | dnl | |
15 | dnl Attn: CUPS Licensing Information | |
16 | dnl Easy Software Products | |
17 | dnl 44141 Airport View Drive, Suite 204 | |
18 | dnl Hollywood, Maryland 20636 USA | |
19 | dnl | |
20 | dnl Voice: (301) 373-9600 | |
21 | dnl EMail: cups-info@cups.org | |
22 | dnl WWW: http://www.cups.org | |
23 | dnl | |
24 | ||
b86bc4cf | 25 | dnl Get the operating system, version number, and architecture... |
ef416fc2 | 26 | uname=`uname` |
fa73b229 | 27 | uversion=`uname -r | sed -e '1,$s/^[[^0-9]]*\([[0-9]]*\)\.\([[0-9]]*\).*/\1\2/'` |
b86bc4cf | 28 | uarch=`uname -m` |
fa73b229 | 29 | |
ef416fc2 | 30 | case "$uname" in |
31 | GNU* | GNU/*) | |
32 | uname="GNU" | |
33 | ;; | |
34 | IRIX*) | |
35 | uname="IRIX" | |
36 | ;; | |
37 | Linux*) | |
38 | uname="Linux" | |
39 | ;; | |
40 | esac | |
41 | ||
ef416fc2 | 42 | dnl |
f7deaa1a | 43 | dnl "$Id: cups-opsys.m4 6135 2006-12-06 18:22:38Z mike $" |
ef416fc2 | 44 | dnl |