Giter Club home page Giter Club logo

alien-m4's Introduction

Alien::m4 linux macos windows cygwin msys2-mingw

Find or build GNU m4

SYNOPSIS

From a Perl script

use Alien::m4;
use Env qw( @PATH );
unshift @PATH, Alien::m4->bin_dir;  # m4 is now in your path

From Alien::Base Build.PL

use Alien:Base::ModuleBuild;
my $builder = Module::Build->new(
  ...
  alien_bin_requires => {
    'Alien::m4' => '0.07',
  },
  ...
);
$builder->create_build_script;

DESCRIPTION

This package can be used by other CPAN modules that require GNU m4.

METHODS

exe

my $m4 = Alien::m4->exe;

Returns the "name" of m4. Normally this is m4, but on some platforms it may be gm4 or gnum4, or whatever is specified by $ENV{M4}.

HELPERS

m4

%{m4}

Returns the name of the m4 command. Usually just m4.

CAVEATS

Why GNU m4? Many Unixen come with BSD or other variants of m4 which are perfectly good. Unfortunately, the main use case for this module is Alien::Autotools and friends. Autoconf requires the GNU m4, probably for political reasons, possibly for technical reasons. If you are using one of these Unixen, don't despair, you can usually install the GNU version of m4 either by building from source or by installing a binary package, with either the name gm4 or gnum4, and this module will find it, and Alien::Autotools will be able to use it.

AUTHOR

Graham Ollis [email protected]

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by Graham Ollis.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.