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