From b9be191da0fc3a0b7c18deaab07d8642391159eb Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 4 Jul 2003 23:15:25 +0000 Subject: [PATCH] Suggest Autoconf 2.57, Automake 1.7.5, Bison 1.875, gettext 0.12.1. --- README-alpha | 226 ++------------------------------------------------- 1 file changed, 7 insertions(+), 219 deletions(-) diff --git a/README-alpha b/README-alpha index 3c45c19..4dd91bf 100644 --- a/README-alpha +++ b/README-alpha @@ -2,7 +2,7 @@ This is a test release of GNU tar. Please send comments and problem reports to . - Copyright 2001 Free Software Foundation, Inc. + Copyright (C) 2001, 2003 Free Software Foundation, Inc. This file is part of GNU tar. @@ -21,222 +21,10 @@ Please send comments and problem reports to . the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -This release was built with GNU automake 1.5 patched as follows: +This release was built with the following tools. You probably need +these tools (or later) if you want to hack seriously on it. -2001-09-24 Paul Eggert - - * m4/header.m4 (_AM_Config_Header_Index): Remove. - (AM_CONFIG_HEADER): Don't use it. It wasn't working, and was - causing needless rebuilds. - -2001-09-14 Paul Eggert - - * lib/am/distdir.am (REMOVE_DISTDIR): - New macro. Do not change permission of non-directories. - (distdir, dist, dist-bzip2, dist-tarZ, dist-shar, dist-zip, dist-all, - distcheck): Use it. - -=================================================================== -RCS file: lib/am/distdir.am,v -retrieving revision 1.5 -retrieving revision 1.5.0.1 -diff -pu -r1.5 -r1.5.0.1 ---- lib/am/distdir.am 2001/07/14 20:12:52 1.5 -+++ lib/am/distdir.am 2001/09/15 05:12:18 1.5.0.1 -@@ -29,6 +29,11 @@ else !%?TOPDIR_P% - ?DISTDIR?distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) - endif !%?TOPDIR_P% - -+REMOVE_DISTDIR = \ -+ { test ! -d $(distdir) \ -+ || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ -+ && rm -fr $(distdir); }; } -+ - distdir: $(DISTFILES) - ## - ## For Gnits users, this is pretty handy. Look at 15 lines -@@ -47,7 +52,7 @@ endif %?TOPDIR_P% - ## Only for the top dir. - ## - if %?TOPDIR_P% -- -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir) -+ $(REMOVE_DISTDIR) - mkdir $(distdir) - endif %?TOPDIR_P% - ## -@@ -168,13 +173,13 @@ GZIP_ENV = --best - .PHONY: dist - dist: distdir - $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz -- -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir) -+ $(REMOVE_DISTDIR) - - if %?BZIP2% - .PHONY: dist-bzip2 - dist-bzip2: distdir - $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2 -- -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir) -+ $(REMOVE_DISTDIR) - endif %?BZIP2% - - -@@ -182,7 +187,7 @@ if %?COMPRESS% - .PHONY: dist-tarZ - dist-tarZ: distdir - $(AMTAR) chof - $(distdir) | compress -c >$(distdir).tar.Z -- -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir) -+ $(REMOVE_DISTDIR) - endif %?COMPRESS% - - -@@ -190,7 +195,7 @@ if %?SHAR% - .PHONY: dist-shar - dist-shar: distdir - shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz -- -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir) -+ $(REMOVE_DISTDIR) - endif %?SHAR% - - -@@ -199,7 +204,7 @@ if %?ZIP% - dist-zip: distdir - -rm -f $(distdir).zip - zip -rq $(distdir).zip $(distdir) -- -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir) -+ $(REMOVE_DISTDIR) - endif %?ZIP% - - endif %?TOPDIR_P% -@@ -223,7 +228,7 @@ dist-all: distdir - ?SHAR? shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz - ?ZIP? -rm -f $(distdir).zip - ?ZIP? zip -rq $(distdir).zip $(distdir) -- -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir) -+ $(REMOVE_DISTDIR) - - endif %?TOPDIR_P% - -@@ -239,8 +244,7 @@ if %?TOPDIR_P% - # tarfile. - .PHONY: distcheck - distcheck: dist --## Make sure we can remove distdir before trying to remove it. -- -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir) -+ $(REMOVE_DISTDIR) - GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - - ## Make the new source tree read-only. Distributions ought to work in - ## this case. However, make the top-level directory writable so we -@@ -273,7 +277,7 @@ distcheck: dist - && (test `find . -type f -print | wc -l` -eq 0 \ - || (echo "Error: files left after distclean" 1>&2; \ - exit 1) ) -- -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir) -+ $(REMOVE_DISTDIR) - @echo "$(distdir).tar.gz is ready for distribution" | \ - sed 'h;s/./=/g;p;x;p;x' - endif %?TOPDIR_P% -=================================================================== -RCS file: m4/header.m4,v -retrieving revision 1.5 -retrieving revision 1.5.0.1 -diff -pu -r1.5 -r1.5.0.1 ---- m4/header.m4 2001/07/21 05:27:26 1.5 -+++ m4/header.m4 2001/09/24 18:29:30 1.5.0.1 -@@ -11,18 +11,16 @@ AC_PREREQ([2.12]) - - AC_DEFUN([AM_CONFIG_HEADER], - [ifdef([AC_FOREACH],dnl -- [dnl init our file count if it isn't already -- m4_ifndef([_AM_Config_Header_Index], m4_define([_AM_Config_Header_Index], [0])) -+ [ - dnl prepare to store our destination file list for use in config.status - AC_FOREACH([_AM_File], [$1], - [m4_pushdef([_AM_Dest], m4_patsubst(_AM_File, [:.*])) -- m4_define([_AM_Config_Header_Index], m4_incr(_AM_Config_Header_Index)) - dnl and add it to the list of files AC keeps track of, along - dnl with our hook - AC_CONFIG_HEADERS(_AM_File, - dnl COMMANDS, [, INIT-CMDS] - [# update the timestamp --echo timestamp >"AS_ESCAPE(_AM_DIRNAME(]_AM_Dest[))/stamp-h]_AM_Config_Header_Index[" -+echo timestamp >"AS_ESCAPE(_AM_DIRNAME(]_AM_Dest[))/stamp-h" - ][$2]m4_ifval([$3], [, [$3]]))dnl AC_CONFIG_HEADERS - m4_popdef([_AM_Dest])])],dnl - [AC_CONFIG_HEADER([$1]) - - - -and with GNU autoconf 2.52 patched as follows: - -2001-09-15 Paul Eggert - - Fix bug reported by Paul Townsend on AIX 4.3.3.0 with - CFLAGS=-O4 or CFLAGS=-O5. In that case, the linker has a - relaxed view of fatal errors, and AC_CHECK_LIB causes it to - include libraries even when they don't exist. - - * acheaders.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS, not - AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't - need it. - - * acspecific.m4 (AC_ISC_POSIX): Replace the old, crufty - version with the version used by fileutils 4.1, except use - AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use - -lcposix if we don't need it. - -=================================================================== -RCS file: acheaders.m4,v -retrieving revision 2.52 -retrieving revision 2.52.0.1 -diff -pu -r2.52 -r2.52.0.1 ---- acheaders.m4 2001/07/03 14:19:09 2.52 -+++ acheaders.m4 2001/09/16 02:53:51 2.52.0.1 -@@ -158,9 +158,9 @@ ac_header_dirent=$ac_hdr; break]) - done - # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. - if test $ac_header_dirent = dirent.h; then -- AC_CHECK_LIB(dir, opendir, LIBS="$LIBS -ldir") -+ AC_SEARCH_LIBS(opendir, dir) - else -- AC_CHECK_LIB(x, opendir, LIBS="$LIBS -lx") -+ AC_SEARCH_LIBS(opendir, x) - fi - ])# AC_HEADER_DIRENT - -=================================================================== -RCS file: acspecific.m4,v -retrieving revision 2.52 -retrieving revision 2.52.0.1 -diff -pu -r2.52 -r2.52.0.1 ---- acspecific.m4 2001/06/15 17:46:01 2.52 -+++ acspecific.m4 2001/09/16 02:53:51 2.52.0.1 -@@ -993,28 +993,7 @@ fi - # AC_ISC_POSIX - # ------------ - AC_DEFUN([AC_ISC_POSIX], --[AC_REQUIRE([AC_PROG_CC])dnl --AC_BEFORE([$0], [AC_COMPILE_IFELSE])dnl --AC_BEFORE([$0], [AC_RUN_IFELSE])dnl --AC_MSG_CHECKING([for POSIXized ISC]) --if test -d /etc/conf/kconfig.d && -- grep _POSIX_VERSION [/usr/include/sys/unistd.h] >/dev/null 2>&1 --then -- AC_MSG_RESULT([yes]) -- ISC=yes # If later tests want to check for ISC. -- AC_DEFINE(_POSIX_SOURCE, 1, -- [Define if you need to in order for stat and other things to -- work.]) -- if test "$GCC" = yes; then -- CC="$CC -posix" -- else -- CC="$CC -Xp" -- fi --else -- AC_MSG_RESULT([no]) -- ISC= --fi --])# AC_ISC_POSIX -+[AC_SEARCH_LIBS(strerror, cposix)]) - - - # AC_XENIX_DIR +autoconf 2.57 +automake 1.7.5 +bison 1.875 +gettext 0.12.1 -- 2.44.0