1 # autoconf -- create `configure' using m4 macros
2 # Copyright (C) 2001-2003, 2009-2015 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 3 of the License, or
7 # (at your option) any later version.
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, see <http://www.gnu.org/licenses/>.
17 package Autom4te
::Request
;
21 Autom4te::Request - a single m4 run request
25 use Autom4te::Request;
29 This perl module provides various general purpose support functions
30 used in several executables of the Autoconf and Automake packages.
41 # The key of the cache files.
43 # True iff %MACRO contains all the macros we want to trace.
47 # The set of input files.
49 # The set of macros currently traced.
54 # Serialize a request or all the current requests.
60 # CALLER is an object: instance method.
61 my $marshall = Data
::Dumper
->new ([$caller]);
62 $marshall->Indent(2)->Terse(0);
63 $res = $marshall->Dump . "\n";
69 # includes_p ($SELF, @MACRO)
70 # --------------------------
71 # Does this request covers all the @MACRO.
74 my ($self, @macro) = @_;
79 if ! exists ${$self->macro}{$_};
91 Written by Akim Demaille E<lt>F<akim@freefriends.org>E<gt>.
99 ### Setup "GNU" style for perl-mode and cperl-mode.
101 ## perl-indent-level: 2
102 ## perl-continued-statement-offset: 2
103 ## perl-continued-brace-offset: 0
104 ## perl-brace-offset: 0
105 ## perl-brace-imaginary-offset: 0
106 ## perl-label-offset: -2
107 ## cperl-indent-level: 2
108 ## cperl-brace-offset: 0
109 ## cperl-continued-brace-offset: 0
110 ## cperl-label-offset: -2
111 ## cperl-extra-newline-before-brace: t
112 ## cperl-merge-trailing-else: nil
113 ## cperl-continued-statement-offset: 2