The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

AutoCons::ConfigH - Write a Config.h for C programs.

SYNOPSIS

use AutoCons::ConfigH; Configh();

DESCRIPTION

AutoCons is a cons Construct generator similar to ExtUtils::MakeMaker or Gnu Autoconf, except that cons is far more portable than make. For the developer, this means that your program will build on any system that cons will. For a user, this means that you don't need a "make" program to build your program.

AutoCons::ConfigH automatically generates a Config.h file, including ALL of the information included in the Config.pm file that comes with perl. It will also add any extra info that you give it.

FUNCTIONS

* ConfigH()

Create a Config.h. This file will contain all variables defined by Config.pm (over 900 values), as well as anything else you add.

 ConfigH(
   <ADDITIONAL CODE>
 );

COPYRIGHT

Copyright (c) 2007 Michael Howell. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

AutoCons::HOWTO::C(1) AutoCons(3)

cons(1) perl(1)