-
-
15 Oct 2008 18:55:27 UTC
- Distribution: ExtUtils-FakeConfig
- Module version: 0.12
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (1)
- Testers (581 / 5 / 0)
- Kwalitee
Bus factor: 1- % Coverage
- License: perl_5
- Activity
24 month- Tools
- Download (13.78KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- File::Spec
- Test::More
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
ExtUtils::FakeConfig - override %Config values on-the-fly
SYNOPSIS
use ExtUtils::FakeConfig cc => 'gcc', make => 'gmake';
DESCRIPTION
This module is basically an hack to be used in Makefile.PL invocation: create a driver module like
package my_Config: use ExtUtils::FakeConfig cflags => '-lfoo -O14', ld => 'g++'; 1;
and invoke
perl -Mmy_Config Makefile.PL
FUNCTIONS
import
ExtUtils::FakeConfig->import( name1 => value1, name2 => value2 );
Usually called through use(); overrides values from %Config.
find_program
my $executable = ExtUtils::FakeConfig::find_program( $program1, $program2 );
Returns the absolute path of the first of the programs given as arguments found in the program search path.
AUTHOR
Mattia Barbon <mbarbon@cpan.org>
LICENSE
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Module Install Instructions
To install ExtUtils::FakeConfig, copy and paste the appropriate command in to your terminal.
cpanm ExtUtils::FakeConfig
perl -MCPAN -e shell install ExtUtils::FakeConfig
For more information on module installation, please visit the detailed CPAN module installation guide.