1 # Copyright (C) 2001-2006, The Perl Foundation.
6 config/init/miniparrot.pm - Miniparrot configuration
10 Modifies settings to match miniparrot (ANSI C Parrot)'s needs. This step
11 primarily overwrites a lot of settings in the Configure database to disable
12 JIT and match ANSI characteristics.
14 Centralizing these settings will (hopefully) allow for an eventual move away
15 from using Configure at all for miniparrot builds.
19 package init
::miniparrot
;
24 use base
qw(Parrot::Configure::Step);
29 $data{description
} = q{Tweaking settings for miniparrot};
35 my ( $self, $conf ) = @_;
37 unless ( $conf->options->get('miniparrot') ) {
38 $self->set_result('skipped');
44 DEVEL
=> $conf->data->get('DEVEL') . '-miniparrot',
50 archname
=> 'miniparrot',
53 jitarchname
=> 'nojit',
65 has___sighandler_t
=> undef,
66 has_sigatomic_t
=> undef,
67 has_sigaction
=> undef,
68 has_setitimer
=> undef,
70 # we can't guarantee anything about pointer alignment under ANSI C89.
71 # so we will have to check every byte.
75 #Allow ANSI headers only
77 qw(assert complex ctype errno locale math setjmp signal stdarg
78 stdio stdlib string time)
81 $conf->data->set( "i_$_" => 1 );
91 # cperl-indent-level: 4
94 # vim: expandtab shiftwidth=4: