Merge branch 'fix-pr14560' into micro
[platform/upstream/automake.git] / t / wrap / aclocal.in
1 #!@PERL@ -w
2 # @configure_input@
3
4 # Copyright (C) 2012-2013 Free Software Foundation, Inc.
5
6 # This program is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 2, or (at your option)
9 # any later version.
10
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 # GNU General Public License for more details.
15
16 # You should have received a copy of the GNU General Public License
17 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
18
19 BEGIN
20 {
21   use strict;
22   @Aclocal::perl_libdirs = ('@abs_top_srcdir@/lib');
23   unshift @Aclocal::perl_libdirs, '@abs_top_builddir@/lib'
24     if '@srcdir@' ne '.';
25   unshift @ARGV,
26     '--automake-acdir=@abs_top_srcdir@/m4',
27     '--system-acdir=@abs_top_srcdir@/m4/acdir';
28 }
29 require '@abs_top_builddir@/aclocal';