1# $Header: /cvsroot/osrs/libtiff/config.site,v 1.8 2002/10/11 14:33:49 dron Exp $ 2# 3# TIFF Software 4# 5# Copyright (c) 1990-1997 Sam Leffler 6# Copyright (c) 1991-1997 Silicon Graphics, Inc. 7# 8# Permission to use, copy, modify, distribute, and sell this software and 9# its documentation for any purpose is hereby granted without fee, provided 10# that (i) the above copyright notices and this permission notice appear in 11# all copies of the software and related documentation, and (ii) the names of 12# Sam Leffler and Silicon Graphics may not be used in any advertising or 13# publicity relating to the software without the specific, prior written 14# permission of Sam Leffler and Silicon Graphics. 15# 16# THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, 17# EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY 18# WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. 19# 20# IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR 21# ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, 22# OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, 23# WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF 24# LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE 25# OF THIS SOFTWARE. 26# 27 28# 29# This file holds site-specific configuration parameters. 30# 31# Nothing is defined in here by default, the definitions 32# commented out below serve as documentation for what you 33# can set in this file or a config.local file. 34# 35# Note that you do not need to set anything here unless you 36# want to override the auto-configuration behaviour and/or 37# interactive prompting done by the configure script. 38# 39 40# 41# Package controls. 42# 43#DSO="auto" # auto|IRIX|IRIX52 enable DSO support for system 44#JPEG="yes" # yes|no configure JPEG support (see below) 45#ZIP="yes" # yes|no configure Deflate support (see below) 46#LIBGL="auto" # yes|no|auto configure IRIS GL-based tools 47#LIBIMAGE="auto" # yes|no|auto configure SGI RGB image tools 48#HTML="yes" # yes|no install HTML documentation 49 50#NONINTERACTIVE=yes # yes|no Don't ask for confirmation on console 51 52# 53# Directory parameters. 54# 55#DIR_BIN="/usr/local/bin" # directory for tools 56#DIR_LIB="/usr/local/lib" # directory for libraries 57#DIR_INC="/usr/local/include" # directory for include files 58#DIR_MAN="/usr/local/man" # directory for manual pages 59#DIR_HTML="/var/httpd/htdocs/tiff" # directory for HTML documentation 60 61# 62# Configuring supporting libraries. 63# 64# The TIFF software makes use of two ancillary packages: the IJG 65# distribution to support the JPEG codec and the zlib distribution 66# to support the Deflate codec. To setup use of these packages you 67# need to specify where each package's include files are located and 68# where the pre-built library (static archive or DSO) is located. 69# These may be different or the same (as when the package is compiled 70# and referenced directly from the place where the software was 71# loaded and compiled). 72# 73# DIRS_LIBINC is a space-separated list of directories to use for 74# locating include files in these packages. Note that it should not 75# include -I options as might be passed to the C preprocessor; these 76# are automatically added by the configure script when the Makefiles 77# are generated. 78# 79# DIR_<package>LIB is the pathname of the directory where <package>'s 80# pre-built library may be found; this is used when building a TIFF 81# DSO (on systems where support is present) and when building the 82# programs in the tools directory. By default the configure script 83# will load the associated library using 84# 85# -L${DIR_<package>LIB} -l<package> 86# 87# e.g. -L${DIR_JPEGLIB} -ljpeg. If this is wrong for your system 88# (e.g. your compiler/loader does not support the -L option), then 89# the LIB<package> parameter can be set explicitly to specify the 90# library to use. 91# 92 93# 94# JPEG-specific parameters; used when JPEG support is enabled (see above). 95# 96# JPEG support requires release 5 or later of the IJG code, 97# which you can find on the Internet at ftp.uu.net:/graphics/jpeg/. 98# 99#DIRS_LIBINC="$DIRS_LIBINC ../src/jpeg-6b" # directory for jpeg include files 100#DIR_JPEGLIB=../src/jpeg-6b # directory for libjpeg 101 102# The following will enable OJPEG support. Note that a patch libjpeg is 103# required before this can be enabled. It is also only supported if JPEG is 104# enabled. 105 106#OJPEG="yes" # yes|no configure OJPEG support 107 108# 109# Deflate-specific parameters; used when Deflate support is enabled (see above). 110# 111# NB: Deflate support requires version 0.92 or later of the zlib 112# library written by Jean-loup Gailly and Mark Adler. Starting 113# with about 0.95 the library is called libz.a (previously it was 114# libgz.a). The library was last found at 115# 116# ftp://ftp.uu.net/graphics/png/code/zlib-0.93.tar.gz 117# 118# Look for it also at ftp://ftp.uu.net/pub/archiving/zip/zlib. 119# 120#DIRS_LIBINC="$DIRS_LIBINC ../zlib" # directory for zlib include files 121#DIR_GZLIB="../zlib" # directory for libz 122 123# 124# Miscellaneous parameters. 125# 126#FILLORDER="MS2LSB" # bit order of cpu (MSB2LSB/LSB2MSB) 127#MANSCHEME="sysv-source-cat-strip" # manual page installation scheme 128#LARGEFILE="yes" # support for large (>2GiB) files 129 130# 131# Parameters used when building the software. 132# 133# Note that configure has several ENVOPTS built into it that are 134# set according to the target. This is done to help naive folks. 135# 136# Beware of changing the INSTALL definition; you *must* have an 137# install script that emulates the Silicon Graphics install program! 138# 139#AR="/bin/ar" # pathname of suitable ar program 140#AROPTS="rc" # options to ar for creating archive 141#CC="gcc" # name/pathname of C compiler 142#CCOMPILER=/opt/ansic/bin/$CC # path to compiler if not in PATH. 143#ENVOPTS="-Aa" # options for getting ANSI C 144#GCOPTS="-g" # options to pass C compiler 145#OPTIMIZER="-O" # Optimization options for compiler 146#LDFLAGS="-Wl,-O" # Special linker flags. 147#LIBPORT='${PORT}/libport.a' # library with emulation code 148#MACHDEPLIBS="-lm" # extra libraries for linking 149#PORTFUNCS="" # non-standard functions to emulate 150#RANLIB=":" # pathname of suitable ranlib program 151#DSOSUF="so" # DSO filename suffix 152#LIBCOPTS="-K PIC" # compiler options for building library 153#TARGET=hppa1.1-hp-hpux11.11 # Force TARGET platform setting. 154#PATH="$PATH:/usr/ccs/bin" # Modify path for finding compilers,etc 155 156# 157# Makefile construction parameters. 158# 159# These should not normally be set; configure will 160# deduce the appropriate syntax to use for includes. 161# 162#SETMAKE='MAKE = ${MAKE}' # define if make does not setup $MAKE 163 164# 165# General system stuff used by the distribution. 166# 167#CHMOD="/etc/chmod" # pathname of suitable chmod program 168#INSTALL='${SHELL} ${PORT}/install.sh' # SGI install program/emulator 169#LN="/bin/ln" # pathname of suitable ln program 170#LN_S="-s" # option to ${LN} to create symlink 171#MV_F="-f" # option to ${MV} to force operation 172#SED="/bin/sed" # pathname of suitable sed program 173#SCRIPT_SH="/bin/sh" # pathname of suitable shell 174#STRIP="/bin/strip" # strip program used by install.sh 175