1 # autoconf -- create `configure' using m4 macros
2 # Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 2, or (at your option)
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
19 package Autom4te
::Request
;
23 Autom4te::Request - a single m4 run request
27 use Autom4te::Request;
31 This perl module provides various general purpose support functions
32 used in several executables of the Autoconf and Automake packages.
43 # The key of the cache files.
45 # True iff %MACRO contains all the macros we want to trace.
49 # The set of input files.
51 # The set of macros currently traced.
56 # Serialize a request or all the current requests.
62 # CALLER is an object: instance method.
63 my $marshall = Data
::Dumper
->new ([$caller]);
64 $marshall->Indent(2)->Terse(0);
65 $res = $marshall->Dump . "\n";
71 # includes_p ($SELF, @MACRO)
72 # --------------------------
73 # Does this request covers all the @MACRO.
76 my ($self, @macro) = @_;
81 if ! exists ${$self->macro}{$_};
93 Written by Akim Demaille E<lt>F<akim@freefriends.org>E<gt>.
101 ### Setup "GNU" style for perl-mode and cperl-mode.
103 ## perl-indent-level: 2
104 ## perl-continued-statement-offset: 2
105 ## perl-continued-brace-offset: 0
106 ## perl-brace-offset: 0
107 ## perl-brace-imaginary-offset: 0
108 ## perl-label-offset: -2
109 ## cperl-indent-level: 2
110 ## cperl-brace-offset: 0
111 ## cperl-continued-brace-offset: 0
112 ## cperl-label-offset: -2
113 ## cperl-extra-newline-before-brace: t
114 ## cperl-merge-trailing-else: nil
115 ## cperl-continued-statement-offset: 2