/[ascend]/trunk/base/generic/utilities/config.h.in
ViewVC logotype

Contents of /trunk/base/generic/utilities/config.h.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 595 - (show annotations) (download)
Fri May 12 11:28:44 2006 UTC (14 years, 3 months ago) by johnpye
File size: 2415 byte(s)
fixing so that Ben won't need to add this macro to autoconf, hopefully.
1 // This file will be processed by SCons and output as config.h.
2 // Don't edit this file unless it's named 'config.h.in' unless
3 // it doesn't bother you that your changes will be IGNORED!
4
5 #ifndef ASC_CONFIG_H
6 #define ASC_CONFIG_H
7
8 #define ASC_DEFAULTPATH "@DEFAULT_ASCENDLIBRARY@"
9 #define ASC_DATADIR "@INSTALL_DATA@"
10
11 /*
12 This is the location of the 'dist dir' relative to the location of the
13 running executable. When ASC_RELATIVE_PATHS is set, this will be used to
14 guess the location for ASCEND's data files. A good value is
15
16 ..
17
18 but in /usr or /usr/local installations, a better value is
19
20 ../share/ascend
21 */
22 #define ASC_DISTDIR_REL_BIN "@ASC_DISTDIR_REL_BIN@"
23
24
25 /*
26 This variable determines whether you want an 'application folder' style
27 installation, or whether you want ASCEND's data files to be referenced
28 using absolute paths.
29
30 For a discussion of this, see
31 http://linux.slashdot.org/article.pl?sid=04/04/03/174249
32
33 At present, the only place this has any effect is in the Tcl/Tk
34 interface, in Driver.c's choices for default values of non-specified
35 environment variables.
36 */
37 #define ASC_RELATIVE_PATHS
38
39
40 /*
41 This is the default location of the tcl/tk scripts. $AAAAA environment
42 variables will be expanded at runtime, so a good value for example is
43
44 $ASCENDDIST/TK
45 */
46 #define ASC_ENV_TK_DEFAULT "@ASC_ENV_TK_DEFAULT@"
47
48
49 /*
50 Whether to use xterm colours when writing 'error.h' output, eg
51 'ERROR' in red, etc. If not defined, colour will never be used.
52 If defined, colour will be used any time the the TERM environment
53 variable is set to 'xterm' or 'msys'. MSYS uses the 'rxvt' console,
54 which knows about xterm colour codes.
55
56 This sneaky approach should allow a safe fallback in the case where
57 you haven't substituted this conf-string.
58 */
59 #if !("@ASC_NO_XTERM_COLORS@")
60 # define ASC_XTERM_COLORS
61 #endif
62
63 /*
64 The following are the environment variables ASCEND requires.
65 If the user does not have the ASC_ENV_DIST set in his or her
66 environment, a default value is set based on the directory where the
67 ascend binary lives. The other environment variables will be set
68 to default values keyed off of ASC_ENV_DIST. See the function
69 CheckEnvironmentVars later in this file for the details.
70 */
71 #define ASC_ENV_DIST "ASCENDDIST"
72 #define ASC_ENV_TK "ASCENDTK"
73 #define ASC_ENV_BITMAPS "ASCENDBITMAPS"
74 #define ASC_ENV_LIBRARY "ASCENDLIBRARY"
75 #endif

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22