Skip to content
This repository
Newer
Older
100644 462 lines (309 sloc) 10.262 kb
0d2ceef1 » Michael Scott
2004-02-26 standardize bang perl
1 #! perl -w
29b08dbc » bschmalhofer
2006-04-23 Require Perl 5.6.0, not 5.8.0, in Configure.pl.
2
67715029 » coke
2006-05-30 #39217 - copyright cleanup. (misc + whitespace cleanup)
3 # Copyright (C) 2001-2006, The Perl Foundation.
a3cd1626 » Gregor N. Purdy
2001-12-30 Build enhancements. Originally to support building shared libraries, …
4 # $Id$
11b744f3 » simoncozens
2001-09-11 Configure system from Brent Dax <brentdax@cpan.org>
5
756762f9 » Michael Scott
2004-01-20 *** empty log message ***
6 =head1 NAME
54d55b6c » Josh Wilmes
2002-03-16 Patch from Nicholas Clark <nick@unfortu.net>: stops silly people
7
b4b718e4 » Michael Scott
2004-03-07 Update configuration system documentation (based on patches provided …
8 Configure.pl - Parrot's Configuration Script
a3cd1626 » Gregor N. Purdy
2001-12-30 Build enhancements. Originally to support building shared libraries, …
9
756762f9 » Michael Scott
2004-01-20 *** empty log message ***
10 =head1 SYNOPSIS
a3cd1626 » Gregor N. Purdy
2001-12-30 Build enhancements. Originally to support building shared libraries, …
11
756762f9 » Michael Scott
2004-01-20 *** empty log message ***
12 % perl Configure.pl [options]
6d36c2d4 » Leopold Toetsch
2003-10-28 bunch of patches:
13
756762f9 » Michael Scott
2004-01-20 *** empty log message ***
14 =head1 DESCRIPTION
a3cd1626 » Gregor N. Purdy
2001-12-30 Build enhancements. Originally to support building shared libraries, …
15
d10b19ef » petdance
2006-07-17 Perl programs are programs, not scripts
16 This is Parrot's configuration program. It should be run to create
17 the necessary system-specific files before building Parrot.
b4b718e4 » Michael Scott
2004-03-07 Update configuration system documentation (based on patches provided …
18
19 =head2 Command-line Options
c15d8e54 » Gregor N. Purdy
2002-01-08 Added 'reconfig' make target and corresponding --reconfig option to
20
49929e08 » Michael Scott
2004-03-17 remove =head3
21 General Options
c15d8e54 » Gregor N. Purdy
2002-01-08 Added 'reconfig' make target and corresponding --reconfig option to
22
756762f9 » Michael Scott
2004-01-20 *** empty log message ***
23 =over
ad4983ce » Leopold Toetsch
2003-01-04 add --optimize Configure option
24
756762f9 » Michael Scott
2004-01-20 *** empty log message ***
25 =item C<--help>
205f6530 » brentdax
2001-09-16 Win32 compatibility, Configure hints, 5.005 compatibility, MANIFEST c…
26
756762f9 » Michael Scott
2004-01-20 *** empty log message ***
27 Prints out a description of the options and exits.
ad4983ce » Leopold Toetsch
2003-01-04 add --optimize Configure option
28
756762f9 » Michael Scott
2004-01-20 *** empty log message ***
29 =item C<--version>
0fc6ac68 » brentdax
2002-05-24 Configure.pl 2.0.
30
756762f9 » Michael Scott
2004-01-20 *** empty log message ***
31 Prints out the version number of Configure.pl and exits.
c0142c7e » Dan Sugalski
2002-10-05 memory allocation rework
32
756762f9 » Michael Scott
2004-01-20 *** empty log message ***
33 =item C<--verbose>
c0142c7e » Dan Sugalski
2002-10-05 memory allocation rework
34
6f5b5384 » jhoblitt
2006-01-02 podtidy configure files
35 Tells Configure.pl to output extra information about the configuration data it
36 is setting.
c15d8e54 » Gregor N. Purdy
2002-01-08 Added 'reconfig' make target and corresponding --reconfig option to
37
ab81b8c2 » brentdax
2004-03-06 Configure output cleanup. Retasks --verbose to include the old output…
38 =item C<--verbose=2>
39
dacbc406 » Leopold Toetsch
2004-04-21 ICU config patch - use systems ICU
40 Tells Configure.pl to output information about i<every> setting added or
ab81b8c2 » brentdax
2004-03-06 Configure output cleanup. Retasks --verbose to include the old output…
41 changed.
42
567c2b1b » Leopold Toetsch
2004-04-25 new Configure options: verbose-step
43 =item C<--verbose-step={N|regex}>
44
45 Run C<--verbose=2> for step number C<N> or matching description.
46
756762f9 » Michael Scott
2004-01-20 *** empty log message ***
47 =item C<--nomanicheck>
85a1fcca » Leopold Toetsch
2003-09-25 reenable debugging=1 default
48
756762f9 » Michael Scott
2004-01-20 *** empty log message ***
49 Tells Configure.pl not to run the MANIFEST check.
11b744f3 » simoncozens
2001-09-11 Configure system from Brent Dax <brentdax@cpan.org>
50
20fed4ce » Nicholas Clark
2004-10-02 Add a --prefix argument to Configure.pl to set the installation prefix
51 =item C<--prefix>
52
53 Sets the location where parrot will be installed.
54
b4b718e4 » Michael Scott
2004-03-07 Update configuration system documentation (based on patches provided …
55 =item C<--ask>
de4d0796 » Melvin Smith
2002-05-16 Add conditional configurations for testy code.
56
b4b718e4 » Michael Scott
2004-03-07 Update configuration system documentation (based on patches provided …
57 This turns on the user prompts.
6fba4381 » simoncozens
2001-09-22 Abstract the argument and opcode packing types and functions out into
58
756762f9 » Michael Scott
2004-01-20 *** empty log message ***
59 =back
a3cd1626 » Gregor N. Purdy
2001-12-30 Build enhancements. Originally to support building shared libraries, …
60
49929e08 » Michael Scott
2004-03-17 remove =head3
61 Compile Options
9d000b4e » Dan Sugalski
2001-10-12 Made the changes to figure out mask bits for various register and stack
62
756762f9 » Michael Scott
2004-01-20 *** empty log message ***
63 =over
19fa0d49 » tomhughes
2001-10-14 Stop Configure trying to make op_info.c and op.h as op_info.c no longer
64
756762f9 » Michael Scott
2004-01-20 *** empty log message ***
65 =item C<--debugging=0>
bc2ee1df » brentdax
2002-03-05 Minor cleanup and enhancements.
66
756762f9 » Michael Scott
2004-01-20 *** empty log message ***
67 Debugging is turned on by default. Use this to disable it.
9d000b4e » Dan Sugalski
2001-10-12 Made the changes to figure out mask bits for various register and stack
68
82a87188 » particle
2006-01-05 config: add --parrot_is_shared option to docs
69 =item C<--parrot_is_shared>
70
71 Link parrot dynamically.
72
62c60b68 » Leopold Toetsch
2004-03-05 really speed up oo1.pasm by 2
73 =item C<--profile>
74
75 Turn on profiled compile (gcc only for now)
76
756762f9 » Michael Scott
2004-01-20 *** empty log message ***
77 =item C<--optimize>
9d000b4e » Dan Sugalski
2001-10-12 Made the changes to figure out mask bits for various register and stack
78
2fc8aec2 » bschmalhofer
2005-09-14 This patch makes it easier to compile parrot with a compiler other than
79 Add perl5's $Config{optimize} to the compiler flags.
80
81 =item C<--optimize=flags>
82
83 Add C<flags> to the compiler flags.
756762f9 » Michael Scott
2004-01-20 *** empty log message ***
84
85 =item C<--inline>
86
87 Tell Configure that the compiler supports C<inline>.
88
89 =item C<--cc=(compiler)>
90
91 Specify which compiler to use.
92
93 =item C<--ccflags=(flags)>
94
95 Use the given compiler flags.
96
97 =item C<--ccwarn=(flags)>
98
99 Use the given compiler warning flags.
100
c528c234 » Leopold Toetsch
2004-06-19 The following patch enables the user to control which compilers get
101 =item C<--cxx=(compiler)>
102
103 Specify which C++ compiler to use (for ICU).
104
756762f9 » Michael Scott
2004-01-20 *** empty log message ***
105 =item C<--libs=(libs)>
106
107 Use the given libraries.
108
109 =item C<--link=(linker)>
110
111 Specify which linker to use.
112
113 =item C<--linkflags=(flags)>
114
115 Use the given linker flags
116
117 =item C<--ld=(linker)>
118
119 Specify which loader to use for shared libraries.
120
121 =item C<--ldflags=(flags)>
122
123 Use the given loader flags for shared libraries
124
125 =item C<--lex=(lexer)>
126
127 Specify which lexer to use.
128
129 =item C<--yacc=(parser)>
130
131 Specify which parser to use.
08462887 » Leopold Toetsch
2004-02-28 various patches 2
132
b4b718e4 » Michael Scott
2004-03-07 Update configuration system documentation (based on patches provided …
133 =item C<--define=val1[,val2]>
134
6f5b5384 » jhoblitt
2006-01-02 podtidy configure files
135 Generate "#define PARROT_DEF_VAL1 1" ... entries in has_header.h. Currently
136 needed to use inet_aton for systems that lack inet_pton:
b4b718e4 » Michael Scott
2004-03-07 Update configuration system documentation (based on patches provided …
137
138 --define=inet_aton
139
140 =back
141
49929e08 » Michael Scott
2004-03-17 remove =head3
142 Parrot Options
b4b718e4 » Michael Scott
2004-03-07 Update configuration system documentation (based on patches provided …
143
144 =over
145
756762f9 » Michael Scott
2004-01-20 *** empty log message ***
146 =item C<--intval=(type)>
147
148 Use the given type for C<INTVAL>.
149
150 =item C<--floatval=(type)>
151
152 Use the given type for C<FLOATVAL>.
153
154 =item C<--opcode=(type)>
155
156 Use the given type for opcodes.
157
158 =item C<--ops=(files)>
159
160 Use the given ops files.
161
162 =item C<--pmc=(files)>
bc2ee1df » brentdax
2002-03-05 Minor cleanup and enhancements.
163
756762f9 » Michael Scott
2004-01-20 *** empty log message ***
164 Use the given PMC files.
165
166 =item C<--cgoto=0>
167
168 Don't build cgoto core. This is recommended when you are short of memory.
169
170 =item C<--jitcapable>
171
172 Use JIT system.
173
174 =item C<--execcapable>
175
08462887 » Leopold Toetsch
2004-02-28 various patches 2
176 Use JIT to emit a native executable.
756762f9 » Michael Scott
2004-01-20 *** empty log message ***
177
178 =item C<--gc=(type)>
179
6f5b5384 » jhoblitt
2006-01-02 podtidy configure files
180 Determine the type of garbage collection. The value for C<type> should be one
181 of: C<gc>, C<libc>, C<malloc> or C<malloc-trace>. The default is C<gc>.
756762f9 » Michael Scott
2004-01-20 *** empty log message ***
182
5a9e89ce » Leopold Toetsch
2004-04-21 [PATCH] runConfigureICU usage
183 =back
184
185 ICU Options
186
187 =over
188
acf4fa4e » Jens Rieks
2004-09-29 autodetect and use system icu installations
189 =item C<--icu-config=/path/to/icu-config>
190
73ba72d1 » Leopold Toetsch
2005-06-01 [perl #36057] [PATCH] Fix some typos - 5
191 Use the specified icu-config script to determine the necessary ICU options.
acf4fa4e » Jens Rieks
2004-09-29 autodetect and use system icu installations
192
6f5b5384 » jhoblitt
2006-01-02 podtidy configure files
193 Use --icu-config=none to disable the autodetect feature. Parrot will then be
194 build without ICU.
acf4fa4e » Jens Rieks
2004-09-29 autodetect and use system icu installations
195
6f5b5384 » jhoblitt
2006-01-02 podtidy configure files
196 B<Note:> If you specify another ICU option than --icu-config, the autodetection
197 functionality will be disabled.
a1949756 » Jens Rieks
2004-09-30 - removed error message if icu-config does not exists
198
dacbc406 » Leopold Toetsch
2004-04-21 ICU config patch - use systems ICU
199 =item C<--icushared=(linkeroption)>
200
5ec035c7 » Leopold Toetsch
2005-12-14 Config cleanup - icu
201 Linker command to link against ICU library.
dacbc406 » Leopold Toetsch
2004-04-21 ICU config patch - use systems ICU
202
203 E.g.
204
205 --icushared='-L /opt/openoffice/program -licudata -licuuc'
206
207 (The libs in openoffice are actually version 2.2 and do not work)
208
209 =item C<--icuheaders=(header_dir)>
210
6f5b5384 » jhoblitt
2006-01-02 podtidy configure files
211 Location of ICU header files without the /unicode suffix.
dacbc406 » Leopold Toetsch
2004-04-21 ICU config patch - use systems ICU
212
213 E.g.
214
215 --icuheaders='/home/lt/icu/'
216
756762f9 » Michael Scott
2004-01-20 *** empty log message ***
217 =back
218
c9264be3 » Leopold Toetsch
2004-04-26 more config system add ons and docs
219 Other Options
205f6530 » brentdax
2001-09-16 Win32 compatibility, Configure hints, 5.005 compatibility, MANIFEST c…
220
b4b718e4 » Michael Scott
2004-03-07 Update configuration system documentation (based on patches provided …
221 =over
a3cd1626 » Gregor N. Purdy
2001-12-30 Build enhancements. Originally to support building shared libraries, …
222
b4b718e4 » Michael Scott
2004-03-07 Update configuration system documentation (based on patches provided …
223 =item C<--maintainer>
43a606a2 » Dan Sugalski
2002-01-30 This patch allows parrot to mostly-build with tcc. It allows one to skip
224
6f5b5384 » jhoblitt
2006-01-02 podtidy configure files
225 Use this option if you want imcc's parser and lexer files to be generated.
226 Needs a working parser and lexer.
9d000b4e » Dan Sugalski
2001-10-12 Made the changes to figure out mask bits for various register and stack
227
b4b718e4 » Michael Scott
2004-03-07 Update configuration system documentation (based on patches provided …
228 =item C<--miniparrot>
43a606a2 » Dan Sugalski
2002-01-30 This patch allows parrot to mostly-build with tcc. It allows one to skip
229
b4b718e4 » Michael Scott
2004-03-07 Update configuration system documentation (based on patches provided …
230 Build parrot assuming only pure ANSI C is available.
43a606a2 » Dan Sugalski
2002-01-30 This patch allows parrot to mostly-build with tcc. It allows one to skip
231
0fc6ac68 » brentdax
2002-05-24 Configure.pl 2.0.
232 =back
a3cd1626 » Gregor N. Purdy
2001-12-30 Build enhancements. Originally to support building shared libraries, …
233
c9264be3 » Leopold Toetsch
2004-04-26 more config system add ons and docs
234 =head1 SEE ALSO
235
236 F<config/init/data.pl>, F<lib/Parrot/Configure/RunSteps.pm>,
237 F<lib/Parrot/Configure/Step.pm>, F<docs/configuration.pod>
238
756762f9 » Michael Scott
2004-01-20 *** empty log message ***
239 =cut
aeeafc53 » brentdax
2002-05-27 Mention where all the files went.
240
756762f9 » Michael Scott
2004-01-20 *** empty log message ***
241 use strict;
c9646ac7 » bschmalhofer
2006-02-26 Configuration:
242 use warnings;
756762f9 » Michael Scott
2004-01-20 *** empty log message ***
243 use lib 'lib';
29b08dbc » bschmalhofer
2006-04-23 Require Perl 5.6.0, not 5.8.0, in Configure.pl.
244 use 5.006;
aeeafc53 » brentdax
2002-05-27 Mention where all the files went.
245
c9646ac7 » bschmalhofer
2006-02-26 Configuration:
246 use English qw( -no_match_vars );
756762f9 » Michael Scott
2004-01-20 *** empty log message ***
247 use Parrot::BuildUtil;
dfced1b0 » jhoblitt
2005-12-17 rename Parrot::Configure::RunSteps -> Parrot::Configure
248 use Parrot::Configure;
aeeafc53 » brentdax
2002-05-27 Mention where all the files went.
249
c9646ac7 » bschmalhofer
2006-02-26 Configuration:
250 # These globals are accessed in config/init/defaults.pm
251 our $parrot_version = Parrot::BuildUtil::parrot_version();
252 our @parrot_version = Parrot::BuildUtil::parrot_version();
aeeafc53 » brentdax
2002-05-27 Mention where all the files went.
253
c9646ac7 » bschmalhofer
2006-02-26 Configuration:
254 $OUTPUT_AUTOFLUSH = 1;
aeeafc53 » brentdax
2002-05-27 Mention where all the files went.
255
756762f9 » Michael Scott
2004-01-20 *** empty log message ***
256 # Handle options
257 my %args;
433def88 » Leopold Toetsch
2005-01-17 [perl #33801] [PATCH] GDBMHash - a dynamic PMC that binds to GNU dbm
258 for (@ARGV) {
259 my($key, $value) = m/--([-\w]+)(?:=(.*))?/;
756762f9 » Michael Scott
2004-01-20 *** empty log message ***
260 $key = 'help' unless defined $key;
261 $value = 1 unless defined $value;
aeeafc53 » brentdax
2002-05-27 Mention where all the files went.
262
433def88 » Leopold Toetsch
2005-01-17 [perl #33801] [PATCH] GDBMHash - a dynamic PMC that binds to GNU dbm
263 for ($key) {
264 m/version/ && do {
a43e9b6f » bschmalhofer
2006-03-14 #37956: [TODO] remove 'CVS' references from parrot code
265 my $svnid = '$Id$';
756762f9 » Michael Scott
2004-01-20 *** empty log message ***
266 print <<"END";
267 Parrot Version $parrot_version Configure 2.0
a43e9b6f » bschmalhofer
2006-03-14 #37956: [TODO] remove 'CVS' references from parrot code
268 $svnid
756762f9 » Michael Scott
2004-01-20 *** empty log message ***
269 END
270 exit;
271 };
aeeafc53 » brentdax
2002-05-27 Mention where all the files went.
272
433def88 » Leopold Toetsch
2005-01-17 [perl #33801] [PATCH] GDBMHash - a dynamic PMC that binds to GNU dbm
273 m/help/ && do {
756762f9 » Michael Scott
2004-01-20 *** empty log message ***
274 print <<"EOT";
275 $0 - Parrot Configure 2.0
aeeafc53 » brentdax
2002-05-27 Mention where all the files went.
276
756762f9 » Michael Scott
2004-01-20 *** empty log message ***
277 General Options:
aeeafc53 » brentdax
2002-05-27 Mention where all the files went.
278
756762f9 » Michael Scott
2004-01-20 *** empty log message ***
279 --help Show this text
280 --version Show version information
281 --verbose Output extra information
ab81b8c2 » brentdax
2004-03-06 Configure output cleanup. Retasks --verbose to include the old output…
282 --verbose=2 Output every setting change
567c2b1b » Leopold Toetsch
2004-04-25 new Configure options: verbose-step
283 --verbose-step=N Set verbose for step N only
284 --verbose-step=regex Set verbose for step matching description
756762f9 » Michael Scott
2004-01-20 *** empty log message ***
285 --nomanicheck Don't check the MANIFEST
20fed4ce » Nicholas Clark
2004-10-02 Add a --prefix argument to Configure.pl to set the installation prefix
286 --prefix Set the installation prefix
aeeafc53 » brentdax
2002-05-27 Mention where all the files went.
287
b4b718e4 » Michael Scott
2004-03-07 Update configuration system documentation (based on patches provided …
288 --ask Have Configure ask for commonly-changed info
289
290 Compile Options:
aeeafc53 » brentdax
2002-05-27 Mention where all the files went.
291
756762f9 » Michael Scott
2004-01-20 *** empty log message ***
292 --debugging=0 Disable debugging, default = 1
82a87188 » particle
2006-01-05 config: add --parrot_is_shared option to docs
293 --inline Compiler supports inline
756762f9 » Michael Scott
2004-01-20 *** empty log message ***
294 --optimize Optimized compile
2fc8aec2 » bschmalhofer
2005-09-14 This patch makes it easier to compile parrot with a compiler other than
295 --optimize=flags Add given optimizer flags
82a87188 » particle
2006-01-05 config: add --parrot_is_shared option to docs
296 --parrot_is_shared Link parrot dynamically
297 --profile Turn on profiled compile (gcc only for now)
08462887 » Leopold Toetsch
2004-02-28 various patches 2
298
756762f9 » Michael Scott
2004-01-20 *** empty log message ***
299 --cc=(compiler) Use the given compiler
300 --ccflags=(flags) Use the given compiler flags
301 --ccwarn=(flags) Use the given compiler warning flags
c528c234 » Leopold Toetsch
2004-06-19 The following patch enables the user to control which compilers get
302 --cxx=(compiler) Use the given C++ compiler
756762f9 » Michael Scott
2004-01-20 *** empty log message ***
303 --libs=(libs) Use the given libraries
304 --link=(linker) Use the given linker
305 --linkflags=(flags) Use the given linker flags
306 --ld=(linker) Use the given loader for shared libraries
307 --ldflags=(flags) Use the given loader flags for shared libraries
308 --lex=(lexer) Use the given lexical analyzer generator
98215bc9 » Jens Rieks
2004-10-06 added the new ICU options to the help text
309 --yacc=(parser) Use the given parser generator
08462887 » Leopold Toetsch
2004-02-28 various patches 2
310
b4b718e4 » Michael Scott
2004-03-07 Update configuration system documentation (based on patches provided …
311 --define=inet_aton Quick hack to use inet_aton instead of inet_pton
312
313 Parrot Options:
314
756762f9 » Michael Scott
2004-01-20 *** empty log message ***
315 --intval=(type) Use the given type for INTVAL
316 --floatval=(type) Use the given type for FLOATVAL
317 --opcode=(type) Use the given type for opcodes
318 --ops=(files) Use the given ops files
319 --pmc=(files) Use the given PMC files
320
321 --cgoto=0 Don't build cgoto core - recommended when short of mem
08462887 » Leopold Toetsch
2004-02-28 various patches 2
322 --jitcapable Use JIT
323 --execcapable Use JIT to emit a native executable
756762f9 » Michael Scott
2004-01-20 *** empty log message ***
324 --gc=(type) Determine the type of garbage collection
325 type=(gc|libc|malloc|malloc-trace) default is gc
326
5a9e89ce » Leopold Toetsch
2004-04-21 [PATCH] runConfigureICU usage
327 ICU Options:
328
98215bc9 » Jens Rieks
2004-10-06 added the new ICU options to the help text
329 For using a system ICU, these options can be used:
330
331 --icu-config=/path/to/icu-config
332 Location of the script used for ICU autodetection.
333 You just need to specify this option if icu-config
334 is not in you PATH.
335
336 --icu-config=none can be used to disable the autodetection feature.
337 It will also be disabled if you specify any other
338 of the following ICU options.
339
340 If you do not have a full ICU installation:
341
62873666 » Leopold Toetsch
2005-04-05 Configure --without-icu
342 --without-icu Build parrot without ICU support
98215bc9 » Jens Rieks
2004-10-06 added the new ICU options to the help text
343 --icuheaders=(path) Location of ICU headers without /unicode
344 --icushared=(flags) Full linker command to create shared libraries
345 --icudatadir=(path) Directory to locate ICU's data file(s)
346
b4b718e4 » Michael Scott
2004-03-07 Update configuration system documentation (based on patches provided …
347 Other Options (may not be implemented):
348
349 --maintainer Create imcc's parser and lexer files. Needs a working
350 parser and lexer.
351 --miniparrot Build parrot assuming only pure ANSI C is available
08462887 » Leopold Toetsch
2004-02-28 various patches 2
352
756762f9 » Michael Scott
2004-01-20 *** empty log message ***
353 EOT
354 exit;
355 };
433def88 » Leopold Toetsch
2005-01-17 [perl #33801] [PATCH] GDBMHash - a dynamic PMC that binds to GNU dbm
356 $args{$key} = $value;
756762f9 » Michael Scott
2004-01-20 *** empty log message ***
357 }
358 }
359
360 $args{debugging} = 1 unless ((exists $args{debugging}) && !$args{debugging});
8553fad9 » jhoblitt
2005-11-13 add logic so that --lex & --yacc imply --maintainer
361 $args{maintainer} = 1 if defined $args{lex} or defined $args{yacc};
756762f9 » Michael Scott
2004-01-20 *** empty log message ***
362
363 print <<"END";
364 Parrot Version $parrot_version Configure 2.0
67715029 » coke
2006-05-30 #39217 - copyright cleanup. (misc + whitespace cleanup)
365 Copyright (C) 2001-2006, The Perl Foundation.
756762f9 » Michael Scott
2004-01-20 *** empty log message ***
366
433def88 » Leopold Toetsch
2005-01-17 [perl #33801] [PATCH] GDBMHash - a dynamic PMC that binds to GNU dbm
367 Hello, I'm Configure. My job is to poke and prod your system to figure out
368 how to build Parrot. The process is completely automated, unless you passed in
756762f9 » Michael Scott
2004-01-20 *** empty log message ***
369 the `--ask' flag on the command line, in which case it'll prompt you for a few
370 pieces of info.
371
d10b19ef » petdance
2006-07-17 Perl programs are programs, not scripts
372 Since you're running this program, you obviously have Perl 5--I'll be pulling
756762f9 » Michael Scott
2004-01-20 *** empty log message ***
373 some defaults from its configuration.
374 END
375
8bf7c3b9 » jhoblitt
2005-12-17 move config step registration into Configure.pl
376 # EDIT HERE TO ADD NEW TESTS
377 my @steps = qw(
197dc5d5 » jhoblitt
2005-12-18 change all config steps to have their own namespace
378 init::manifest
379 init::defaults
380 init::miniparrot
381 init::hints
382 init::headers
383 inter::progs
384 inter::make
385 inter::lex
386 inter::yacc
387 auto::gcc
388 auto::msvc
389 init::optimize
390 inter::shlibs
c1e1f8a6 » Florian Ragwitz
2006-01-04 r24679@ata: rafl | 2006-01-04 16:00:47 +0100
391 inter::libparrot
197dc5d5 » jhoblitt
2005-12-18 change all config steps to have their own namespace
392 inter::charset
393 inter::encoding
394 inter::types
395 inter::ops
396 inter::pmc
397 auto::alignptrs
398 auto::headers
399 auto::sizes
400 auto::byteorder
401 auto::va_ptr
402 auto::pack
403 auto::format
404 auto::isreg
405 auto::jit
406 gen::cpu
407 auto::funcptr
408 auto::cgoto
409 auto::inline
410 auto::gc
411 auto::memalign
412 auto::signal
096c28fc » bschmalhofer
2006-02-26 #37906: socklen_t not defined
413 auto::socklen_t
197dc5d5 » jhoblitt
2005-12-18 change all config steps to have their own namespace
414 auto::env
415 auto::aio
416 auto::gmp
e4d42a26 » Leopold Toetsch
2006-02-17 add a config test for libreadline - untested so far (readline.h missi…
417 auto::readline
197dc5d5 » jhoblitt
2005-12-18 change all config steps to have their own namespace
418 auto::gdbm
419 auto::snprintf
420 auto::perldoc
421 auto::python
422 auto::bc
423 auto::m4
424 gen::icu
425 gen::revision
426 gen::config_h
427 gen::core_pmcs
428 gen::parrot_include
a662b30c » bschmalhofer
2006-07-05 #31633 ([TODO] Allow Languages to be self contained)
429 gen::languages
197dc5d5 » jhoblitt
2005-12-18 change all config steps to have their own namespace
430 gen::makefiles
431 gen::platform
432 gen::config_pm
8bf7c3b9 » jhoblitt
2005-12-17 move config step registration into Configure.pl
433 );
434
06d9049f » jhoblitt
2005-12-22 reapplication of the rolled-back changesets r10575:10577
435 my $conf = Parrot::Configure->new;
436 {
d6416d67 » jhoblitt
2005-12-23 setup $conf->options in Configure.pl
437 # XXX $Parrot::Configure::Step::conf is a temporty hack
06d9049f » jhoblitt
2005-12-22 reapplication of the rolled-back changesets r10575:10577
438 no warnings qw(once);
d6416d67 » jhoblitt
2005-12-23 setup $conf->options in Configure.pl
439 $Parrot::Configure::Step::conf = $conf;
06d9049f » jhoblitt
2005-12-22 reapplication of the rolled-back changesets r10575:10577
440 }
441 $conf->add_steps(@steps);
d6416d67 » jhoblitt
2005-12-23 setup $conf->options in Configure.pl
442 $conf->options->set(%args);
06d9049f » jhoblitt
2005-12-22 reapplication of the rolled-back changesets r10575:10577
443 # Run the actual steps
a6f07eea » jhoblitt
2006-02-18 exit() should not be called from inside Parrot::Configure
444 $conf->runsteps or exit(1);
756762f9 » Michael Scott
2004-01-20 *** empty log message ***
445
d82f7e88 » particle
2005-11-21 Configure: tell users in the postamble
446 # tell users what to do next
06d9049f » jhoblitt
2005-12-22 reapplication of the rolled-back changesets r10575:10577
447 my $make = $conf->data->get('make');
d82f7e88 » particle
2005-11-21 Configure: tell users in the postamble
448
756762f9 » Michael Scott
2004-01-20 *** empty log message ***
449 print <<"END";
450
451 Okay, we're done!
452
2ace5778 » coke
2006-04-19 Be blatant about our lack of support for 'make -j', to avoid more
453 You can now use `$make' to build your Parrot.
454 (NOTE: do not use `$make -j <n>'!)
455 After that, you can use `$make test' to run the test suite.
756762f9 » Michael Scott
2004-01-20 *** empty log message ***
456
457 Happy Hacking,
458 The Parrot Team
459
460 END
461
462 exit(0);
Something went wrong with that request. Please try again.