diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2004-12-09 21:14:45 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2004-12-09 21:14:45 +0000 |
commit | 5574d5b7ba29ae45772539b9a04fa818a7e99335 (patch) | |
tree | 135f5f08457a21fbd47dd762c0c4fa4fef7f6c9a /tests/wrapper.as | |
parent | b1d940cc81bc89fec8da12d2a1f41e2fca5d3f64 (diff) | |
download | autoconf-5574d5b7ba29ae45772539b9a04fa818a7e99335.tar.gz |
* configure.ac (test suite): Cease to generate wrapper scripts.
* configure: Regenerate.
* lib/freeze.mk (MY_AUTOM4TE): Wrap the uninstalled autom4te directly.
(m4f_dependencies): Adjust accordingly.
* tests/Makefile.am (Wrappers): Generate wrapper scripts.
(wrapper.in): Generate it in the build directory.
(MAINTAINERCLEANFILES): Delete wrapper.in.
(CLEANFILES): Add wrapper.in.
* tests/wrapper.as: Move AS_INIT to very top, preserving copyright in
the output. Replace each $as_me with a @wrap_program@.
* tests/wrapper.in: Delete it; we always build it.
* bin/Makefile.am (autoconf.in): Generate it in the build directory.
(EXTRA_DIST): Remove autoconf.in.
(CLEANFILES): Add autoconf.in.
(autoconf): Find autoconf.in in the build directory.
* bin/autoconf.in: Delete it; we always build it.
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 |