autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

09-position-independent-wrappers.patch


From: Akim Demaille
Subject: 09-position-independent-wrappers.patch
Date: Sun, 23 Sep 2001 19:22:49 +0200

The more I work on test suites, the more I realize how wrappers are a
powerful scheme.  The main problem of the previous approach was that
the wrappers had to be run from the directory they are living in
(otherwise they can't find atconfig which contained what they needed
to find the non installed files).

Now they are created by configure, and can be run from anywhere.  So,
for instance, if you want the run a non installed autoconf, just run
`tests/autoconf' from whereever you are.

To acheive this goal, you need a fair amount of absoluteness, hence
the inception of the *path new variables.  I'm sure it will be useful
to other peoples.


Index: ChangeLog
from  Akim Demaille  <address@hidden>
        * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
        ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
        (_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
        builddir, buildpath, top_builddir, and top_buildpath.
        (_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
        the current directory.
        * lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
        variables *before* changing the current directory.
        Skip nonexistent dirs.
        * doc/autoconf.texi (Preset Output Variables): Document these
        variables.

        * lib/autotest/general.m4: Do not reset AT_victims.
        Don't compute at_srcdir nor at_top_srcdir.

        * tests/tools.at: Hence use top_srcdir.

        * tests/Makefile.am, tests/autoconf, tests/autoheader,
        * tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
        Remove.
        * tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
        * tests/wrapsh.in, tests/autoupdate.in: New.
        * tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
        * configure.ac: Build the position independent wrappers.

        * man/Makefile.am: Now that test wrappers are position
        independent, use them and drop dark envvar magic.

Index: Makefile.am
--- Makefile.am Thu, 30 Aug 2001 16:11:54 +0200 akim
+++ Makefile.am Sun, 23 Sep 2001 15:50:19 +0200 akim
@@ -31,7 +31,7 @@

 # Automake is unable to look into our special aclocal.m4...
 AMTAR = @AMTAR@
-
+AWK   = @AWK@

 ## -------------------- ##
 ## Forwarding targets.  ##
Index: NEWS
--- NEWS Sat, 22 Sep 2001 15:45:55 +0200 akim
+++ NEWS Sun, 23 Sep 2001 15:59:07 +0200 akim
@@ -6,18 +6,22 @@
 ** Documentation
 - AC_INIT
   Argument requirements, output variables, defined macros.
-- Autotest
-  First sketch of its documentation.
+- M4sugar, M4sh, Autotest
+  First sketch.
 - Double quoting macros
   AC_TRY_CPP, AC_TRY_COMPILE, AC_TRY_LINK and AC_TRY_RUN.
 - Licensing
   The Autoconf manual is now distributed under the terms of the GNU FDL.

-** $LINENO
-  Is now used instead of hard coded line numbers.
+** configure
+- $LINENO
+  Now used instead of hard coded line numbers.
   This eases the comparison of `configure's, and diminishes the
   pressure over control version archives.
   Automatic replacement for shells that don't support this feature.
+- New output variables
+  @builddir@, @top_builddir@, @srcpath@, @top_srcpath@, @buildpath@,
+  @address@hidden

 ** autom4te
   New executable, used by the Autoconf suite to cache and speed up
@@ -42,7 +46,10 @@

 ** Generic macros
 - AC_CONFIG_COMMANDS, HEADERS, FILES, LINKS.
-  Provide the user with srcdir, ac_top_srcdir, ac_top_builddir, ac_srcdir.
+  Provide the user with srcdir, ac_srcdir, ac_top_srcdir, ac_builddir,
+  ac_top_builddir, ac_srcpath, ac_top_srcpath, ac_buildpath,
+  ac_top_buildpath.
+
 
 * Major changes in Autoconf 2.52
 ** Documentation
Index: configure.ac
--- configure.ac Wed, 12 Sep 2001 17:00:45 +0200 akim
+++ configure.ac Sun, 23 Sep 2001 16:01:55 +0200 akim
@@ -27,10 +27,22 @@
 AC_CONFIG_AUX_DIR(config)
 AM_INIT_AUTOMAKE(autoconf, 2.52e)

-# Initialize the test suite.
-# Some of our bins are location independant, e.g., ifnames.
-# We don't need wrappers for them.
-AC_CONFIG_TESTDIR(tests, tests:bin)
+# Initialize the test suite and build position independent wrappers.
+AC_CONFIG_TESTDIR(tests)
+AC_CONFIG_FILES([tests/autoconf:tests/wrapsh.in],
+                [chmod +x tests/autoconf])
+AC_CONFIG_FILES([tests/autoheader:tests/wrappl.in],
+                [chmod +x tests/autoheader])
+AC_CONFIG_FILES([tests/autom4te],
+                [chmod +x tests/autom4te])
+AC_CONFIG_FILES([tests/autoreconf],
+                [chmod +x tests/autoreconf])
+AC_CONFIG_FILES([tests/autoscan:tests/wrappl.in],
+                [chmod +x tests/autoscan])
+AC_CONFIG_FILES([tests/autoupdate],
+                [chmod +x tests/autoupdate])
+AC_CONFIG_FILES([tests/ifnames:tests/wrappl.in],
+                [chmod +x tests/ifnames])
 AC_PATH_PROG(EXPR, expr)

 # We use a path for GNU m4 so even if users have another m4 first in
Index: doc/autoconf.texi
--- doc/autoconf.texi Sun, 23 Sep 2001 14:38:03 +0200 akim
+++ doc/autoconf.texi Sun, 23 Sep 2001 15:22:23 +0200 akim
@@ -2073,15 +2073,47 @@ @node Preset Output Variables
 programs to test for C, C++ and Fortran 77 features.
 @end defvar

address@hidden builddir
address@hidden builddir
+Rigorously equal to @samp{.}.  Added for symmetry only.
address@hidden defvar
+
address@hidden buildpath
address@hidden buildpath
+Absolute path of @code{builddir}.
address@hidden defvar
+
address@hidden top_builddir
address@hidden top_builddir
+The relative path to the top-level of the current build tree.  In the
+top-level directory, this is the same as @code{srcbuild}.
address@hidden defvar
+
address@hidden top_buildpath
address@hidden top_buildpath
+Absolute path of @code{top_builddir}.
address@hidden defvar
+
 @defvar srcdir
 @ovindex srcdir
-The directory that contains the source code for that @file{Makefile}.
+The relative path to the directory that contains the source code for
+that @file{Makefile}.
address@hidden defvar
+
address@hidden srcpath
address@hidden srcpath
+Absolute path of @code{srcdir}.
 @end defvar

 @defvar top_srcdir
 @ovindex top_srcdir
-The top-level source code directory for the package.  In the top-level
-directory, this is the same as @code{srcdir}.
+The relative path to the top-level source code directory for the
+package.  In the top-level directory, this is the same as @code{srcdir}.
address@hidden defvar
+
address@hidden top_srcpath
address@hidden top_srcpath
+Absolute path of @code{top_srcdir}.
 @end defvar

 @node Installation Directory Variables
Index: lib/autoconf/autotest.m4
--- lib/autoconf/autotest.m4 Sun, 23 Sep 2001 08:45:24 +0200 akim
+++ lib/autoconf/autotest.m4 Sun, 23 Sep 2001 14:48:32 +0200 akim
@@ -86,9 +86,13 @@ AC_DEFUN([AC_CONFIG_TESTDIR],
 @%:@ Copyright 2000, 2001 Free Software Foundation, Inc.

 at_testdir='$1'
+buildpath='$ac_buildpath'
 srcdir='$ac_srcdir'
+srcpath='$ac_srcpath'
 top_srcdir='$ac_top_srcdir'
+top_srcpath='$ac_top_srcpath'
 top_builddir='$ac_top_builddir'
+top_buildpath='$ac_top_buildpath'

 AUTOTEST_PATH='m4_default([$2], [$1])'

Index: lib/autoconf/general.m4
--- lib/autoconf/general.m4 Sun, 23 Sep 2001 08:45:24 +0200 akim
+++ lib/autoconf/general.m4 Sun, 23 Sep 2001 15:43:30 +0200 akim
@@ -1084,8 +1084,9 @@ Configuration:
   # If there are subdirs, report their specific --help.
   ac_popdir=`pwd`
   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
-    cd $ac_dir
+    test -d $ac_dir || continue
     _AC_SRCPATHS(["$ac_dir"])
+    cd $ac_dir
     # Check for guested configure; otherwise get Cygnus style configure.
     if test -f $ac_srcdir/configure.gnu; then
       echo
Index: lib/autoconf/status.m4
--- lib/autoconf/status.m4 Sun, 23 Sep 2001 10:46:55 +0200 akim
+++ lib/autoconf/status.m4 Sun, 23 Sep 2001 15:43:27 +0200 akim
@@ -127,12 +127,17 @@
 #   - `$srcdir' is `top-build -> top-src'
 #
 # Ouputs:
+# - `ac_builddir' is `.', for symmetry only.
 # - `ac_top_builddir' is `build -> top_build'.
 #      If not empty, has a trailing slash.
 # - `ac_srcdir' is `build -> src'.
-# - `ac_top_srcdir' is `build -> top-src'
+# - `ac_top_srcdir' is `build -> top-src'.
+#
+# and `ac_buildpath' etc., the absolute paths.
 m4_define([_AC_SRCPATHS],
-[if test $1 != .; then
+[ac_builddir=.
+
+if test $1 != .; then
   ac_dir_suffix=/`echo $1 | sed 's,^\.[[\\/]],,'`
   # A "../" for each directory in $ac_dir_suffix.
   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[[^\\/]]*,../,g'`
@@ -155,6 +160,12 @@ m4_define([_AC_SRCPATHS],
     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
     ac_top_srcdir=$ac_top_builddir$srcdir ;;
 esac
+# Don't blindly perform a `cd $1/$ac_foo && pwd` since $ac_foo can be
+# absolute.
+ac_buildpath=`cd $1 && cd $ac_builddir && pwd`
+ac_top_buildpath=`cd $1 && cd $ac_top_builddir && pwd`
+ac_srcpath=`cd $1 && cd $ac_srcdir && pwd`
+ac_top_srcpath=`cd $1 && cd $ac_top_srcdir && pwd`
 ])# _AC_SRCPATHS


@@ -949,7 +960,13 @@ m4_define([_AC_OUTPUT_FILES],
 [/@[a-zA-Z_][a-zA-Z_0-9]*@/!b]
 s,@configure_input@,$configure_input,;t t
 s,@srcdir@,$ac_srcdir,;t t
+s,@srcpath@,$ac_srcpath,;t t
 s,@top_srcdir@,$ac_top_srcdir,;t t
+s,@top_srcpath@,$ac_top_srcpath,;t t
+s,@builddir@,$ac_builddir,;t t
+s,@buildpath@,$ac_buildpath,;t t
+s,@top_builddir@,$ac_top_builddir,;t t
+s,@top_buildpath@,$ac_top_buildpath,;t t
 AC_PROVIDE_IFELSE([AC_PROG_INSTALL], [s,@INSTALL@,$ac_INSTALL,;t t
 ])dnl
 dnl The parens around the eval prevent an "illegal io" in Ultrix sh.
@@ -1058,6 +1075,7 @@ m4_define([_AC_OUTPUT_SUBDIRS],
   # in subdir configurations.
   ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"

+  ac_popdir=`pwd`
   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue

     # Do not complain, so a configure script can configure whichever
@@ -1066,10 +1084,9 @@ m4_define([_AC_OUTPUT_SUBDIRS],

     AC_MSG_NOTICE([configuring in $ac_dir])
     AS_MKDIR_P(["$ac_dir"])
+    _AC_SRCPATHS(["$ac_dir"])

-    ac_popdir=`pwd`
     cd $ac_dir
-    _AC_SRCPATHS(["$ac_dir"])

     # Check for guested configure; otherwise get Cygnus style configure.
     if test -f $ac_srcdir/configure.gnu; then
Index: lib/autotest/general.m4
--- lib/autotest/general.m4 Sun, 23 Sep 2001 14:22:45 +0200 akim
+++ lib/autotest/general.m4 Sun, 23 Sep 2001 15:18:19 +0200 akim
@@ -95,7 +95,6 @@ m4_define([AT_TESTSUITE_NAME],
 m4_define([AT_ordinal], 0)
 m4_define([AT_banner_ordinal], 0)
 m4_define([AT_data_files], [stdout expout at-* stderr experr])
-m4_define([AT_victims], [])
 m4_divert_text([BINSH], address@hidden:@! /bin/sh])
 m4_divert_push([DEFAULT])dnl

@@ -112,11 +111,7 @@ m4_define([AT_victims], [])
   . ./$at_file || AS_ERROR([invalid content: $at_file])
 done

-AUTOTEST_PATH=`echo $AUTOTEST_PATH |tr ':' $PATH_SEPARATOR`
-
-# Use absolute file notations, as the test might change directories.
-at_srcdir=`cd "$srcdir" && pwd`
-at_top_srcdir=`cd "$top_srcdir" && pwd`
+AUTOTEST_PATH=`echo $AUTOTEST_PATH | tr ':' $PATH_SEPARATOR`

 # Not all shells have the 'times' builtin; the subshell is needed to make
 # sure we discard the 'times: not found' message from the shell.
Index: man/Makefile.am
--- man/Makefile.am Sun, 23 Sep 2001 08:45:24 +0200 akim
+++ man/Makefile.am Sun, 23 Sep 2001 15:07:44 +0200 akim
@@ -46,12 +46,8 @@ config.sub.1:   $(srcdir)/config.sub.x

 .x.1:
        echo "Updating man page $@"
-       
PATH="$(top_builddir)/address@hidden@$(top_srcdir)/address@hidden@$$PATH"; \
+       
PATH="$(top_builddir)/address@hidden@$(top_srcdir)/address@hidden@$$PATH"; \
        export PATH; \
-       autom4te_perllibdir=$(top_srcdir)/lib; \
-       export autom4te_perllibdir; \
-       AUTOM4TE_CFG=$(top_srcdir)/lib/autom4te.cfg; \
-       export AUTOM4TE_CFG; \
        $(HELP2MAN) \
            --include=$(srcdir)/$*.x \
            --include=$(srcdir)/common.x \
Index: tests/Makefile.am
--- tests/Makefile.am Sat, 22 Sep 2001 16:18:02 +0200 akim
+++ tests/Makefile.am Sun, 23 Sep 2001 15:55:04 +0200 akim
@@ -20,13 +20,13 @@

 # We don't actually distribute the testsuite, since one only
 # needs m4 to build it, m4 being required anyway to install Autoconf.
-EXTRA_DIST = $(WRAPPERS) $(TESTSUITE_AT) atspecific.m4 aclocal.m4 mktests.sh \
+EXTRA_DIST = $(TESTSUITE_AT) atspecific.m4 aclocal.m4 mktests.sh \
              atlocal.in

 # Running the uninstalled scripts.
-WRAPPERS = autoconf autoheader autoreconf autom4te autoupdate ifnames
+WRAPPERS = autoconf autoheader autoreconf autom4te autoscan autoupdate ifnames

-DISTCLEANFILES       = atconfig atlocal package.m4 $(TESTSUITE)
+DISTCLEANFILES = atconfig atlocal package.m4 $(TESTSUITE) $(WRAPPERS)

 TESTSUITE_GENERATED_AT = \
        aclang.at acc.at acfortran.at \
@@ -47,8 +47,9 @@
 TESTSUITE = ./testsuite

 # Run the non installed autom4te.
-AUTOM4TE = $(srcdir)/autom4te
-AUTOTEST = $(AUTOM4TE) --language=autotest
+# Don't use AUTOM4TE since `make alpha' makes it unavailable although
+# we are allowed to use it (since we ship it).
+AUTOTEST = ./autom4te --language=autotest
 testsuite: $(top_srcdir)/lib/m4sugar/m4sugar.m4 \
           $(top_srcdir)/lib/m4sugar/m4sh.m4 \
            $(top_srcdir)/lib/autotest/autotest.m4 \
Index: tests/tools.at
--- tests/tools.at Wed, 12 Sep 2001 17:00:45 +0200 akim
+++ tests/tools.at Sun, 23 Sep 2001 14:51:12 +0200 akim
@@ -77,9 +77,9 @@
 AT_CHECK([/bin/sh -n ../bin/autoreconf], 0)

 # These are not built, they are in the src tree.
-AT_CHECK([/bin/sh -n $at_top_srcdir/config/install-sh], 0)
-AT_CHECK([/bin/sh -n $at_top_srcdir/config/mkinstalldirs], 0)
-AT_CHECK([/bin/sh -n $at_top_srcdir/config/missing], 0)
+AT_CHECK([/bin/sh -n $top_srcdir/config/install-sh], 0)
+AT_CHECK([/bin/sh -n $top_srcdir/config/mkinstalldirs], 0)
+AT_CHECK([/bin/sh -n $top_srcdir/config/missing], 0)

 AT_CLEANUP

Index: tests/autom4te.in
--- tests/autom4te.in Sun, 23 Sep 2001 16:08:28 +0200 akim
+++ tests/autom4te.in Sun, 23 Sep 2001 15:02:38 +0200 akim
@@ -0,0 +1,18 @@
+#! /bin/sh
+# Running `autom4te' as if it were installed.
+
+# 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.).
address@hidden@/lib
+export autom4te_perllibdir
+
address@hidden@/lib/autom4te.cfg
+export AUTOM4TE_CFG
+
+# We might need files from build (frozen files), in addition of src files.
+exec @top_buildpath@/bin/autom4te \
+     -I @top_buildpath@/lib \
+     -I @top_srcpath@/lib ${1+"$@"}
Index: tests/autoreconf.in
--- tests/autoreconf.in Sun, 23 Sep 2001 16:08:28 +0200 akim
+++ tests/autoreconf.in Sun, 23 Sep 2001 15:09:33 +0200 akim
@@ -0,0 +1,6 @@
+#! /bin/sh
+# Running `$0' as if it were installed.
+
+me=`echo "$0" | sed -e 's,.*[\\/],,'`
+
+exec @top_buildpath@/bin/$me --autoconf-dir @top_buildpath@/lib ${1+"$@"}
Index: tests/autoupdate.in
--- tests/autoupdate.in Sun, 23 Sep 2001 16:08:28 +0200 akim
+++ tests/autoupdate.in Sun, 23 Sep 2001 16:01:39 +0200 akim
@@ -0,0 +1,15 @@
+#! /bin/sh
+# Running `autoupdate' as if it were installed.
+
+# 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.).
address@hidden@/lib
+export autom4te_perllibdir
+
+# We might need files from build (frozen files), in addition of src files.
+exec @top_buildpath@/bin/autoupdate \
+     -I @top_buildpath@/lib \
+     -I @top_srcpath@/lib ${1+"$@"}
Index: tests/wrappl.in
--- tests/wrappl.in Sun, 23 Sep 2001 16:08:28 +0200 akim
+++ tests/wrappl.in Sun, 23 Sep 2001 15:11:06 +0200 akim
@@ -0,0 +1,14 @@
+#! /bin/sh
+# 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.).
address@hidden@/lib
+export autom4te_perllibdir
+
+exec @top_buildpath@/bin/$me ${1+"$@"}
Index: tests/wrapsh.in
--- tests/wrapsh.in Sun, 23 Sep 2001 16:08:28 +0200 akim
+++ tests/wrapsh.in Sun, 23 Sep 2001 15:00:23 +0200 akim
@@ -0,0 +1,6 @@
+#! /bin/sh
+# Running `$0' as if it were installed.
+
+me=`echo "$0" | sed -e 's,.*[\\/],,'`
+
+exec @top_buildpath@/bin/$me --include @top_buildpath@/lib ${1+"$@"}
Index: tests/autoconf
--- tests/autoconf Fri, 31 Aug 2001 00:55:01 +0200 akim
+++ tests/autoconf Sun, 23 Sep 2001 16:08:28 +0200 akim
@@ -1,8 +0,0 @@
-#! /bin/sh
-# Running `$0' as if it were installed.
-
-me=`echo "$0" | sed -e 's,.*[\\/],,'`
-
-. ./atconfig
-
-exec ../bin/$me --include ../lib ${1+"$@"}
Index: tests/autoheader
--- tests/autoheader Fri, 31 Aug 2001 13:05:00 +0200 akim
+++ tests/autoheader Sun, 23 Sep 2001 16:08:28 +0200 akim
@@ -1,14 +0,0 @@
-#! /bin/sh
-# Running `autoheader' as if it were installed.
-
-. ./atconfig
-
-# 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=$top_srcdir/lib
-export autom4te_perllibdir
-
-exec ../bin/autoheader --include ../lib ${1+"$@"}
Index: tests/autom4te
--- tests/autom4te Thu, 30 Aug 2001 20:46:39 +0200 akim
+++ tests/autom4te Sun, 23 Sep 2001 16:08:28 +0200 akim
@@ -1,18 +0,0 @@
-#! /bin/sh
-# Running `autom4te' as if it were installed.
-
-. ./atconfig
-
-# 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=$top_srcdir/lib
-export autom4te_perllibdir
-
-AUTOM4TE_CFG=$top_builddir/lib/autom4te.cfg
-export AUTOM4TE_CFG
-
-# We might need files from build (frozen files), in addition of src files.
-exec ../bin/autom4te -I ../lib -I $top_srcdir/lib ${1+"$@"}
Index: tests/autoreconf
--- tests/autoreconf Fri, 31 Aug 2001 00:55:01 +0200 akim
+++ tests/autoreconf Sun, 23 Sep 2001 16:08:28 +0200 akim
@@ -1,8 +0,0 @@
-#! /bin/sh
-# Running `$0' as if it were installed.
-
-me=`echo "$0" | sed -e 's,.*[\\/],,'`
-
-. ./atconfig
-
-exec ../bin/$me --autoconf-dir ../lib ${1+"$@"}
Index: tests/autoupdate
--- tests/autoupdate Fri, 31 Aug 2001 13:05:00 +0200 akim
+++ tests/autoupdate Sun, 23 Sep 2001 16:08:28 +0200 akim
@@ -1,14 +0,0 @@
-#! /bin/sh
-# Running `autoupdate' as if it were installed.
-
-. ./atconfig
-
-# 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=$top_srcdir/lib
-export autom4te_perllibdir
-
-exec ../bin/autoupdate --include ../lib --include $top_srcdir/lib ${1+"$@"}
Index: tests/ifnames
--- tests/ifnames Wed, 12 Sep 2001 17:14:05 +0200 akim
+++ tests/ifnames Sun, 23 Sep 2001 16:08:28 +0200 akim
@@ -1,14 +0,0 @@
-#! /bin/sh
-# Running `ifnames' as if it were installed.
-
-. ./atconfig
-
-# 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=$top_srcdir/lib
-export autom4te_perllibdir
-
-exec ../bin/ifnames ${1+"$@"}



reply via email to

[Prev in Thread] Current Thread [Next in Thread]