2004-12-10 05:14:45 +08:00
|
|
|
AS_INIT[]dnl -*- shell-script -*-
|
|
|
|
# wrapper.as -- running `@wrap_program@' as if it were installed.
|
2002-04-12 17:56:10 +08:00
|
|
|
# @configure_input@
|
2015-01-03 04:59:21 +08:00
|
|
|
# Copyright (C) 2003-2004, 2007, 2009-2015 Free Software Foundation,
|
2010-01-06 11:59:55 +08:00
|
|
|
# Inc.
|
2002-04-12 17:56:10 +08:00
|
|
|
|
2007-07-21 07:11:49 +08:00
|
|
|
# This program is free software: you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
Update License to GPLv3+ including new Autoconf Exception.
* NEWS, README: Update licensing information.
* COPYING.EXCEPTION: New file.
* Makefile.am (EXTRA_DIST): Distribute it.
* cfg.mk (autom4te-update): Remove copyright change warning.
* lib/autoconf/autoconf.m4, lib/autoconf/autoheader.m4,
lib/autoconf/autoscan.m4, lib/autoconf/autotest.m4,
lib/autoconf/autoupdate.m4, lib/autoconf/c.m4,
lib/autoconf/erlang.m4, lib/autoconf/fortran.m4,
lib/autoconf/functions.m4, lib/autoconf/general.m4,
lib/autoconf/headers.m4, lib/autoconf/lang.m4,
lib/autoconf/libs.m4, lib/autoconf/oldnames.m4,
lib/autoconf/programs.m4, lib/autoconf/specific.m4,
lib/autoconf/status.m4, lib/autoconf/types.m4,
lib/autotest/autotest.m4, lib/autotest/general.m4,
lib/autotest/specific.m4, lib/m4sugar/foreach.m4,
lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4: Update exception
statement, bump to GPLv3.
* bin/autoconf.as, bin/autoheader.in, bin/autom4te.in,
bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
bin/ifnames.in: Bump to GPLv3+, adjust --version output
to reflect the GPLv3+ and the Autoconf Exception.
* lib/Autom4te/C4che.pm, lib/Autom4te/ChannelDefs.pm,
lib/Autom4te/General.pm, lib/Autom4te/Request.pm,
lib/autom4te.in, lib/autoscan/autoscan.pre,
lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el,
lib/freeze.mk, tests/atlocal.in, tests/autoscan.at,
tests/autotest.at, tests/base.at, tests/c.at,
tests/compile.at, tests/erlang.at, tests/foreign.at,
tests/fortran.at, tests/local.at, tests/m4sh.at,
tests/m4sugar.at, tests/mktests.sh, tests/semantics.at,
tests/statesave.m4, tests/suite.at, tests/tools.at,
tests/torture.at, tests/wrapper.as: Bump to GPLv3+.
2009-09-10 01:53:31 +08:00
|
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
|
|
# (at your option) any later version.
|
2003-09-25 17:30:34 +08:00
|
|
|
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
|
|
|
|
# You should have received a copy of the GNU General Public License
|
Update License to GPLv3+ including new Autoconf Exception.
* NEWS, README: Update licensing information.
* COPYING.EXCEPTION: New file.
* Makefile.am (EXTRA_DIST): Distribute it.
* cfg.mk (autom4te-update): Remove copyright change warning.
* lib/autoconf/autoconf.m4, lib/autoconf/autoheader.m4,
lib/autoconf/autoscan.m4, lib/autoconf/autotest.m4,
lib/autoconf/autoupdate.m4, lib/autoconf/c.m4,
lib/autoconf/erlang.m4, lib/autoconf/fortran.m4,
lib/autoconf/functions.m4, lib/autoconf/general.m4,
lib/autoconf/headers.m4, lib/autoconf/lang.m4,
lib/autoconf/libs.m4, lib/autoconf/oldnames.m4,
lib/autoconf/programs.m4, lib/autoconf/specific.m4,
lib/autoconf/status.m4, lib/autoconf/types.m4,
lib/autotest/autotest.m4, lib/autotest/general.m4,
lib/autotest/specific.m4, lib/m4sugar/foreach.m4,
lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4: Update exception
statement, bump to GPLv3.
* bin/autoconf.as, bin/autoheader.in, bin/autom4te.in,
bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
bin/ifnames.in: Bump to GPLv3+, adjust --version output
to reflect the GPLv3+ and the Autoconf Exception.
* lib/Autom4te/C4che.pm, lib/Autom4te/ChannelDefs.pm,
lib/Autom4te/General.pm, lib/Autom4te/Request.pm,
lib/autom4te.in, lib/autoscan/autoscan.pre,
lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el,
lib/freeze.mk, tests/atlocal.in, tests/autoscan.at,
tests/autotest.at, tests/base.at, tests/c.at,
tests/compile.at, tests/erlang.at, tests/foreign.at,
tests/fortran.at, tests/local.at, tests/m4sh.at,
tests/m4sugar.at, tests/mktests.sh, tests/semantics.at,
tests/statesave.m4, tests/suite.at, tests/tools.at,
tests/torture.at, tests/wrapper.as: Bump to GPLv3+.
2009-09-10 01:53:31 +08:00
|
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
2003-09-25 17:30:34 +08:00
|
|
|
|
2004-08-20 14:22:43 +08:00
|
|
|
testdir='@abs_top_builddir@/tests'
|
2007-12-05 05:47:42 +08:00
|
|
|
PATH=$testdir$PATH_SEPARATOR$PATH
|
|
|
|
AUTOCONF=autoconf
|
|
|
|
AUTOHEADER=autoheader
|
|
|
|
AUTOM4TE=autom4te
|
2004-08-20 14:22:43 +08:00
|
|
|
AUTOM4TE_CFG='@abs_top_builddir@/lib/autom4te.cfg'
|
|
|
|
autom4te_perllibdir='@abs_top_srcdir@/lib'
|
2002-06-15 15:47:42 +08:00
|
|
|
export AUTOCONF AUTOHEADER AUTOM4TE AUTOM4TE_CFG autom4te_perllibdir
|
2002-04-12 17:56:10 +08:00
|
|
|
|
2004-12-10 05:14:45 +08:00
|
|
|
case '@wrap_program@' in
|
2002-04-12 17:56:10 +08:00
|
|
|
ifnames)
|
|
|
|
# Does not have lib files.
|
2004-12-10 05:14:45 +08:00
|
|
|
exec '@abs_top_builddir@/bin/@wrap_program@' ${1+"$@"}
|
2002-04-12 17:56:10 +08:00
|
|
|
;;
|
2002-07-17 18:13:32 +08:00
|
|
|
*)
|
|
|
|
# We might need files from the build tree (frozen files), in
|
|
|
|
# addition of src files.
|
2004-12-10 05:14:45 +08:00
|
|
|
exec '@abs_top_builddir@/bin/@wrap_program@' \
|
2004-08-20 14:22:43 +08:00
|
|
|
-B '@abs_top_builddir@'/lib \
|
2004-12-10 05:14:45 +08:00
|
|
|
-B '@abs_top_srcdir@'/lib ${1+"$@"}
|
2002-04-12 18:10:10 +08:00
|
|
|
esac
|
2002-07-17 18:13:32 +08:00
|
|
|
exit 1
|