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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 595 by johnpye, Fri May 12 11:28:44 2006 UTC revision 596 by johnpye, Fri May 12 11:37:24 2006 UTC
# Line 1  Line 1 
1  // This file will be processed by SCons and output as config.h.  // 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  // 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!  // it doesn't bother you that your changes will be IGNORED!
4    
5  #ifndef ASC_CONFIG_H  #ifndef ASC_CONFIG_H
6  #define ASC_CONFIG_H  #define ASC_CONFIG_H
7    
8  #define ASC_DEFAULTPATH "@DEFAULT_ASCENDLIBRARY@"  #define ASC_DEFAULTPATH "@DEFAULT_ASCENDLIBRARY@"
9  #define ASC_DATADIR "@INSTALL_DATA@"  #define ASC_DATADIR "@INSTALL_DATA@"
10    
11  /*  /*
12      This is the location of the 'dist dir' relative to the location of the      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      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      guess the location for ASCEND's data files. A good value is
# Line 17  Line 17 
17    
18      but in /usr or /usr/local installations, a better value is      but in /usr or /usr/local installations, a better value is
19    
20      ../share/ascend      ../share/ascend
21  */  */
22  #define ASC_DISTDIR_REL_BIN "@ASC_DISTDIR_REL_BIN@"  #define ASC_DISTDIR_REL_BIN "@ASC_DISTDIR_REL_BIN@"
23    
24    
25  /*  /*
26      This variable determines whether you want an 'application folder' style      This variable determines whether you want an 'application folder' style
27      installation, or whether you want ASCEND's data files to be referenced      installation, or whether you want ASCEND's data files to be referenced
28      using absolute paths.      using absolute paths.
29    
30      For a discussion of this, see      For a discussion of this, see
31      http://linux.slashdot.org/article.pl?sid=04/04/03/174249      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      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      interface, in Driver.c's choices for default values of non-specified
35      environment variables.      environment variables.
36  */  */
37  #define ASC_RELATIVE_PATHS  #define ASC_RELATIVE_PATHS
38    
39    
40  /*  /*
41      This is the default location of the tcl/tk scripts. $AAAAA environment      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      variables will be expanded at runtime, so a good value for example is
43    
44      $ASCENDDIST/TK      $ASCENDDIST/TK
45  */  */
46  #define ASC_ENV_TK_DEFAULT "@ASC_ENV_TK_DEFAULT@"  #define ASC_ENV_TK_DEFAULT "@ASC_ENV_TK_DEFAULT@"
   
47    
48  /*  
49    /*
50      Whether to use xterm colours when writing 'error.h' output, eg      Whether to use xterm colours when writing 'error.h' output, eg
51      'ERROR' in red, etc. If not defined, colour will never be used.      '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      If defined, colour will be used any time the the TERM environment
# Line 56  Line 56 
56      This sneaky approach should allow a safe fallback in the case where      This sneaky approach should allow a safe fallback in the case where
57      you haven't substituted this conf-string.      you haven't substituted this conf-string.
58  */  */
59  #if !("@ASC_NO_XTERM_COLORS@")  #define ASC_XTERM_COLORS "@ASC_XTERM_COLORS@"
 # define ASC_XTERM_COLORS  
 #endif  
60    
61  /*  /*
62      The following are the environment variables ASCEND requires.      The following are the environment variables ASCEND requires.
# Line 71  Line 69 
69  #define ASC_ENV_DIST    "ASCENDDIST"  #define ASC_ENV_DIST    "ASCENDDIST"
70  #define ASC_ENV_TK      "ASCENDTK"  #define ASC_ENV_TK      "ASCENDTK"
71  #define ASC_ENV_BITMAPS "ASCENDBITMAPS"  #define ASC_ENV_BITMAPS "ASCENDBITMAPS"
72  #define ASC_ENV_LIBRARY "ASCENDLIBRARY"  #define ASC_ENV_LIBRARY "ASCENDLIBRARY"
73  #endif  #endif

Legend:
Removed from v.595  
changed lines
  Added in v.596

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