diff options
Diffstat (limited to 'tests/wrapper.as')
-rw-r--r-- | tests/wrapper.as | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/tests/wrapper.as b/tests/wrapper.as index 5487da14..f9f61069 100644 --- a/tests/wrapper.as +++ b/tests/wrapper.as @@ -1,4 +1,5 @@ -# wrapper.as -- running `$0' as if it were installed. -*- shell-script -*- +AS_INIT[]dnl -*- shell-script -*- +# wrapper.as -- running `@wrap_program@' as if it were installed. # @configure_input@ # Copyright (C) 2003, 2004 Free Software Foundation, Inc. @@ -17,8 +18,6 @@ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. -AS_INIT[]dnl - testdir='@abs_top_builddir@/tests' AUTOCONF=$testdir/autoconf AUTOHEADER=$testdir/autoheader @@ -27,16 +26,16 @@ AUTOM4TE_CFG='@abs_top_builddir@/lib/autom4te.cfg' autom4te_perllibdir='@abs_top_srcdir@/lib' export AUTOCONF AUTOHEADER AUTOM4TE AUTOM4TE_CFG autom4te_perllibdir -case $as_me in +case '@wrap_program@' in ifnames) # Does not have lib files. - exec '@abs_top_builddir@'/bin/$as_me ${1+"$@"} + exec '@abs_top_builddir@/bin/@wrap_program@' ${1+"$@"} ;; *) # We might need files from the build tree (frozen files), in # addition of src files. - exec '@abs_top_builddir@'/bin/$as_me \ + exec '@abs_top_builddir@/bin/@wrap_program@' \ -B '@abs_top_builddir@'/lib \ - -B '@abs_top_srcdir@/lib' ${1+"$@"} + -B '@abs_top_srcdir@'/lib ${1+"$@"} esac exit 1 |