autoconf/tests/wrappl.in
Akim Demaille 7e51b629b6 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
abs_builddir, top_buildpath to abs_top_builddir, srcpath to
abs_srcdir, top_srcpath to abs_top_srcdir.
(_AC_OUTPUT_FILES): Adjust.
* NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
* tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
* tests/wrappl.in, tests/wrapsh.in: Adjust.
2001-12-14 17:57:27 +00:00

30 lines
856 B
Bash

#! /bin/sh
# @configure_input@
# Running `$0' as if it were installed.
me=`echo "$0" | sed -e 's,.*[\\/],,'`
# Be sure to use the non installed Perl modules.
# We need no special protection for the subtools (e.g., autoheader runs
# autoconf which runs autom4te) because by themselves, they try to use
# subtools from the same directory (i.e., foo/autoheader will run
# foo/autoconf etc.).
autom4te_perllibdir=@abs_top_srcdir@/lib
export autom4te_perllibdir
case $me in
ifnames)
# Does not have lib files.
exec @abs_top_builddir@/bin/$me ${1+"$@"}
;;
autom4te)
AUTOM4TE_CFG=@abs_top_builddir@/lib/autom4te.cfg
export AUTOM4TE_CFG
;;
esac
# We might need files from build (frozen files), in addition of src files.
exec @abs_top_builddir@/bin/$me \
-I @abs_top_builddir@/lib \
-I @abs_top_srcdir@/lib ${1+"$@"}