File: ParamsUtil.pm

package info (click to toggle)
libparams-util-perl 1.102-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,044 kB
  • sloc: perl: 5,398; makefile: 3
file content (25 lines) | stat: -rw-r--r-- 455 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package Config::AutoConf::ParamsUtil;

use strict;
use warnings;

use parent qw(Config::AutoConf);

sub new
{
    my ($class, %args) = @_;
    my $self = $class->SUPER::new(%args);
    # XXX might add c++ if required for some operating systems
    return $self;
}

sub check_paramsutil_prerequisites
{
    my $self = shift->_get_instance();

    $self->{config}->{cc} or $self->check_prog_cc();
    return $self->check_produce_loadable_xs_build();
}

1;