File Coverage

File:lib/Parrot/Configure/Options/Conf/Shared.pm
Coverage:100.0%

linestmtbrancondsubcode
1# Copyright (C) 2007-2009, Parrot Foundation.
2package Parrot::Configure::Options::Conf::Shared;
3
4
103
103
103
use strict;
5
103
103
103
use warnings;
6
103
103
103
use base qw( Exporter );
7our @EXPORT_OK = qw(
8    @shared_valid_options
9);
10
11our @shared_valid_options = qw{
12    ar
13    arflags
14    bindir
15    cage
16    cc
17    ccflags
18    ccwarn
19    configure_trace
20    coveragedir
21    cxx
22    darwin_no_fink
23    darwin_no_macports
24    datadir
25    debugging
26    define
27    disable-rpath
28    exec-prefix
29    fatal
30    fatal-step
31    floatval
32    gc
33    help
34    hintsfile
35    icu-config
36    icuheaders
37    icushared
38    includedir
39    infodir
40    inline
41    intval
42    ld
43    ldflags
44    lex
45    libdir
46    libexecdir
47    libs
48    link
49    linkflags
50    localstatedir
51    m
52    make
53    maintainer
54    mandir
55    nomanicheck
56    no-line-directives
57    oldincludedir
58    opcode
59    ops
60    optimize
61    parrot_is_shared
62    prefix
63    profile
64    sbindir
65    sharedstatedir
66    silent
67    sysconfdir
68    test
69    verbose
70    verbose-step
71    version
72    with-llvm
73    without-crypto
74    without-core-nci-thunks
75    without-extra-nci-thunks
76    without-gdbm
77    without-gettext
78    without-gmp
79    without-icu
80    without-opengl
81    without-libffi
82    without-readline
83    without-pcre
84    without-threads
85    without-zlib
86    yacc
87};
88
89################### DOCUMENTATION ###################
90
91 - 133
=head1 NAME

Parrot::Configure::Options::Conf::Shared - Configuration options shared by
both Command-Line and Configuration-File configuration modes

=head1 SYNOPSIS

    use Parrot::Configure::Options::Conf::Shared qw(
        @shared_valid_options
    );
    our @valid_options = ( 'ask', @shared_valid_options );

=head1 DESCRIPTION

This package exports a single variable, C<@shared_valid_options()>, which
holds the list of options which may be used either on:

=over 4

=item *

the L<Configure.pl>
command-line (corresponding to use of C<mode =E<gt> configure> in
C<Parrot::Configure::Options::process_options()>); or

=item *

inside a configuration file where L<Configure.pl> is called with the
C<--file=path/to/configfile> option (corresponding to use of C<mode =E<gt> file>
in C<Parrot::Configure::Options::process_options()>).

=back

=head1 AUTHOR

Refactored from earlier code by James E Keenan.

Parrot::Configure::Options.  Parrot::Configure::Options::Conf::CLI.
Parrot::Configure::Options::Conf::File.  Configure.pl.

=head1 SEE ALSO

=cut
134
1351;
136
137# Local Variables:
138# mode: cperl
139# cperl-indent-level: 4
140# fill-column: 100
141# End:
142# vim: expandtab shiftwidth=4: