]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
authorAkim Demaille <akim@epita.fr>
Fri, 14 Dec 2001 17:57:27 +0000 (17:57 +0000)
committerAkim Demaille <akim@epita.fr>
Fri, 14 Dec 2001 17:57:27 +0000 (17:57 +0000)
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.

ChangeLog
NEWS
configure
doc/autoconf.texi
lib/autoconf/autotest.m4
lib/autoconf/status.m4
tests/atspecific.m4
tests/autoreconf.in
tests/tools.at
tests/wrappl.in
tests/wrapsh.in

index 665f9c9e70b2c5193219b9054728dc50ff562797..f65d993239e01a42a816ba3d4bc14cb691eed41f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,19 +1,29 @@
+2001-12-13  Peter Eisentraut  <peter_e@gmx.net>
+
+       * 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-12  Steven G. Johnson  <stevenj@alum.mit.edu>
 
        * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
        C/Fortran linking on HP/UX, by extracting the Fortran library
        search path from the LPATH line in the $F77 -v output.
-       
+
 2001-12-12  Kevin Ryde  <user42@zip.com.au>
 
        * doc/autoconf.texi (File Descriptors): Use a clearer layout for the
        forbidden file descriptors table.
-       
+
 2001-11-26  Akim Demaille  <akim@epita.fr>
 
        * bin/autoscan.in (%c_keywords): Build it at top level.
        Map to 1 in order to simplify its uses.
-       
+
 2001-11-26  Akim Demaille  <akim@epita.fr>
 
        * bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):
@@ -25,7 +35,7 @@
        because of `lex$U.$(OBJEXT)'.
        (&scan_files): Use "@list" instead of join.
        * doc/Makefile.am (CLEANFILES): Add *.fns.
-       
+
 2001-11-26  Akim Demaille  <akim@epita.fr>
 
        * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
@@ -39,7 +49,7 @@
 
        * bin/autoscan.in (used): New.
        Use it.
-       
+
 2001-11-26  Akim Demaille  <akim@epita.fr>
 
        * bin/autoscan.in (&scan_c_file): Better parsing of CPP
        (&scan_sh_file): Remove a duplicate pattern.
        (&check_configure_ac): Use long options.
        * lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
-       
+
 2001-11-26  Akim Demaille  <akim@epita.fr>
 
        * bin/autoscan.in (scan_c_file): Fix the handling of C comments.
        Before, having a line containing the opening of a multi line
        comment made the whole line be ignored.
-       
+
 2001-11-26  Akim Demaille  <akim@epita.fr>
 
        * doc/autoconf.texi (Using an Autotest Test Suite): New.
diff --git a/NEWS b/NEWS
index 65f83a7898806db879167688678975d7c5a790c0..fdf7386db1a1d084a91aa8079550de98541b266b 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -25,8 +25,8 @@
   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@,
-  @top_buildpath@.
+  @builddir@, @top_builddir@, @abs_srcdir@, @abs_top_srcdir@, @abs_builddir@,
+  @abs_top_builddir@.
 
 ** Emacs
 
@@ -76,8 +76,8 @@
 
 - AC_CONFIG_COMMANDS, HEADERS, FILES, LINKS.
   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.
+  ac_top_builddir, ac_abs_srcdir, ac_abs_top_srcdir, ac_abs_builddir,
+  ac_abs_top_builddir.
 
 - AC_CONFIG_COMMANDS, HEADERS, FILES, LINKS and AC_OUTPUT.
   Are much less expensive when using long lists of files.
index 868f8fca7f4bf6a141324781245fd48cf2970f70..89566c7d23978e42589c702bd114d36382a2ea43 100755 (executable)
--- a/configure
+++ b/configure
@@ -817,10 +817,10 @@ case $srcdir in
 esac
 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
 # absolute.
-ac_buildpath=`cd "$ac_dir" && cd $ac_builddir && pwd`
-ac_top_buildpath=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
-ac_srcpath=`cd "$ac_dir" && cd $ac_srcdir && pwd`
-ac_top_srcpath=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
+ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
+ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
+ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
+ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
     cd $ac_dir
     # Check for guested configure; otherwise get Cygnus style configure.
@@ -2494,10 +2494,10 @@ case $srcdir in
 esac
 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
 # absolute.
-ac_buildpath=`cd "$ac_dir" && cd $ac_builddir && pwd`
-ac_top_buildpath=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
-ac_srcpath=`cd "$ac_dir" && cd $ac_srcdir && pwd`
-ac_top_srcpath=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
+ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
+ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
+ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
+ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
 
   case $INSTALL in
@@ -2558,13 +2558,13 @@ cat >>$CONFIG_STATUS <<\_ACEOF
 /@[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,@abs_srcdir@,$ac_abs_srcdir,;t t
 s,@top_srcdir@,$ac_top_srcdir,;t t
-s,@top_srcpath@,$ac_top_srcpath,;t t
+s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
 s,@builddir@,$ac_builddir,;t t
-s,@buildpath@,$ac_buildpath,;t t
+s,@abs_builddir@,$ac_abs_builddir,;t t
 s,@top_builddir@,$ac_top_builddir,;t t
-s,@top_buildpath@,$ac_top_buildpath,;t t
+s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
 s,@INSTALL@,$ac_INSTALL,;t t
 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
   rm -f $tmp/stdin
@@ -2634,10 +2634,10 @@ case $srcdir in
 esac
 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
 # absolute.
-ac_buildpath=`cd "$ac_dir" && cd $ac_builddir && pwd`
-ac_top_buildpath=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
-ac_srcpath=`cd "$ac_dir" && cd $ac_srcdir && pwd`
-ac_top_srcpath=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
+ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
+ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
+ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
+ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
 
   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
@@ -2657,14 +2657,15 @@ ATEOF
 # Generated by $0.
 # Copyright 2000, 2001 Free Software Foundation, Inc.
 
+# The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
 at_testdir='tests'
-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'
+abs_builddir='$ac_abs_builddir'
+at_srcdir='$ac_srcdir'
+abs_srcdir='$ac_abs_srcdir'
+at_top_srcdir='$ac_top_srcdir'
+abs_top_srcdir='$ac_abs_top_srcdir'
+at_top_builddir='$ac_top_builddir'
+abs_top_builddir='$ac_abs_top_builddir'
 
 AUTOTEST_PATH='tests'
 
index eb2275613f68c7431491034f7633aa8a6c4dfd89..6594cfc6b51271a441b707a25f9706bbabc6d940 100644 (file)
@@ -2039,8 +2039,8 @@ programs to test for C, C++ and Fortran 77 features.
 Rigorously equal to @samp{.}.  Added for symmetry only.
 @end defvar
 
-@defvar buildpath
-@ovindex buildpath
+@defvar abs_builddir
+@ovindex abs_builddir
 Absolute path of @code{builddir}.
 @end defvar
 
@@ -2050,8 +2050,8 @@ The relative path to the top-level of the current build tree.  In the
 top-level directory, this is the same as @code{srcbuild}.
 @end defvar
 
-@defvar top_buildpath
-@ovindex top_buildpath
+@defvar abs_top_builddir
+@ovindex abs_top_builddir
 Absolute path of @code{top_builddir}.
 @end defvar
 
@@ -2061,8 +2061,8 @@ The relative path to the directory that contains the source code for
 that @file{Makefile}.
 @end defvar
 
-@defvar srcpath
-@ovindex srcpath
+@defvar abs_srcdir
+@ovindex abs_srcdir
 Absolute path of @code{srcdir}.
 @end defvar
 
@@ -2072,8 +2072,8 @@ 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}.
 @end defvar
 
-@defvar top_srcpath
-@ovindex top_srcpath
+@defvar abs_top_srcdir
+@ovindex abs_top_srcdir
 Absolute path of @code{top_srcdir}.
 @end defvar
 
index 40062b40af5287f808ac697e07216e19d9a15536..9b3aee008c23837b7f5f8c13fe609142d5171a47 100644 (file)
@@ -87,13 +87,13 @@ AC_CONFIG_COMMANDS([$1/atconfig],
 
 # The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
 at_testdir='$1'
-buildpath='$ac_buildpath'
+abs_builddir='$ac_abs_builddir'
 at_srcdir='$ac_srcdir'
-srcpath='$ac_srcpath'
+abs_srcdir='$ac_abs_srcdir'
 at_top_srcdir='$ac_top_srcdir'
-top_srcpath='$ac_top_srcpath'
+abs_top_srcdir='$ac_abs_top_srcdir'
 at_top_builddir='$ac_top_builddir'
-top_buildpath='$ac_top_buildpath'
+abs_top_builddir='$ac_abs_top_builddir'
 
 AUTOTEST_PATH='m4_default([$2], [$1])'
 
index d595b846f00b28852d1307c0301e913f08864cf9..5d72affe050bfcb335111f370e58101534df80e1 100644 (file)
 # - `ac_srcdir' is `build -> src'.
 # - `ac_top_srcdir' is `build -> top-src'.
 #
-# and `ac_buildpath' etc., the absolute paths.
+# and `ac_abs_builddir' etc., the absolute paths.
 m4_define([_AC_SRCPATHS],
 [ac_builddir=.
 
@@ -162,10 +162,10 @@ case $srcdir in
 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_abs_builddir=`cd $1 && cd $ac_builddir && pwd`
+ac_abs_top_builddir=`cd $1 && cd $ac_top_builddir && pwd`
+ac_abs_srcdir=`cd $1 && cd $ac_srcdir && pwd`
+ac_abs_top_srcdir=`cd $1 && cd $ac_top_srcdir && pwd`
 ])# _AC_SRCPATHS
 
 
@@ -965,13 +965,13 @@ cat >>$CONFIG_STATUS <<\_ACEOF
 [/@[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,@abs_srcdir@,$ac_abs_srcdir,;t t
 s,@top_srcdir@,$ac_top_srcdir,;t t
-s,@top_srcpath@,$ac_top_srcpath,;t t
+s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
 s,@builddir@,$ac_builddir,;t t
-s,@buildpath@,$ac_buildpath,;t t
+s,@abs_builddir@,$ac_abs_builddir,;t t
 s,@top_builddir@,$ac_top_builddir,;t t
-s,@top_buildpath@,$ac_top_buildpath,;t t
+s,@abs_top_builddir@,$ac_abs_top_builddir,;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.
index 5455a8e824c666276572f3dfff6d058549b5578b..33ef7b0a18f6201338882678055e4fdbfc0a0f80 100644 (file)
@@ -185,10 +185,10 @@ m4_define([AT_CHECK_AUTOHEADER],
 #                    [EXIT-STATUS = 0],
 #                    [SDOUT = IGNORE], STDERR)
 # --------------------------------------------
-# `top_srcpath' is needed so that `./configure' finds install-sh.
+# `abs_top_srcdir' is needed so that `./configure' finds install-sh.
 # Using --srcdir is more expensive.
 m4_define([AT_CHECK_CONFIGURE],
-[AT_CHECK([top_srcdir=$top_srcpath ./configure $1],
+[AT_CHECK([top_srcdir=$abs_top_srcdir ./configure $1],
           [$2],
           m4_default([$3], [ignore]), [$4],
           [test $at_verbose = echo && echo "$srcdir/AT_LINE: config.log" && cat config.log])])
index 5f5672648a91e176659a74fed09508691cdfb5ea..192c227053592df2f6bdd2b388773164313fdbe7 100644 (file)
@@ -3,4 +3,4 @@
 
 me=`echo "$0" | sed -e 's,.*[\\/],,'`
 
-exec @top_buildpath@/bin/$me --autoconf-dir @top_buildpath@/lib ${1+"$@"}
+exec @abs_top_builddir@/bin/$me --autoconf-dir @abs_top_builddir@/lib ${1+"$@"}
index 46368220587d221c4d85df298bea32dfd874c4a5..665d2621ab033ce048faee484954afe9c926cb12 100644 (file)
@@ -73,12 +73,12 @@ AT_CHECK([/bin/sh ./syntax.sh])
 # Specify the path to the tool, some shells don't honor PATH when
 # running `sh PROG'.
 
-AT_CHECK([/bin/sh -n $top_buildpath/bin/autoconf],   0)
+AT_CHECK([/bin/sh -n $abs_top_builddir/bin/autoconf],   0)
 
 # These are not built, they are in the src tree.
-AT_CHECK([/bin/sh -n $top_srcpath/config/install-sh], 0)
-AT_CHECK([/bin/sh -n $top_srcpath/config/mkinstalldirs], 0)
-AT_CHECK([/bin/sh -n $top_srcpath/config/missing], 0)
+AT_CHECK([/bin/sh -n $abs_top_srcdir/config/install-sh], 0)
+AT_CHECK([/bin/sh -n $abs_top_srcdir/config/mkinstalldirs], 0)
+AT_CHECK([/bin/sh -n $abs_top_srcdir/config/missing], 0)
 
 AT_CLEANUP
 
@@ -96,7 +96,7 @@ AT_SETUP([Syntax of the Perl scripts])
 # | ./autom4te syntax OK
 # Ignore it, it might change between releases.
 m4_define([AT_CHECK_PERL_SYNTAX],
-[AT_CHECK([autom4te_perllibdir=$top_srcpath/lib $PERL -c $top_buildpath/bin/$1],
+[AT_CHECK([autom4te_perllibdir=$abs_top_srcdir/lib $PERL -c $abs_top_builddir/bin/$1],
           0, [], [ignore])])
 
 AT_CHECK_PERL_SYNTAX([autoheader])
index 1e02623bcb60bf5274acb8a367debd8f643506ef..b6387cb836d857901da43c3ea6a22f7def9f21e8 100644 (file)
@@ -9,21 +9,21 @@ me=`echo "$0" | sed -e 's,.*[\\/],,'`
 # 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_srcpath@/lib
+autom4te_perllibdir=@abs_top_srcdir@/lib
 export autom4te_perllibdir
 
 case $me in
   ifnames)
      # Does not have lib files.
-     exec @top_buildpath@/bin/$me ${1+"$@"}
+     exec @abs_top_builddir@/bin/$me ${1+"$@"}
      ;;
   autom4te)
-     AUTOM4TE_CFG=@top_buildpath@/lib/autom4te.cfg
+     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 @top_buildpath@/bin/$me \
-     -I @top_buildpath@/lib \
-     -I @top_srcpath@/lib ${1+"$@"}
+exec @abs_top_builddir@/bin/$me \
+     -I @abs_top_builddir@/lib \
+     -I @abs_top_srcdir@/lib ${1+"$@"}
index 46b61c16dd0c7f68fc0ad67d17f868722c0545ba..3d16579e469cfd9f8cf07e14fcbfa0135f4d0bce 100644 (file)
@@ -3,4 +3,4 @@
 
 me=`echo "$0" | sed -e 's,.*[\\/],,'`
 
-exec @top_buildpath@/bin/$me --include @top_buildpath@/lib ${1+"$@"}
+exec @abs_top_builddir@/bin/$me --include @abs_top_builddir@/lib ${1+"$@"}