1 | # Copyright (C) 2003 Free Software Foundation, Inc. -*- Perl -*-
|
---|
2 | # @configure_input@
|
---|
3 |
|
---|
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)
|
---|
7 | # any later version.
|
---|
8 |
|
---|
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.
|
---|
13 |
|
---|
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
|
---|
17 | # 02110-1301, USA.
|
---|
18 |
|
---|
19 | package Automake::Config;
|
---|
20 | use strict;
|
---|
21 |
|
---|
22 | require Exporter;
|
---|
23 | use vars qw (@ISA @EXPORT);
|
---|
24 |
|
---|
25 | @ISA = qw (Exporter);
|
---|
26 | @EXPORT = qw ($APIVERSION $PACKAGE $VERSION $libdir);
|
---|
27 |
|
---|
28 | use vars qw ($APIVERSION $PACKAGE $VERSION $libdir);
|
---|
29 |
|
---|
30 | # Parameters set by configure. Not to be changed. NOTE: assign
|
---|
31 | # VERSION as string so that e.g. version 0.30 will print correctly.
|
---|
32 | $APIVERSION = '@APIVERSION@';
|
---|
33 | $PACKAGE = '@PACKAGE@';
|
---|
34 | $VERSION = '@VERSION@';
|
---|
35 | $libdir = $ENV{'UNIXROOT'}.'@datadir@/@PACKAGE@-@APIVERSION@';
|
---|
36 | $libdir =~ s/$ENV{'UNIXROOT'}\/\@unixroot/$ENV{'UNIXROOT'}/; # The EMX built perl doesn't know @unixroot.
|
---|
37 | $libdir =~ s/\/\@unixroot/$ENV{'UNIXROOT'}/; # The EMX built perl doesn't know @unixroot.
|
---|
38 |
|
---|
39 |
|
---|
40 | 1;;
|
---|
41 |
|
---|
42 | ### Setup "GNU" style for perl-mode and cperl-mode.
|
---|
43 | ## Local Variables:
|
---|
44 | ## perl-indent-level: 2
|
---|
45 | ## perl-continued-statement-offset: 2
|
---|
46 | ## perl-continued-brace-offset: 0
|
---|
47 | ## perl-brace-offset: 0
|
---|
48 | ## perl-brace-imaginary-offset: 0
|
---|
49 | ## perl-label-offset: -2
|
---|
50 | ## cperl-indent-level: 2
|
---|
51 | ## cperl-brace-offset: 0
|
---|
52 | ## cperl-continued-brace-offset: 0
|
---|
53 | ## cperl-label-offset: -2
|
---|
54 | ## cperl-extra-newline-before-brace: t
|
---|
55 | ## cperl-merge-trailing-else: nil
|
---|
56 | ## cperl-continued-statement-offset: 2
|
---|
57 | ## End:
|
---|