Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 463 lines (309 sloc) 10.262 kb
0d2ceef standardize bang perl
Michael Scott authored
1 #! perl -w
29b08db Bernhard Schmalhofer Require Perl 5.6.0, not 5.8.0, in Configure.pl.
bschmalhofer authored
2
6771502 Will Coleda #39217 - copyright cleanup. (misc + whitespace cleanup)
coke authored
3 # Copyright (C) 2001-2006, The Perl Foundation.
a3cd162 Build enhancements. Originally to support building shared libraries, but...
Gregor N. Purdy authored
4 # $Id$
11b744f Simon Cozens Configure system from Brent Dax <brentdax@cpan.org>
simoncozens authored
5
756762f *** empty log message ***
Michael Scott authored
6 =head1 NAME
54d55b6 Patch from Nicholas Clark <nick@unfortu.net>: stops silly people
Josh Wilmes authored
7
b4b718e Update configuration system documentation (based on patches provided by ...
Michael Scott authored
8 Configure.pl - Parrot's Configuration Script
a3cd162 Build enhancements. Originally to support building shared libraries, but...
Gregor N. Purdy authored
9
756762f *** empty log message ***
Michael Scott authored
10 =head1 SYNOPSIS
a3cd162 Build enhancements. Originally to support building shared libraries, but...
Gregor N. Purdy authored
11
756762f *** empty log message ***
Michael Scott authored
12 % perl Configure.pl [options]
6d36c2d bunch of patches:
Leopold Toetsch authored
13
756762f *** empty log message ***
Michael Scott authored
14 =head1 DESCRIPTION
a3cd162 Build enhancements. Originally to support building shared libraries, but...
Gregor N. Purdy authored
15
d10b19e Andy Lester Perl programs are programs, not scripts
petdance authored
16 This is Parrot's configuration program. It should be run to create
17 the necessary system-specific files before building Parrot.
b4b718e Update configuration system documentation (based on patches provided by ...
Michael Scott authored
18
19 =head2 Command-line Options
c15d8e5 Added 'reconfig' make target and corresponding --reconfig option to
Gregor N. Purdy authored
20
49929e0 remove =head3
Michael Scott authored
21 General Options
c15d8e5 Added 'reconfig' make target and corresponding --reconfig option to
Gregor N. Purdy authored
22
756762f *** empty log message ***
Michael Scott authored
23 =over
ad4983c add --optimize Configure option
Leopold Toetsch authored
24
756762f *** empty log message ***
Michael Scott authored
25 =item C<--help>
205f653 Brent Royal-Gordon Win32 compatibility, Configure hints, 5.005 compatibility, MANIFEST chec...
brentdax authored
26
756762f *** empty log message ***
Michael Scott authored
27 Prints out a description of the options and exits.
ad4983c add --optimize Configure option
Leopold Toetsch authored
28
756762f *** empty log message ***
Michael Scott authored
29 =item C<--version>
0fc6ac6 Brent Royal-Gordon Configure.pl 2.0.
brentdax authored
30
756762f *** empty log message ***
Michael Scott authored
31 Prints out the version number of Configure.pl and exits.
c0142c7 memory allocation rework
Dan Sugalski authored
32
756762f *** empty log message ***
Michael Scott authored
33 =item C<--verbose>
c0142c7 memory allocation rework
Dan Sugalski authored
34
6f5b538 Joshua Hoblitt podtidy configure files
jhoblitt authored
35 Tells Configure.pl to output extra information about the configuration data it
36 is setting.
c15d8e5 Added 'reconfig' make target and corresponding --reconfig option to
Gregor N. Purdy authored
37
ab81b8c Brent Royal-Gordon Configure output cleanup. Retasks --verbose to include the old output f...
brentdax authored
38 =item C<--verbose=2>
39
dacbc40 ICU config patch - use systems ICU
Leopold Toetsch authored
40 Tells Configure.pl to output information about i<every> setting added or
ab81b8c Brent Royal-Gordon Configure output cleanup. Retasks --verbose to include the old output f...
brentdax authored
41 changed.
42
567c2b1 new Configure options: verbose-step
Leopold Toetsch authored
43 =item C<--verbose-step={N|regex}>
44
45 Run C<--verbose=2> for step number C<N> or matching description.
46
756762f *** empty log message ***
Michael Scott authored
47 =item C<--nomanicheck>
85a1fcc reenable debugging=1 default
Leopold Toetsch authored
48
756762f *** empty log message ***
Michael Scott authored
49 Tells Configure.pl not to run the MANIFEST check.
11b744f Simon Cozens Configure system from Brent Dax <brentdax@cpan.org>
simoncozens authored
50
20fed4c Add a --prefix argument to Configure.pl to set the installation prefix
Nicholas Clark authored
51 =item C<--prefix>
52
53 Sets the location where parrot will be installed.
54
b4b718e Update configuration system documentation (based on patches provided by ...
Michael Scott authored
55 =item C<--ask>
de4d079 Add conditional configurations for testy code.
Melvin Smith authored
56
b4b718e Update configuration system documentation (based on patches provided by ...
Michael Scott authored
57 This turns on the user prompts.
6fba438 Simon Cozens Abstract the argument and opcode packing types and functions out into
simoncozens authored
58
756762f *** empty log message ***
Michael Scott authored
59 =back
a3cd162 Build enhancements. Originally to support building shared libraries, but...
Gregor N. Purdy authored
60
49929e0 remove =head3
Michael Scott authored
61 Compile Options
9d000b4 Made the changes to figure out mask bits for various register and stack
Dan Sugalski authored
62
756762f *** empty log message ***
Michael Scott authored
63 =over
19fa0d4 Tom Hughes Stop Configure trying to make op_info.c and op.h as op_info.c no longer
tomhughes authored
64
756762f *** empty log message ***
Michael Scott authored
65 =item C<--debugging=0>
bc2ee1d Brent Royal-Gordon Minor cleanup and enhancements.
brentdax authored
66
756762f *** empty log message ***
Michael Scott authored
67 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
68
82a8718 Jerry Gay config: add --parrot_is_shared option to docs
particle authored
69 =item C<--parrot_is_shared>
70
71 Link parrot dynamically.
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 Bernhard Schmalhofer 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 by ...
Michael Scott authored
133 =item C<--define=val1[,val2]>
134
6f5b538 Joshua Hoblitt 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 by ...
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 by ...
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 Brent Royal-Gordon 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 Joshua Hoblitt 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 Joshua Hoblitt 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 Joshua Hoblitt 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 Joshua Hoblitt 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 Brent Royal-Gordon Win32 compatibility, Configure hints, 5.005 compatibility, MANIFEST chec...
brentdax authored
220
b4b718e Update configuration system documentation (based on patches provided by ...
Michael Scott authored
221 =over
a3cd162 Build enhancements. Originally to support building shared libraries, but...
Gregor N. Purdy authored
222
b4b718e Update configuration system documentation (based on patches provided by ...
Michael Scott authored
223 =item C<--maintainer>
43a606a This patch allows parrot to mostly-build with tcc. It allows one to ski...
Dan Sugalski authored
224
6f5b538 Joshua Hoblitt 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 by ...
Michael Scott authored
228 =item C<--miniparrot>
43a606a This patch allows parrot to mostly-build with tcc. It allows one to ski...
Dan Sugalski authored
229
b4b718e Update configuration system documentation (based on patches provided by ...
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 ski...
Dan Sugalski authored
231
0fc6ac6 Brent Royal-Gordon Configure.pl 2.0.
brentdax authored
232 =back
a3cd162 Build enhancements. Originally to support building shared libraries, but...
Gregor N. Purdy authored
233
c9264be more config system add ons and docs
Leopold Toetsch authored
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
756762f *** empty log message ***
Michael Scott authored
239 =cut
aeeafc5 Brent Royal-Gordon Mention where all the files went.
brentdax authored
240
756762f *** empty log message ***
Michael Scott authored
241 use strict;
c9646ac Bernhard Schmalhofer Configuration:
bschmalhofer authored
242 use warnings;
756762f *** empty log message ***
Michael Scott authored
243 use lib 'lib';
29b08db Bernhard Schmalhofer Require Perl 5.6.0, not 5.8.0, in Configure.pl.
bschmalhofer authored
244 use 5.006;
aeeafc5 Brent Royal-Gordon Mention where all the files went.
brentdax authored
245
c9646ac Bernhard Schmalhofer Configuration:
bschmalhofer authored
246 use English qw( -no_match_vars );
756762f *** empty log message ***
Michael Scott authored
247 use Parrot::BuildUtil;
dfced1b Joshua Hoblitt rename Parrot::Configure::RunSteps -> Parrot::Configure
jhoblitt authored
248 use Parrot::Configure;
aeeafc5 Brent Royal-Gordon Mention where all the files went.
brentdax authored
249
c9646ac Bernhard Schmalhofer Configuration:
bschmalhofer authored
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();
aeeafc5 Brent Royal-Gordon Mention where all the files went.
brentdax authored
253
c9646ac Bernhard Schmalhofer Configuration:
bschmalhofer authored
254 $OUTPUT_AUTOFLUSH = 1;
aeeafc5 Brent Royal-Gordon Mention where all the files went.
brentdax authored
255
756762f *** empty log message ***
Michael Scott authored
256 # Handle options
257 my %args;
433def8 [perl #33801] [PATCH] GDBMHash - a dynamic PMC that binds to GNU dbm
Leopold Toetsch authored
258 for (@ARGV) {
259 my($key, $value) = m/--([-\w]+)(?:=(.*))?/;
756762f *** empty log message ***
Michael Scott authored
260 $key = 'help' unless defined $key;
261 $value = 1 unless defined $value;
aeeafc5 Brent Royal-Gordon Mention where all the files went.
brentdax authored
262
433def8 [perl #33801] [PATCH] GDBMHash - a dynamic PMC that binds to GNU dbm
Leopold Toetsch authored
263 for ($key) {
264 m/version/ && do {
a43e9b6 Bernhard Schmalhofer #37956: [TODO] remove 'CVS' references from parrot code
bschmalhofer authored
265 my $svnid = '$Id$';
756762f *** empty log message ***
Michael Scott authored
266 print <<"END";
267 Parrot Version $parrot_version Configure 2.0
a43e9b6 Bernhard Schmalhofer #37956: [TODO] remove 'CVS' references from parrot code
bschmalhofer authored
268 $svnid
756762f *** empty log message ***
Michael Scott authored
269 END
270 exit;
271 };
aeeafc5 Brent Royal-Gordon Mention where all the files went.
brentdax authored
272
433def8 [perl #33801] [PATCH] GDBMHash - a dynamic PMC that binds to GNU dbm
Leopold Toetsch authored
273 m/help/ && do {
756762f *** empty log message ***
Michael Scott authored
274 print <<"EOT";
275 $0 - Parrot Configure 2.0
aeeafc5 Brent Royal-Gordon Mention where all the files went.
brentdax authored
276
756762f *** empty log message ***
Michael Scott authored
277 General Options:
aeeafc5 Brent Royal-Gordon Mention where all the files went.
brentdax authored
278
756762f *** empty log message ***
Michael Scott authored
279 --help Show this text
280 --version Show version information
281 --verbose Output extra information
ab81b8c Brent Royal-Gordon Configure output cleanup. Retasks --verbose to include the old output f...
brentdax authored
282 --verbose=2 Output every setting change
567c2b1 new Configure options: verbose-step
Leopold Toetsch authored
283 --verbose-step=N Set verbose for step N only
284 --verbose-step=regex Set verbose for step matching description
756762f *** empty log message ***
Michael Scott authored
285 --nomanicheck Don't check the MANIFEST
20fed4c Add a --prefix argument to Configure.pl to set the installation prefix
Nicholas Clark authored
286 --prefix Set the installation prefix
aeeafc5 Brent Royal-Gordon Mention where all the files went.
brentdax authored
287
b4b718e Update configuration system documentation (based on patches provided by ...
Michael Scott authored
288 --ask Have Configure ask for commonly-changed info
289
290 Compile Options:
aeeafc5 Brent Royal-Gordon Mention where all the files went.
brentdax authored
291
756762f *** empty log message ***
Michael Scott authored
292 --debugging=0 Disable debugging, default = 1
82a8718 Jerry Gay config: add --parrot_is_shared option to docs
particle authored
293 --inline Compiler supports inline
756762f *** empty log message ***
Michael Scott authored
294 --optimize Optimized compile
2fc8aec Bernhard Schmalhofer This patch makes it easier to compile parrot with a compiler other than
bschmalhofer authored
295 --optimize=flags Add given optimizer flags
82a8718 Jerry Gay config: add --parrot_is_shared option to docs
particle authored
296 --parrot_is_shared Link parrot dynamically
297 --profile Turn on profiled compile (gcc only for now)
0846288 various patches 2
Leopold Toetsch authored
298
756762f *** empty log message ***
Michael Scott authored
299 --cc=(compiler) Use the given compiler
300 --ccflags=(flags) Use the given compiler flags
301 --ccwarn=(flags) Use the given compiler warning flags
c528c23 The following patch enables the user to control which compilers get
Leopold Toetsch authored
302 --cxx=(compiler) Use the given C++ compiler
756762f *** empty log message ***
Michael Scott authored
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
98215bc added the new ICU options to the help text
Jens Rieks authored
309 --yacc=(parser) Use the given parser generator
0846288 various patches 2
Leopold Toetsch authored
310
b4b718e Update configuration system documentation (based on patches provided by ...
Michael Scott authored
311 --define=inet_aton Quick hack to use inet_aton instead of inet_pton
312
313 Parrot Options:
314
756762f *** empty log message ***
Michael Scott authored
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
0846288 various patches 2
Leopold Toetsch authored
322 --jitcapable Use JIT
323 --execcapable Use JIT to emit a native executable
756762f *** empty log message ***
Michael Scott authored
324 --gc=(type) Determine the type of garbage collection
325 type=(gc|libc|malloc|malloc-trace) default is gc
326
5a9e89c [PATCH] runConfigureICU usage
Leopold Toetsch authored
327 ICU Options:
328
98215bc added the new ICU options to the help text
Jens Rieks authored
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
6287366 Configure --without-icu
Leopold Toetsch authored
342 --without-icu Build parrot without ICU support
98215bc added the new ICU options to the help text
Jens Rieks authored
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
b4b718e Update configuration system documentation (based on patches provided by ...
Michael Scott authored
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
0846288 various patches 2
Leopold Toetsch authored
352
756762f *** empty log message ***
Michael Scott authored
353 EOT
354 exit;
355 };
433def8 [perl #33801] [PATCH] GDBMHash - a dynamic PMC that binds to GNU dbm
Leopold Toetsch authored
356 $args{$key} = $value;
756762f *** empty log message ***
Michael Scott authored
357 }
358 }
359
360 $args{debugging} = 1 unless ((exists $args{debugging}) && !$args{debugging});
8553fad Joshua Hoblitt add logic so that --lex & --yacc imply --maintainer
jhoblitt authored
361 $args{maintainer} = 1 if defined $args{lex} or defined $args{yacc};
756762f *** empty log message ***
Michael Scott authored
362
363 print <<"END";
364 Parrot Version $parrot_version Configure 2.0
6771502 Will Coleda #39217 - copyright cleanup. (misc + whitespace cleanup)
coke authored
365 Copyright (C) 2001-2006, The Perl Foundation.
756762f *** empty log message ***
Michael Scott authored
366
433def8 [perl #33801] [PATCH] GDBMHash - a dynamic PMC that binds to GNU dbm
Leopold Toetsch authored
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
756762f *** empty log message ***
Michael Scott authored
369 the `--ask' flag on the command line, in which case it'll prompt you for a few
370 pieces of info.
371
d10b19e Andy Lester Perl programs are programs, not scripts
petdance authored
372 Since you're running this program, you obviously have Perl 5--I'll be pulling
756762f *** empty log message ***
Michael Scott authored
373 some defaults from its configuration.
374 END
375
8bf7c3b Joshua Hoblitt move config step registration into Configure.pl
jhoblitt authored
376 # EDIT HERE TO ADD NEW TESTS
377 my @steps = qw(
197dc5d Joshua Hoblitt change all config steps to have their own namespace
jhoblitt authored
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
c1e1f8a r24679@ata: rafl | 2006-01-04 16:00:47 +0100
Florian Ragwitz authored
391 inter::libparrot
197dc5d Joshua Hoblitt change all config steps to have their own namespace
jhoblitt authored
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
096c28f Bernhard Schmalhofer #37906: socklen_t not defined
bschmalhofer authored
413 auto::socklen_t
197dc5d Joshua Hoblitt change all config steps to have their own namespace
jhoblitt authored
414 auto::env
415 auto::aio
416 auto::gmp
e4d42a2 add a config test for libreadline - untested so far (readline.h missing ...
Leopold Toetsch authored
417 auto::readline
197dc5d Joshua Hoblitt change all config steps to have their own namespace
jhoblitt authored
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
a662b30 Bernhard Schmalhofer #31633 ([TODO] Allow Languages to be self contained)
bschmalhofer authored
429 gen::languages
197dc5d Joshua Hoblitt change all config steps to have their own namespace
jhoblitt authored
430 gen::makefiles
431 gen::platform
432 gen::config_pm
8bf7c3b Joshua Hoblitt move config step registration into Configure.pl
jhoblitt authored
433 );
434
06d9049 Joshua Hoblitt reapplication of the rolled-back changesets r10575:10577
jhoblitt authored
435 my $conf = Parrot::Configure->new;
436 {
d6416d6 Joshua Hoblitt setup $conf->options in Configure.pl
jhoblitt authored
437 # XXX $Parrot::Configure::Step::conf is a temporty hack
06d9049 Joshua Hoblitt reapplication of the rolled-back changesets r10575:10577
jhoblitt authored
438 no warnings qw(once);
d6416d6 Joshua Hoblitt setup $conf->options in Configure.pl
jhoblitt authored
439 $Parrot::Configure::Step::conf = $conf;
06d9049 Joshua Hoblitt reapplication of the rolled-back changesets r10575:10577
jhoblitt authored
440 }
441 $conf->add_steps(@steps);
d6416d6 Joshua Hoblitt setup $conf->options in Configure.pl
jhoblitt authored
442 $conf->options->set(%args);
06d9049 Joshua Hoblitt reapplication of the rolled-back changesets r10575:10577
jhoblitt authored
443 # Run the actual steps
a6f07ee Joshua Hoblitt exit() should not be called from inside Parrot::Configure
jhoblitt authored
444 $conf->runsteps or exit(1);
756762f *** empty log message ***
Michael Scott authored
445
d82f7e8 Jerry Gay Configure: tell users in the postamble
particle authored
446 # tell users what to do next
06d9049 Joshua Hoblitt reapplication of the rolled-back changesets r10575:10577
jhoblitt authored
447 my $make = $conf->data->get('make');
d82f7e8 Jerry Gay Configure: tell users in the postamble
particle authored
448
756762f *** empty log message ***
Michael Scott authored
449 print <<"END";
450
451 Okay, we're done!
452
2ace577 Will Coleda Be blatant about our lack of support for 'make -j', to avoid more
coke authored
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.
756762f *** empty log message ***
Michael Scott authored
456
457 Happy Hacking,
458 The Parrot Team
459
460 END
461
462 exit(0);
Something went wrong with that request. Please try again.