Blame tests/wrapper.as

Packit Service 9646c7
AS_INIT[]dnl                                            -*- shell-script -*-
Packit Service 9646c7
# wrapper.as -- running `@wrap_program@' as if it were installed.
Packit Service 9646c7
# @configure_input@
Packit Service 9646c7
# Copyright (C) 2003-2004, 2007, 2009-2012 Free Software Foundation,
Packit Service 9646c7
# Inc.
Packit Service 9646c7
Packit Service 9646c7
# This program is free software: you can redistribute it and/or modify
Packit Service 9646c7
# it under the terms of the GNU General Public License as published by
Packit Service 9646c7
# the Free Software Foundation, either version 3 of the License, or
Packit Service 9646c7
# (at your option) any later version.
Packit Service 9646c7
Packit Service 9646c7
# This program is distributed in the hope that it will be useful,
Packit Service 9646c7
# but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service 9646c7
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit Service 9646c7
# GNU General Public License for more details.
Packit Service 9646c7
Packit Service 9646c7
# You should have received a copy of the GNU General Public License
Packit Service 9646c7
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
Packit Service 9646c7
Packit Service 9646c7
testdir='@abs_top_builddir@/tests'
Packit Service 9646c7
PATH=$testdir$PATH_SEPARATOR$PATH
Packit Service 9646c7
AUTOCONF=autoconf
Packit Service 9646c7
AUTOHEADER=autoheader
Packit Service 9646c7
AUTOM4TE=autom4te
Packit Service 9646c7
AUTOM4TE_CFG='@abs_top_builddir@/lib/autom4te.cfg'
Packit Service 9646c7
autom4te_perllibdir='@abs_top_srcdir@/lib'
Packit Service 9646c7
export AUTOCONF AUTOHEADER AUTOM4TE AUTOM4TE_CFG autom4te_perllibdir
Packit Service 9646c7
Packit Service 9646c7
case '@wrap_program@' in
Packit Service 9646c7
  ifnames)
Packit Service 9646c7
     # Does not have lib files.
Packit Service 9646c7
     exec '@abs_top_builddir@/bin/@wrap_program@' ${1+"$@"}
Packit Service 9646c7
     ;;
Packit Service 9646c7
  *)
Packit Service 9646c7
     # We might need files from the build tree (frozen files), in
Packit Service 9646c7
     # addition of src files.
Packit Service 9646c7
     exec '@abs_top_builddir@/bin/@wrap_program@' \
Packit Service 9646c7
	  -B '@abs_top_builddir@'/lib \
Packit Service 9646c7
	  -B '@abs_top_srcdir@'/lib ${1+"$@"}
Packit Service 9646c7
esac
Packit Service 9646c7
exit 1