1#!/bin/sh
2# $Id: config.site.ex 381201 2012-11-20 14:30:39Z ucko $
3
4### You can control where the C++ Toolkit's configure script looks for
5### various packages by copying or renaming this file to "config.site"
6### and then uncommenting and adjusting the relevant settings.
7
8### NOTE: configure reads this file after parsing arguments but before
9### setting anything else, so any configuration-dependent settings
10### will have to manage with only $with_xxx and the original
11### environment.
12
13
14### Read in systemwide defaults
15
16# . /usr/local/etc/config.site
17
18
19### Make sure configure can find your favorite development toolchain.  (It
20### then hardcodes programs' paths in makefiles, so setting PATH here should
21### be sufficient as long as the compiler doesn't rely on finding auxiliary
22### programs in $PATH.)
23
24# PATH=/usr/foo/bin:$PATH
25
26
27### Paths to various external libraries; the defaults are often relative to
28### $NCBI, per our in-house setup.  Most of these also have --with-...
29###  options that take a path.
30
31# NCBI="/netopt/ncbi_tools"
32
33### Sybase
34
35# SYBASE_PATH="/netopt/Sybase/clients/current"
36# SYBASE_LOCAL_PATH="/export/home/sybase/clients/current"
37
38### FreeTDS (we recommend just using the bundled version)
39
40# FTDS_PATH="/netopt/Sybase/clients-mssql/current"
41## -L$FTDS_PATH/lib automatically prepended
42# FTDS_LIBS="-lsybdb -ltds"
43
44### MySQL (also looks for mysql_config in $PATH)
45
46# MYSQL_PATH="/netopt/mysql/current"
47# MYSQL_BINPATH="$MYSQL_PATH/bin"
48# mysql_config="$MYSQL_BINPATH/mysql_config"
49## Normally obtained from mysql_config, but still settable if necessary...
50# MYSQL_INCLUDE="-I$MYSQL_PATH/include"
51# MYSQL_LIBS="-L$MYSQL_PATH/lib -lmysqlclient"
52
53### Berkeley DB
54
55# BERKELEYDB_PATH="$NCBI/BerkeleyDB"
56
57### ODBC
58
59# ODBC_PATH="/opt/machine/merant/lib"
60
61### NCBI C Toolkit
62
63# NCBI_C_PATH="$NCBI"
64
65### OpenGL extensions
66
67# OSMESA_PATH="$NCBI/MesaGL"
68# GLUT_PATH="$NCBI/glut"
69
70### wxWidgets
71
72# WXWIDGETS_PATH="$NCBI/wxwidgets"
73# WXWIDGETS_ARCH_PATH="$WXWIDGETS_PATH/..."
74# WXWIDGETS_BINPATH="$WXWIDGETS_ARCH_PATH/bin"
75# WXWIDGETS_LIBPATH="$WXWIDGETS_ARCH_PATH/lib"
76
77### FastCGI
78
79# FASTCGI_PATH="$NCBI/fcgi-current"
80
81### SP
82
83# SP_PATH="$NCBI/SP"
84
85### NCBI SSS libraries
86
87# NCBI_SSS_PATH="$NCBI/sss/BUILD"
88# NCBI_SSS_INCLUDE="$NCBI_SSS_PATH/include"
89
90### NCBI PubMed libraries ($bit64_sfx automatically added unless present)
91
92# NCBI_PM_PATH="$NCBI/pubmed"
93
94### ORBacus (CORBA implementation)
95
96# ORBACUS_PATH="$NCBI/corba/OB-4.0.1"
97
98### XML/XSL support
99# EXPAT_PATH="$NCBI/expat"
100# SABLOT_PATH="$NCBI/Sablot"
101
102### Image libraries
103
104# JPEG_PATH="$NCBI/gd"
105# PNG_PATH="$NCBI/gd"
106# TIFF_PATH="/usr/sfw"
107# XPM_PATH="/usr/X11"
108
109### You shouldn't normally need to set anything below this point.
110
111### Hand-pick particular programs (may include flags; may be overridden in
112### some cases)
113
114# CC="mycc"
115# CXX="myCC"
116# AR="ar"
117# RANLIB="ranlib"
118# STRIP="strip"
119
120
121### Set special flags (normally not needed)
122
123# CPPFLAGS="-DFOO -I/bar"
124# LDFLAGS="-L/baz"
125# CFLAGS="-g -O ..."
126# CXXFLAGS="-g -O ..."
127# MTFLAG="-mt"
128# DEF_FAST_FLAGS="-O99"
129# CFLAGS_DLL="-fPIC"
130# CXXFLAGS_DLL="-fPIC"
131
132### Libraries for various things (normally autodetected)
133
134# THREAD_LIBS="-lpthread"
135# NETWORK_LIBS="-lsocket -lnsl"
136# RESOLVER_LIBS="-lresolv"
137# MATH_LIBS="-lm"
138# KSTAT_LIBS="-lkstat"
139# RPCSVC_LIBS="-lrpcsvc"
140# CRYPT_LIBS="-lcrypt"
141# DL_LIBS="-ldl"
142# RT_LIBS="-lrt"
143# ICONV_LIBS="-liconv"
144