Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 469 lines (310 sloc) 10.424 kb
0d2ceef standardize bang perl
Michael Scott authored
1 #! perl -w
433def8 [perl #33801] [PATCH] GDBMHash - a dynamic PMC that binds to GNU dbm
Leopold Toetsch authored
2 # Copyright: 2001-2005 The Perl Foundation. All Rights Reserved.
a3cd162 Build enhancements. Originally to support building shared libraries, …
Gregor N. Purdy authored
3 # $Id$
11b744f @simoncozens Configure system from Brent Dax <brentdax@cpan.org>
simoncozens authored
4
756762f *** empty log message ***
Michael Scott authored
5 =head1 NAME
54d55b6 Patch from Nicholas Clark <nick@unfortu.net>: stops silly people
Josh Wilmes authored
6
b4b718e Update configuration system documentation (based on patches provided …
Michael Scott authored
7 Configure.pl - Parrot's Configuration Script
a3cd162 Build enhancements. Originally to support building shared libraries, …
Gregor N. Purdy authored
8
756762f *** empty log message ***
Michael Scott authored
9 =head1 SYNOPSIS
a3cd162 Build enhancements. Originally to support building shared libraries, …
Gregor N. Purdy authored
10
756762f *** empty log message ***
Michael Scott authored
11 % perl Configure.pl [options]
6d36c2d bunch of patches:
Leopold Toetsch authored
12
756762f *** empty log message ***
Michael Scott authored
13 =head1 DESCRIPTION
a3cd162 Build enhancements. Originally to support building shared libraries, …
Gregor N. Purdy authored
14
6f5b538 @jhoblitt podtidy configure files
jhoblitt authored
15 This is Parrot's configuration script. It should be run to create the necessary
16 system-specific files before building Parrot.
b4b718e Update configuration system documentation (based on patches provided …
Michael Scott authored
17
18 =head2 Command-line Options
c15d8e5 Added 'reconfig' make target and corresponding --reconfig option to
Gregor N. Purdy authored
19
49929e0 remove =head3
Michael Scott authored
20 General Options
c15d8e5 Added 'reconfig' make target and corresponding --reconfig option to
Gregor N. Purdy authored
21
756762f *** empty log message ***
Michael Scott authored
22 =over
ad4983c add --optimize Configure option
Leopold Toetsch authored
23
756762f *** empty log message ***
Michael Scott authored
24 =item C<--help>
205f653 @brentdax Win32 compatibility, Configure hints, 5.005 compatibility, MANIFEST c…
brentdax authored
25
756762f *** empty log message ***
Michael Scott authored
26 Prints out a description of the options and exits.
ad4983c add --optimize Configure option
Leopold Toetsch authored
27
756762f *** empty log message ***
Michael Scott authored
28 =item C<--version>
0fc6ac6 @brentdax Configure.pl 2.0.
brentdax authored
29
756762f *** empty log message ***
Michael Scott authored
30 Prints out the version number of Configure.pl and exits.
c0142c7 memory allocation rework
Dan Sugalski authored
31
756762f *** empty log message ***
Michael Scott authored
32 =item C<--verbose>
c0142c7 memory allocation rework
Dan Sugalski authored
33
6f5b538 @jhoblitt podtidy configure files
jhoblitt authored
34 Tells Configure.pl to output extra information about the configuration data it
35 is setting.
c15d8e5 Added 'reconfig' make target and corresponding --reconfig option to
Gregor N. Purdy authored
36
ab81b8c @brentdax Configure output cleanup. Retasks --verbose to include the old outpu…
brentdax authored
37 =item C<--verbose=2>
38
dacbc40 ICU config patch - use systems ICU
Leopold Toetsch authored
39 Tells Configure.pl to output information about i<every> setting added or
ab81b8c @brentdax Configure output cleanup. Retasks --verbose to include the old outpu…
brentdax authored
40 changed.
41
567c2b1 new Configure options: verbose-step
Leopold Toetsch authored
42 =item C<--verbose-step={N|regex}>
43
44 Run C<--verbose=2> for step number C<N> or matching description.
45
756762f *** empty log message ***
Michael Scott authored
46 =item C<--nomanicheck>
85a1fcc reenable debugging=1 default
Leopold Toetsch authored
47
756762f *** empty log message ***
Michael Scott authored
48 Tells Configure.pl not to run the MANIFEST check.
11b744f @simoncozens Configure system from Brent Dax <brentdax@cpan.org>
simoncozens authored
49
20fed4c Add a --prefix argument to Configure.pl to set the installation prefix
Nicholas Clark authored
50 =item C<--prefix>
51
52 Sets the location where parrot will be installed.
53
b4b718e Update configuration system documentation (based on patches provided …
Michael Scott authored
54 =item C<--ask>
de4d079 Add conditional configurations for testy code.
Melvin Smith authored
55
b4b718e Update configuration system documentation (based on patches provided …
Michael Scott authored
56 This turns on the user prompts.
6fba438 @simoncozens Abstract the argument and opcode packing types and functions out into
simoncozens authored
57
756762f *** empty log message ***
Michael Scott authored
58 =back
a3cd162 Build enhancements. Originally to support building shared libraries, …
Gregor N. Purdy authored
59
49929e0 remove =head3
Michael Scott authored
60 Compile Options
9d000b4 Made the changes to figure out mask bits for various register and stack
Dan Sugalski authored
61
6f5b538 @jhoblitt podtidy configure files
jhoblitt authored
62 You can add and remove option values with C<< :rem{<opt>} >> and C<<
63 :add{<opt>} >>. For example:
a3cd162 Build enhancements. Originally to support building shared libraries, …
Gregor N. Purdy authored
64
66c557b [perl #28473] [PATCH] ICU data directory configuration
Leopold Toetsch authored
65 perl Configure.pl --ccflags=":rem{-g} :add{-O2}"
9d000b4 Made the changes to figure out mask bits for various register and stack
Dan Sugalski authored
66
756762f *** empty log message ***
Michael Scott authored
67 =over
19fa0d4 @tomhughes Stop Configure trying to make op_info.c and op.h as op_info.c no longer
tomhughes authored
68
756762f *** empty log message ***
Michael Scott authored
69 =item C<--debugging=0>
bc2ee1d @brentdax Minor cleanup and enhancements.
brentdax authored
70
756762f *** empty log message ***
Michael Scott authored
71 Debugging is turned on by default. Use this to disable it.
9d000b4 Made the changes to figure out mask bits for various register and stack
Dan Sugalski authored
72
62c60b6 really speed up oo1.pasm by 2
Leopold Toetsch authored
73 =item C<--profile>
74
75 Turn on profiled compile (gcc only for now)
76
756762f *** empty log message ***
Michael Scott authored
77 =item C<--optimize>
9d000b4 Made the changes to figure out mask bits for various register and stack
Dan Sugalski authored
78
2fc8aec @bschmalhofer This patch makes it easier to compile parrot with a compiler other than
bschmalhofer authored
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.
756762f *** empty log message ***
Michael Scott authored
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
c528c23 The following patch enables the user to control which compilers get
Leopold Toetsch authored
101 =item C<--cxx=(compiler)>
102
103 Specify which C++ compiler to use (for ICU).
104
756762f *** empty log message ***
Michael Scott authored
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.
0846288 various patches 2
Leopold Toetsch authored
132
b4b718e Update configuration system documentation (based on patches provided …
Michael Scott authored
133 =item C<--define=val1[,val2]>
134
6f5b538 @jhoblitt podtidy configure files
jhoblitt authored
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:
b4b718e Update configuration system documentation (based on patches provided …
Michael Scott authored
137
138 --define=inet_aton
139
140 =back
141
49929e0 remove =head3
Michael Scott authored
142 Parrot Options
b4b718e Update configuration system documentation (based on patches provided …
Michael Scott authored
143
144 =over
145
756762f *** empty log message ***
Michael Scott authored
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)>
bc2ee1d @brentdax Minor cleanup and enhancements.
brentdax authored
163
756762f *** empty log message ***
Michael Scott authored
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
0846288 various patches 2
Leopold Toetsch authored
176 Use JIT to emit a native executable.
756762f *** empty log message ***
Michael Scott authored
177
178 =item C<--gc=(type)>
179
6f5b538 @jhoblitt podtidy configure files
jhoblitt authored
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>.
756762f *** empty log message ***
Michael Scott authored
182
5a9e89c [PATCH] runConfigureICU usage
Leopold Toetsch authored
183 =back
184
185 ICU Options
186
187 =over
188
acf4fa4 autodetect and use system icu installations
Jens Rieks authored
189 =item C<--icu-config=/path/to/icu-config>
190
73ba72d [perl #36057] [PATCH] Fix some typos - 5
Leopold Toetsch authored
191 Use the specified icu-config script to determine the necessary ICU options.
acf4fa4 autodetect and use system icu installations
Jens Rieks authored
192
6f5b538 @jhoblitt podtidy configure files
jhoblitt authored
193 Use --icu-config=none to disable the autodetect feature. Parrot will then be
194 build without ICU.
acf4fa4 autodetect and use system icu installations
Jens Rieks authored
195
6f5b538 @jhoblitt podtidy configure files
jhoblitt authored
196 B<Note:> If you specify another ICU option than --icu-config, the autodetection
197 functionality will be disabled.
a194975 - removed error message if icu-config does not exists
Jens Rieks authored
198
dacbc40 ICU config patch - use systems ICU
Leopold Toetsch authored
199 =item C<--icushared=(linkeroption)>
200
5ec035c Config cleanup - icu
Leopold Toetsch authored
201 Linker command to link against ICU library.
dacbc40 ICU config patch - use systems ICU
Leopold Toetsch authored
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
6f5b538 @jhoblitt podtidy configure files
jhoblitt authored
211 Location of ICU header files without the /unicode suffix.
dacbc40 ICU config patch - use systems ICU
Leopold Toetsch authored
212
213 E.g.
214
215 --icuheaders='/home/lt/icu/'
216
756762f *** empty log message ***
Michael Scott authored
217 =back
218
c9264be more config system add ons and docs
Leopold Toetsch authored
219 Other Options
205f653 @brentdax Win32 compatibility, Configure hints, 5.005 compatibility, MANIFEST c…
brentdax authored
220
b4b718e Update configuration system documentation (based on patches provided …
Michael Scott authored
221 =over
a3cd162 Build enhancements. Originally to support building shared libraries, …
Gregor N. Purdy authored
222
b4b718e Update configuration system documentation (based on patches provided …
Michael Scott authored
223 =item C<--maintainer>
43a606a This patch allows parrot to mostly-build with tcc. It allows one to …
Dan Sugalski authored
224
6f5b538 @jhoblitt podtidy configure files
jhoblitt authored
225 Use this option if you want imcc's parser and lexer files to be generated.
226 Needs a working parser and lexer.
9d000b4 Made the changes to figure out mask bits for various register and stack
Dan Sugalski authored
227
b4b718e Update configuration system documentation (based on patches provided …
Michael Scott authored
228 =item C<--miniparrot>
43a606a This patch allows parrot to mostly-build with tcc. It allows one to …
Dan Sugalski authored
229
b4b718e Update configuration system documentation (based on patches provided …
Michael Scott authored
230 Build parrot assuming only pure ANSI C is available.
43a606a This patch allows parrot to mostly-build with tcc. It allows one to …
Dan Sugalski authored
231
b4b718e Update configuration system documentation (based on patches provided …
Michael Scott authored
232 =item C<--expnetwork>
a3cd162 Build enhancements. Originally to support building shared libraries, …
Gregor N. Purdy authored
233
6f5b538 @jhoblitt podtidy configure files
jhoblitt authored
234 Enable experimental networking. This is an unused option and should probably be
235 removed.
a3cd162 Build enhancements. Originally to support building shared libraries, …
Gregor N. Purdy authored
236
0fc6ac6 @brentdax Configure.pl 2.0.
brentdax authored
237 =back
a3cd162 Build enhancements. Originally to support building shared libraries, …
Gregor N. Purdy authored
238
c9264be more config system add ons and docs
Leopold Toetsch authored
239 =head1 SEE ALSO
240
241 F<config/init/data.pl>, F<lib/Parrot/Configure/RunSteps.pm>,
242 F<lib/Parrot/Configure/Step.pm>, F<docs/configuration.pod>
243
756762f *** empty log message ***
Michael Scott authored
244 =cut
aeeafc5 @brentdax Mention where all the files went.
brentdax authored
245
756762f *** empty log message ***
Michael Scott authored
246 use 5.005_02;
aeeafc5 @brentdax Mention where all the files went.
brentdax authored
247
756762f *** empty log message ***
Michael Scott authored
248 use strict;
249 use vars qw($parrot_version @parrot_version);
250 use lib 'lib';
aeeafc5 @brentdax Mention where all the files went.
brentdax authored
251
756762f *** empty log message ***
Michael Scott authored
252 use Parrot::BuildUtil;
dfced1b @jhoblitt rename Parrot::Configure::RunSteps -> Parrot::Configure
jhoblitt authored
253 use Parrot::Configure;
aeeafc5 @brentdax Mention where all the files went.
brentdax authored
254
756762f *** empty log message ***
Michael Scott authored
255 $| = 1;
aeeafc5 @brentdax Mention where all the files went.
brentdax authored
256
756762f *** empty log message ***
Michael Scott authored
257 $parrot_version = parrot_version();
258 @parrot_version = parrot_version();
aeeafc5 @brentdax Mention where all the files went.
brentdax authored
259
756762f *** empty log message ***
Michael Scott authored
260 # Handle options
aeeafc5 @brentdax Mention where all the files went.
brentdax authored
261
756762f *** empty log message ***
Michael Scott authored
262 my %args;
aeeafc5 @brentdax Mention where all the files went.
brentdax authored
263
433def8 [perl #33801] [PATCH] GDBMHash - a dynamic PMC that binds to GNU dbm
Leopold Toetsch authored
264 for (@ARGV) {
265 my($key, $value) = m/--([-\w]+)(?:=(.*))?/;
756762f *** empty log message ***
Michael Scott authored
266 $key = 'help' unless defined $key;
267 $value = 1 unless defined $value;
aeeafc5 @brentdax Mention where all the files went.
brentdax authored
268
433def8 [perl #33801] [PATCH] GDBMHash - a dynamic PMC that binds to GNU dbm
Leopold Toetsch authored
269 for ($key) {
270 m/version/ && do {
756762f *** empty log message ***
Michael Scott authored
271 my $cvsid='$Id$';
272 print <<"END";
273 Parrot Version $parrot_version Configure 2.0
274 $cvsid
275 END
276 exit;
277 };
aeeafc5 @brentdax Mention where all the files went.
brentdax authored
278
433def8 [perl #33801] [PATCH] GDBMHash - a dynamic PMC that binds to GNU dbm
Leopold Toetsch authored
279 m/help/ && do {
756762f *** empty log message ***
Michael Scott authored
280 print <<"EOT";
281 $0 - Parrot Configure 2.0
aeeafc5 @brentdax Mention where all the files went.
brentdax authored
282
756762f *** empty log message ***
Michael Scott authored
283 General Options:
aeeafc5 @brentdax Mention where all the files went.
brentdax authored
284
756762f *** empty log message ***
Michael Scott authored
285 --help Show this text
286 --version Show version information
287 --verbose Output extra information
ab81b8c @brentdax Configure output cleanup. Retasks --verbose to include the old outpu…
brentdax authored
288 --verbose=2 Output every setting change
567c2b1 new Configure options: verbose-step
Leopold Toetsch authored
289 --verbose-step=N Set verbose for step N only
290 --verbose-step=regex Set verbose for step matching description
756762f *** empty log message ***
Michael Scott authored
291 --nomanicheck Don't check the MANIFEST
20fed4c Add a --prefix argument to Configure.pl to set the installation prefix
Nicholas Clark authored
292 --prefix Set the installation prefix
aeeafc5 @brentdax Mention where all the files went.
brentdax authored
293
b4b718e Update configuration system documentation (based on patches provided …
Michael Scott authored
294 --ask Have Configure ask for commonly-changed info
295
296 Compile Options:
aeeafc5 @brentdax Mention where all the files went.
brentdax authored
297
756762f *** empty log message ***
Michael Scott authored
298 You can add and remove option values with :rem{<opt>} and :add{<opt>}
299 e.g. : --ccflags="rem{-g} :add{-O2}"
300
301 --debugging=0 Disable debugging, default = 1
b4b718e Update configuration system documentation (based on patches provided …
Michael Scott authored
302 --profile Turn on profiled compile (gcc only for now)
756762f *** empty log message ***
Michael Scott authored
303 --optimize Optimized compile
2fc8aec @bschmalhofer This patch makes it easier to compile parrot with a compiler other than
bschmalhofer authored
304 --optimize=flags Add given optimizer flags
756762f *** empty log message ***
Michael Scott authored
305 --inline Compiler supports inline
0846288 various patches 2
Leopold Toetsch authored
306
756762f *** empty log message ***
Michael Scott authored
307 --cc=(compiler) Use the given compiler
308 --ccflags=(flags) Use the given compiler flags
309 --ccwarn=(flags) Use the given compiler warning flags
c528c23 The following patch enables the user to control which compilers get
Leopold Toetsch authored
310 --cxx=(compiler) Use the given C++ compiler
756762f *** empty log message ***
Michael Scott authored
311 --libs=(libs) Use the given libraries
312 --link=(linker) Use the given linker
313 --linkflags=(flags) Use the given linker flags
314 --ld=(linker) Use the given loader for shared libraries
315 --ldflags=(flags) Use the given loader flags for shared libraries
316 --lex=(lexer) Use the given lexical analyzer generator
98215bc added the new ICU options to the help text
Jens Rieks authored
317 --yacc=(parser) Use the given parser generator
0846288 various patches 2
Leopold Toetsch authored
318
b4b718e Update configuration system documentation (based on patches provided …
Michael Scott authored
319 --define=inet_aton Quick hack to use inet_aton instead of inet_pton
320
321 Parrot Options:
322
756762f *** empty log message ***
Michael Scott authored
323 --intval=(type) Use the given type for INTVAL
324 --floatval=(type) Use the given type for FLOATVAL
325 --opcode=(type) Use the given type for opcodes
326 --ops=(files) Use the given ops files
327 --pmc=(files) Use the given PMC files
328
329 --cgoto=0 Don't build cgoto core - recommended when short of mem
0846288 various patches 2
Leopold Toetsch authored
330 --jitcapable Use JIT
331 --execcapable Use JIT to emit a native executable
756762f *** empty log message ***
Michael Scott authored
332 --gc=(type) Determine the type of garbage collection
333 type=(gc|libc|malloc|malloc-trace) default is gc
334
5a9e89c [PATCH] runConfigureICU usage
Leopold Toetsch authored
335 ICU Options:
336
98215bc added the new ICU options to the help text
Jens Rieks authored
337 For using a system ICU, these options can be used:
338
339 --icu-config=/path/to/icu-config
340 Location of the script used for ICU autodetection.
341 You just need to specify this option if icu-config
342 is not in you PATH.
343
344 --icu-config=none can be used to disable the autodetection feature.
345 It will also be disabled if you specify any other
346 of the following ICU options.
347
348 If you do not have a full ICU installation:
349
6287366 Configure --without-icu
Leopold Toetsch authored
350 --without-icu Build parrot without ICU support
98215bc added the new ICU options to the help text
Jens Rieks authored
351 --icuheaders=(path) Location of ICU headers without /unicode
352 --icushared=(flags) Full linker command to create shared libraries
353 --icudatadir=(path) Directory to locate ICU's data file(s)
354
b4b718e Update configuration system documentation (based on patches provided …
Michael Scott authored
355 Other Options (may not be implemented):
356
357 --maintainer Create imcc's parser and lexer files. Needs a working
358 parser and lexer.
359 --miniparrot Build parrot assuming only pure ANSI C is available
360 --expnetwork Enable experimental networking (unused)
0846288 various patches 2
Leopold Toetsch authored
361
756762f *** empty log message ***
Michael Scott authored
362 EOT
363 exit;
364 };
433def8 [perl #33801] [PATCH] GDBMHash - a dynamic PMC that binds to GNU dbm
Leopold Toetsch authored
365 $args{$key} = $value;
756762f *** empty log message ***
Michael Scott authored
366 }
367 }
368
369 $args{debugging} = 1 unless ((exists $args{debugging}) && !$args{debugging});
8553fad @jhoblitt add logic so that --lex & --yacc imply --maintainer
jhoblitt authored
370 $args{maintainer} = 1 if defined $args{lex} or defined $args{yacc};
756762f *** empty log message ***
Michael Scott authored
371
372 print <<"END";
373 Parrot Version $parrot_version Configure 2.0
433def8 [perl #33801] [PATCH] GDBMHash - a dynamic PMC that binds to GNU dbm
Leopold Toetsch authored
374 Copyright (C) 2001-2005 The Perl Foundation. All Rights Reserved.
756762f *** empty log message ***
Michael Scott authored
375
433def8 [perl #33801] [PATCH] GDBMHash - a dynamic PMC that binds to GNU dbm
Leopold Toetsch authored
376 Hello, I'm Configure. My job is to poke and prod your system to figure out
377 how to build Parrot. The process is completely automated, unless you passed in
756762f *** empty log message ***
Michael Scott authored
378 the `--ask' flag on the command line, in which case it'll prompt you for a few
379 pieces of info.
380
381 Since you're running this script, you obviously have Perl 5--I'll be pulling
382 some defaults from its configuration.
383 END
384
8bf7c3b @jhoblitt move config step registration into Configure.pl
jhoblitt authored
385 # EDIT HERE TO ADD NEW TESTS
386 my @steps = qw(
197dc5d @jhoblitt change all config steps to have their own namespace
jhoblitt authored
387 init::manifest
388 init::defaults
389 init::miniparrot
390 init::hints
391 init::headers
392 inter::progs
393 inter::make
394 inter::lex
395 inter::yacc
396 auto::gcc
397 auto::msvc
398 init::optimize
399 inter::shlibs
400 inter::charset
401 inter::encoding
402 inter::types
403 inter::ops
404 inter::exp
405 inter::pmc
406 auto::alignptrs
407 auto::headers
408 auto::sizes
409 auto::byteorder
410 auto::va_ptr
411 auto::pack
412 auto::format
413 auto::isreg
414 auto::jit
415 gen::cpu
416 auto::funcptr
417 auto::cgoto
418 auto::inline
419 auto::gc
420 auto::memalign
421 auto::signal
422 auto::env
423 auto::aio
424 auto::gmp
425 auto::gdbm
426 auto::snprintf
427 auto::perldoc
428 auto::python
429 auto::antlr
430 auto::bc
431 auto::m4
432 gen::icu
433 gen::revision
434 gen::config_h
435 gen::core_pmcs
436 gen::parrot_include
437 gen::makefiles
438 gen::platform
439 gen::config_pm
8bf7c3b @jhoblitt move config step registration into Configure.pl
jhoblitt authored
440 );
441
06d9049 @jhoblitt reapplication of the rolled-back changesets r10575:10577
jhoblitt authored
442 my $conf = Parrot::Configure->new;
443 {
d6416d6 @jhoblitt setup $conf->options in Configure.pl
jhoblitt authored
444 # XXX $Parrot::Configure::Step::conf is a temporty hack
06d9049 @jhoblitt reapplication of the rolled-back changesets r10575:10577
jhoblitt authored
445 no warnings qw(once);
d6416d6 @jhoblitt setup $conf->options in Configure.pl
jhoblitt authored
446 $Parrot::Configure::Step::conf = $conf;
06d9049 @jhoblitt reapplication of the rolled-back changesets r10575:10577
jhoblitt authored
447 }
448 $conf->add_steps(@steps);
d6416d6 @jhoblitt setup $conf->options in Configure.pl
jhoblitt authored
449 $conf->options->set(%args);
06d9049 @jhoblitt reapplication of the rolled-back changesets r10575:10577
jhoblitt authored
450 # Run the actual steps
2f0a829 @jhoblitt remove the use of 'step'->args but leave @step::args alone as it may …
jhoblitt authored
451 $conf->runsteps;
756762f *** empty log message ***
Michael Scott authored
452
d82f7e8 @particle Configure: tell users in the postamble
particle authored
453 # tell users what to do next
06d9049 @jhoblitt reapplication of the rolled-back changesets r10575:10577
jhoblitt authored
454 my $make = $conf->data->get('make');
d82f7e8 @particle Configure: tell users in the postamble
particle authored
455
756762f *** empty log message ***
Michael Scott authored
456 print <<"END";
457
458 Okay, we're done!
459
d82f7e8 @particle Configure: tell users in the postamble
particle authored
460 You can now use `$make' to build your Parrot. After that,
461 you can use `$make test' to run the test suite.
756762f *** empty log message ***
Michael Scott authored
462
463 Happy Hacking,
464 The Parrot Team
465
466 END
467
468 exit(0);
Something went wrong with that request. Please try again.