(file) Return to readme.SetConfig_EnvVar CVS log (file) (dir) Up to [Pegasus] / pegasus

 1 martin 1.3 //%LICENSE////////////////////////////////////////////////////////////////
 2 martin 1.4 //
 3 martin 1.3 // Licensed to The Open Group (TOG) under one or more contributor license
 4            // agreements.  Refer to the OpenPegasusNOTICE.txt file distributed with
 5            // this work for additional information regarding copyright ownership.
 6            // Each contributor licenses this file to you under the OpenPegasus Open
 7            // Source License; you may not use this file except in compliance with the
 8            // License.
 9 martin 1.4 //
10 martin 1.3 // Permission is hereby granted, free of charge, to any person obtaining a
11            // copy of this software and associated documentation files (the "Software"),
12            // to deal in the Software without restriction, including without limitation
13            // the rights to use, copy, modify, merge, publish, distribute, sublicense,
14            // and/or sell copies of the Software, and to permit persons to whom the
15            // Software is furnished to do so, subject to the following conditions:
16 martin 1.4 //
17 martin 1.3 // The above copyright notice and this permission notice shall be included
18            // in all copies or substantial portions of the Software.
19 martin 1.4 //
20 martin 1.3 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
21 martin 1.4 // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
22 martin 1.3 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
23            // IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
24            // CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
25            // TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
26            // SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
27 martin 1.4 //
28 martin 1.3 ///////////////////////////////////////////////////////////////////////////-----------------------------------------------\
29 konrad.r 1.1 |  Set Configurations of Environment variables  |
30              \-----------------------------------------------/
31              
32              Author: Konrad Rzeszutek <konradr@us.ibm.com>
33              Jul 28th 2004
34              
35              
36              Description:
37              ------------
38              
39              The SetConfig_EnvVar script is used to solve one of the problems that Pegasus
40              require of users - to set environment variables for compiling components 
41              of Pegasus. This script will allow the user to set those options interactivly
42              or by providing arguments to the script.
43              
44              
45              Usage:
46              ------
47              
48              To set the compilation options, run the script file and provide the answers.
49              You can always re-run the application to set new options, so don't worry if 
50 konrad.r 1.1 you set the wrong option the first time.
51              
52              If you already know what you want and are not interested in interactivly
53              answering questions on components, pass in arguments to the script.
54              For a full list of arguments, run the script with --help parameter, as such:
55              
56               $./SetConfig_EnvVar --help
57              
58              
59              Developer:
60              ----------
61              
62              If you are Pegasus developer, this section will interest you. The details of 
63              the working of this script is described in "PEP #182: Configuration script 
64              enhancement." 
65              
66              If you are adding a new component to Pegasus and require to set a new
67              #ifdef statement, you should consider adding it in ./SetConfig_EnvVar.help file.The file lists the options that would be presented to the user. Syntax of this 
68              file is quite easy:
69              
70              {<define-component> { [<depends on;depends on; ...>],<define_type>, 
71 konrad.r 1.1 	<--config component>, <short description>, <long description> }
72              
73              For example the PEGASUS_HAS_SSL is defined as:
74              
75              PEGASUS_HAS_SSL {
76              # Depends on other components. This is optional.
77              	OPENSSL_HOME
78              # Boolean means you need to define "Yes", "No" (any case).
79              # Path means that the user has to provide a path.
80              	Boolean,
81              # The parameter that can be run with ./ConfigureSetConfig_EnvVar, such as
82              	--enable-ssl,
83              # Short description, used for ./ConfigureSetConfig_EnvVar --help to provide a short 
84              	Build in SSL support,
85              # Long description, used when querying interactively the user.
86              	Enabling SSL compile SSL support in Pegasus. If your SSL include 
87              	files are located in a non-standard location, make sure to define 
88              	OPENSSL_HOME with the right directory.}
89              
90              
91              Make sure that "{" is ended with "}"
92 konrad.r 1.1 
93              Good luck!

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2