Package wafadmin :: Package Tools :: Module perl
[hide private]
[frames] | no frames]

Module perl

source code

Functions [hide private]
 
init_pyext(self) source code
 
xsubpp_file(self, node) source code
 
check_perl_version(conf, minver=None)
Checks if perl is installed.
source code
 
check_perl_module(conf, module)
Check if specified perlmodule is installed.
source code
 
check_perl_ext_devel(conf)
Check for configuration needed to build perl extensions.
source code
 
detect(conf) source code
 
set_options(opt) source code
Variables [hide private]
  xsubpp_str = '${PERL} ${XSUBPP} -noprototypes -typemap ${EXTUT...
  EXT_XS = ['.xs']
Function Details [hide private]

init_pyext(self)

source code 
Decorators:
  • @taskgen
  • @before('apply_incpaths')
  • @feature('perlext')

xsubpp_file(self, node)

source code 
Decorators:
  • @extension(EXT_XS)

check_perl_version(conf, minver=None)

source code 

Checks if perl is installed.

If installed the variable PERL will be set in environment.

Perl binary can be overridden by --with-perl-binary config variable

Decorators:
  • @conf

check_perl_module(conf, module)

source code 

Check if specified perlmodule is installed.

Minimum version can be specified by specifying it after modulename like this:

conf.check_perl_module("Some::Module 2.92")

Decorators:
  • @conf

check_perl_ext_devel(conf)

source code 

Check for configuration needed to build perl extensions.

Sets different xxx_PERLEXT variables in the environment.

Also sets the ARCHDIR_PERL variable useful as installation path, which can be overridden by --with-perl-archdir option.

Decorators:
  • @conf

Variables Details [hide private]

xsubpp_str

Value:
'${PERL} ${XSUBPP} -noprototypes -typemap ${EXTUTILS_TYPEMAP} ${SRC} >\
 ${TGT}'