1 AS_INIT
[]dnl
-*- shell
-script
-*-
2 # wrapper
.as -- running
`@wrap_program
@' as if it were installed.
4 # Copyright (C) 2003, 2004 Free Software Foundation, Inc.
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 # This program is free software: you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation, either version 3 of the License, or
11 # (at your option) any later version.
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with this program. If not, see <http://www.gnu.org/licenses/>.
21 testdir='@abs_top_builddir
@/tests
'
22 AUTOCONF=$testdir/autoconf
23 AUTOHEADER=$testdir/autoheader
24 AUTOM4TE=$testdir/autom4te
25 AUTOM4TE_CFG='@abs_top_builddir
@/lib
/autom4te
.cfg
'
26 autom4te_perllibdir='@abs_top_srcdir
@/lib
'
27 export AUTOCONF AUTOHEADER AUTOM4TE AUTOM4TE_CFG autom4te_perllibdir
29 case '@wrap_program
@' in
31 # Does not have lib files.
32 exec '@abs_top_builddir
@/bin
/@wrap_program
@' ${1+"$@"}
35 # We might need files from the build tree (frozen files), in
36 # addition of src files.
37 exec '@abs_top_builddir
@/bin
/@wrap_program
@' \
38 -B '@abs_top_builddir
@'/lib \
39 -B '@abs_top_srcdir
@'/lib ${1+"$@"}