Merge branch 'stable'
authorIan Beckwith <ianb@erislabs.net>
Mon, 3 Feb 2014 00:57:26 +0000 (00:57 +0000)
committerIan Beckwith <ianb@erislabs.net>
Mon, 3 Feb 2014 00:57:26 +0000 (00:57 +0000)
17 files changed:
ChangeLog
NEWS.stable
build-aux/config.guess
debian/patches/01-gnulib-directory.patch
debian/patches/02-shebang.patch
doc/gendocs_template
doc/gendocs_template_min
doc/posix-functions/crypt.texi
doc/posix-functions/encrypt.texi
doc/posix-functions/setkey.texi
doc/regex.texi
doc/relocatable-maint.texi
gnulib-tool
m4/acl.m4
m4/gnulib-common.m4
m4/manywarnings.m4
top/maint.mk

index 4335802..7b0846a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,37 @@
+2014-01-22  Paul Eggert  <eggert@cs.ucla.edu>
+
+       qacl: check for fchmod
+       * m4/acl.m4 (gl_FUNC_ACL): Check for fchmod, since acl-internal.h
+       and qset-acl.c both use HAVE_FCHMOD.
+
+2014-01-06  Eric Blake  <eblake@redhat.com>
+
+       include_next: port to autoconf 2.63
+       * m4/gnulib-common.m4 (AS_VAR_COPY): Define if missing.
+
+2014-01-03  Paul Eggert  <eggert@cs.ucla.edu>
+
+       doc: use ASCII in .texi files where UTF-8 isn't needed
+       * doc/posix-functions/crypt.texi, doc/posix-functions/encrypt.texi:
+       * doc/posix-functions/setkey.texi, doc/regex.texi:
+       Use ASCII input, not UTF-8.
+
+2014-01-02  Jim Meyering  <meyering@fb.com>
+
+       manywarnings: remove -Wmudflap
+       * m4/manywarnings.m4 (gl_MANYWARN_ALL_GCC): Remove -Wmudflap, since
+       it is no longer supported in gcc-4.9-to-be.
+
+2014-01-01  Jim Meyering  <meyering@fb.com>
+
+       maint: fix public-submodule-commit to work with newer git
+       * top/maint.mk (public-submodule-commit): Remove excess quoting.
+       We were over-quoting the test arguments, and somewhere prior to
+       version 1.8.5.2.229, git stopped removing those excess quotes,
+       which made the test fail, since the unexpanded strings would
+       always differ; using GIT_TRACE=1 confirmed that the git merge-base
+       command wasn't even being run.
+
 2014-01-01  Paul Eggert  <eggert@cs.ucla.edu>
 
        doc: update main copyright year
index e90e534..238d881 100644 (file)
@@ -1,6 +1,26 @@
                        Gnulib stable snapshot
                        ----------------------
 
+  * 20140202-stable
+
+Snapshot taken based on:
+
+commit a39d4083cab589d7cd6a13e8a4b8db8875261d75
+Date:   Wed Jan 1 05:19:01 2014 -0800
+
+with the following additional commits:
+
+    * [7a0c729]->[d78c62e] maint: fix public-submodule-commit to work with newer git
+    * [cfe23e8]->[79ca097] autoupdate
+    * [5088dc5]->[7e54a06] manywarnings: remove -Wmudflap
+    * [fe3419d]->[cd56634] doc: use ASCII in .texi files where UTF-8 isn't needed
+    * [580240a]->[a2d14e0] include_next: port to autoconf 2.63
+    * [e446f25]->[c092018] relocatable-shell: Update suggested usage in maintainer documentation.
+    * [7514946]->[2d49283] qacl: check for fchmod
+    * [497f4cd]->[8c28db1] autoupdate
+
+----------------------------------------------------------------------
+
   * 20130805-stable
 
 Snapshot taken based on:
index 4438cd7..92fe65f 100755 (executable)
@@ -2,7 +2,7 @@
 # Attempt to guess a canonical system name.
 #   Copyright 1992-2014 Free Software Foundation, Inc.
 
-timestamp='2014-01-01'
+timestamp='2014-01-25'
 
 # This file is free software; you can redistribute it and/or modify it
 # under the terms of the GNU General Public License as published by
@@ -1371,154 +1371,6 @@ EOF
        exit ;;
 esac
 
-eval $set_cc_for_build
-cat >$dummy.c <<EOF
-#ifdef _SEQUENT_
-# include <sys/types.h>
-# include <sys/utsname.h>
-#endif
-main ()
-{
-#if defined (sony)
-#if defined (MIPSEB)
-  /* BFD wants "bsd" instead of "newsos".  Perhaps BFD should be changed,
-     I don't know....  */
-  printf ("mips-sony-bsd\n"); exit (0);
-#else
-#include <sys/param.h>
-  printf ("m68k-sony-newsos%s\n",
-#ifdef NEWSOS4
-       "4"
-#else
-       ""
-#endif
-       ); exit (0);
-#endif
-#endif
-
-#if defined (__arm) && defined (__acorn) && defined (__unix)
-  printf ("arm-acorn-riscix\n"); exit (0);
-#endif
-
-#if defined (hp300) && !defined (hpux)
-  printf ("m68k-hp-bsd\n"); exit (0);
-#endif
-
-#if defined (NeXT)
-#if !defined (__ARCHITECTURE__)
-#define __ARCHITECTURE__ "m68k"
-#endif
-  int version;
-  version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
-  if (version < 4)
-    printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version);
-  else
-    printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version);
-  exit (0);
-#endif
-
-#if defined (MULTIMAX) || defined (n16)
-#if defined (UMAXV)
-  printf ("ns32k-encore-sysv\n"); exit (0);
-#else
-#if defined (CMU)
-  printf ("ns32k-encore-mach\n"); exit (0);
-#else
-  printf ("ns32k-encore-bsd\n"); exit (0);
-#endif
-#endif
-#endif
-
-#if defined (__386BSD__)
-  printf ("i386-pc-bsd\n"); exit (0);
-#endif
-
-#if defined (sequent)
-#if defined (i386)
-  printf ("i386-sequent-dynix\n"); exit (0);
-#endif
-#if defined (ns32000)
-  printf ("ns32k-sequent-dynix\n"); exit (0);
-#endif
-#endif
-
-#if defined (_SEQUENT_)
-    struct utsname un;
-
-    uname(&un);
-
-    if (strncmp(un.version, "V2", 2) == 0) {
-       printf ("i386-sequent-ptx2\n"); exit (0);
-    }
-    if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */
-       printf ("i386-sequent-ptx1\n"); exit (0);
-    }
-    printf ("i386-sequent-ptx\n"); exit (0);
-
-#endif
-
-#if defined (vax)
-# if !defined (ultrix)
-#  include <sys/param.h>
-#  if defined (BSD)
-#   if BSD == 43
-      printf ("vax-dec-bsd4.3\n"); exit (0);
-#   else
-#    if BSD == 199006
-      printf ("vax-dec-bsd4.3reno\n"); exit (0);
-#    else
-      printf ("vax-dec-bsd\n"); exit (0);
-#    endif
-#   endif
-#  else
-    printf ("vax-dec-bsd\n"); exit (0);
-#  endif
-# else
-    printf ("vax-dec-ultrix\n"); exit (0);
-# endif
-#endif
-
-#if defined (alliant) && defined (i860)
-  printf ("i860-alliant-bsd\n"); exit (0);
-#endif
-
-  exit (1);
-}
-EOF
-
-$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` &&
-       { echo "$SYSTEM_NAME"; exit; }
-
-# Apollos put the system type in the environment.
-
-test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; }
-
-# Convex versions that predate uname can use getsysinfo(1)
-
-if [ -x /usr/convex/getsysinfo ]
-then
-    case `getsysinfo -f cpu_type` in
-    c1*)
-       echo c1-convex-bsd
-       exit ;;
-    c2*)
-       if getsysinfo -f scalar_acc
-       then echo c32-convex-bsd
-       else echo c2-convex-bsd
-       fi
-       exit ;;
-    c34*)
-       echo c34-convex-bsd
-       exit ;;
-    c38*)
-       echo c38-convex-bsd
-       exit ;;
-    c4*)
-       echo c4-convex-bsd
-       exit ;;
-    esac
-fi
-
 cat >&2 <<EOF
 $0: unable to guess system type
 
index 9cb8c48..57ebbf7 100644 (file)
@@ -3,8 +3,8 @@ Description: Sets the gnulib directory.
 
 Index: gnulib/gnulib-tool
 ===================================================================
---- gnulib.orig/gnulib-tool    2013-08-11 12:33:21.000000000 +0100
-+++ gnulib/gnulib-tool 2013-08-11 15:05:06.000000000 +0100
+--- gnulib.orig/gnulib-tool    2014-02-03 00:56:56.000000000 +0000
++++ gnulib/gnulib-tool 2014-02-03 00:57:02.000000000 +0000
 @@ -323,12 +323,13 @@
      version=' '`cd "$gnulib_dir" && ./build-aux/git-version-gen /dev/null | sed -e 's/-dirty/-modified/'`
    else
index e997503..0192060 100644 (file)
@@ -3,8 +3,8 @@ Description: Adjusts shebang.
 
 Index: gnulib/lib/uniname/gen-uninames.lisp
 ===================================================================
---- gnulib.orig/lib/uniname/gen-uninames.lisp  2011-06-10 02:20:10.000000000 +0100
-+++ gnulib/lib/uniname/gen-uninames.lisp       2011-06-10 02:20:14.000000000 +0100
+--- gnulib.orig/lib/uniname/gen-uninames.lisp  2014-02-03 00:56:56.000000000 +0000
++++ gnulib/lib/uniname/gen-uninames.lisp       2014-02-03 00:57:09.000000000 +0000
 @@ -1,4 +1,4 @@
 -#!/usr/local/bin/clisp -C
 +#!/usr/bin/clisp -C
index 63fbe53..4836df7 100644 (file)
@@ -75,7 +75,7 @@ the FSF.<br />
 Please send broken links and other corrections or suggestions to
 <a href="mailto:%%EMAIL%%">&lt;%%EMAIL%%&gt;</a>.</p>
 
-<p>Copyright &copy; 2013 Free Software Foundation, Inc.</p>
+<p>Copyright &copy; 2014 Free Software Foundation, Inc.</p>
 
 <p>Verbatim copying and distribution of this entire article are
 permitted worldwide, without royalty, in any medium, provided this
index 4a9c6e3..c320847 100644 (file)
@@ -80,7 +80,7 @@ the FSF.<br />
 Please send broken links and other corrections or suggestions to
 <a href="mailto:%%EMAIL%%">&lt;%%EMAIL%%&gt;</a>.</p>
 
-<p>Copyright &copy; 2013 Free Software Foundation, Inc.</p>
+<p>Copyright &copy; 2014 Free Software Foundation, Inc.</p>
 
 <p>Verbatim copying and distribution of this entire article are
 permitted worldwide, without royalty, in any medium, provided this
index 658b449..57e1cef 100644 (file)
@@ -18,5 +18,5 @@ FreeBSD 6.0, NetBSD 5.0, Cygwin, mingw, MSVC 9.
 @item
 This function is not declared in @code{<unistd.h>}
 (without @code{-D_GNU_SOURCE}) on some platforms:
-glibc (at least 2.112.13).
+glibc (at least 2.11--2.13).
 @end itemize
index 25a9d15..217c2f1 100644 (file)
@@ -18,5 +18,5 @@ NetBSD 5.0, Minix 3.1.8, Cygwin, mingw, MSVC 9, BeOS.
 @item
 This function is not declared in @code{<unistd.h>}
 (without @code{-D_GNU_SOURCE}) on some platforms:
-glibc (at least 2.112.13).
+glibc (at least 2.11--2.13).
 @end itemize
index 6510908..5c78567 100644 (file)
@@ -18,5 +18,5 @@ NetBSD 5.0, Minix 3.1.8, Cygwin, mingw, MSVC 9, BeOS.
 @item
 This function is not declared in @code{<stdlib.h>}
 (without @code{-D_GNU_SOURCE}) on some platforms:
-glibc (at least 2.112.13).
+glibc (at least 2.11--2.13).
 @end itemize
index 6654a07..9810092 100644 (file)
@@ -1768,7 +1768,7 @@ compile the fastmap yourself or have @code{re_search} do it for you;
 when @code{fastmap} is nonzero, it automatically compiles a fastmap the
 first time you search using a particular compiled pattern.
 
-By setting the buffers @code{fastmap} field before calling
+By setting the buffer's @code{fastmap} field before calling
 @code{re_compile_pattern}, you can reuse a buffer data structure across
 multiple searches with different patterns, and allocate the fastmap only
 once.  Nonetheless, the fastmap must be recompiled each time the buffer
index 8780b84..f972b2f 100644 (file)
@@ -122,17 +122,26 @@ if test "@@RELOCATABLE@@" = yes; then
   orig_installdir="$bindir" # see Makefile.am's *_SCRIPTS variables
   func_find_curr_installdir # determine curr_installdir
   func_find_prefixes
-  # Relocate the directory variables that we use.
-  gettext_dir=`
-    echo "$gettext_dir/" \
+  relocate () @{
+    echo "$1/" \
     | sed -e "s%^$@{orig_installprefix@}/%$@{curr_installprefix@}/%" \
-    | sed -e 's,/$,,'`
+    | sed -e 's,/$,,'
+  @}
+else
+  relocate () @{
+    echo "$1"
+  @}
 fi
+
+# Get some relocated directory names.
+sysconfdir=`relocate "@@sysconfdir@@"`
+some_datadir=`relocate "@@datadir@@/something"`
 @end example
 
 You must adapt the definition of @code{orig_installdir}, depending on
 where the script gets installed.  Also, at the end, instead of
-@code{gettext_dir}, transform those variables that you need.
+@code{sysconfdir} and @code{some_datadir}, transform those variables
+that you need.
 
 @item
 In your @file{Makefile.am}, for every program @command{foo} that gets
index 13aac1a..84be8a7 100755 (executable)
@@ -1,6 +1,6 @@
 #! /bin/sh
 #
-# Copyright (C) 2002-2014 Free Software Foundation, Inc.
+# Copyright (C) 2002-2013 Free Software Foundation, Inc.
 #
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -899,9 +899,6 @@ if test "X$1" = "X--no-reexec"; then
   shift
 fi
 
-# Unset CDPATH.  Otherwise, output from 'cd dir' can surprise callers.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
 # Command-line option processing.
 # Removes the OPTIONS from the arguments. Sets the variables:
 # - mode            one of: list, find, import, add-import, remove-import,
index df8290e..f02f69d 100644 (file)
--- a/m4/acl.m4
+++ b/m4/acl.m4
@@ -1,5 +1,5 @@
 # acl.m4 - check for access control list (ACL) primitives
-# serial 16
+# serial 17
 
 # Copyright (C) 2002, 2004-2014 Free Software Foundation, Inc.
 # This file is free software; the Free Software Foundation
@@ -14,6 +14,7 @@ AC_DEFUN([gl_FUNC_ACL],
     AS_HELP_STRING([--disable-acl], [do not support ACLs]),
     , [enable_acl=auto])
 
+  AC_CHECK_FUNCS_ONCE([fchmod])
   LIB_ACL=
   use_acl=0
   if test "x$enable_acl" != "xno"; then
index ae31e80..3b61b23 100644 (file)
@@ -1,4 +1,4 @@
-# gnulib-common.m4 serial 33
+# gnulib-common.m4 serial 34
 dnl Copyright (C) 2007-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -375,3 +375,7 @@ AC_DEFUN([gl_CACHE_VAL_SILENT],
   AC_CACHE_VAL([$1], [$2])
   as_echo_n="$saved_as_echo_n"
 ])
+
+# AS_VAR_COPY was added in autoconf 2.63b
+m4_define_default([AS_VAR_COPY],
+[AS_LITERAL_IF([$1[]$2], [$1=$$2], [eval $1=\$$2])])
index 8339d40..e1cee6c 100644 (file)
@@ -146,7 +146,6 @@ AC_DEFUN([gl_MANYWARN_ALL_GCC],
     -Wmissing-include-dirs \
     -Wmissing-parameter-type \
     -Wmissing-prototypes \
-    -Wmudflap \
     -Wmultichar \
     -Wnarrowing \
     -Wnested-externs \
index 7420af5..cae2dda 100644 (file)
@@ -1395,8 +1395,8 @@ public-submodule-commit:
                && git --version >/dev/null 2>&1; then                  \
          cd $(srcdir) &&                                               \
          git submodule --quiet foreach                                 \
-             test '"$$(git rev-parse "$$sha1")"'                       \
-             = '"$$(git merge-base origin "$$sha1")"'                  \
+             'test "$$(git rev-parse "$$sha1")"                        \
+                 = "$$(git merge-base origin "$$sha1")"'               \
            || { echo '$(ME): found non-public submodule commit' >&2;   \
                 exit 1; };                                             \
        else                                                            \