aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2014-01-10 23:01:30 -0800
committerPaul Eggert2014-01-10 23:01:30 -0800
commitbada50fc50d34e0e2ffd00fd64957cfb397c6eee (patch)
treed93a451eed031c36f12254dbadd787bbee903e49
parent6b81c31d81137170c6883a59d37478cda3b09432 (diff)
downloademacs-bada50fc50d34e0e2ffd00fd64957cfb397c6eee.tar.gz
emacs-bada50fc50d34e0e2ffd00fd64957cfb397c6eee.zip
Merge from gnulib.
This incorporates: 2014-01-07 update from texinfo 2014-01-06 md5, sha1, sha256, sha512: support older autoconf
-rw-r--r--ChangeLog6
-rw-r--r--doc/misc/texinfo.tex74
-rw-r--r--m4/00gnulib.m420
-rw-r--r--m4/gnulib-common.m46
4 files changed, 62 insertions, 44 deletions
diff --git a/ChangeLog b/ChangeLog
index 021f0e05473..6cf2f87391f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
12014-01-11 Paul Eggert <eggert@cs.ucla.edu>
2
3 Merge from gnulib, incorporating:
4 2014-01-07 update from texinfo
5 2014-01-06 md5, sha1, sha256, sha512: support older autoconf
6
12014-01-09 Eric S. Raymond <esr@thyrsus.com> 72014-01-09 Eric S. Raymond <esr@thyrsus.com>
2 8
3 * INSTALL, configure.ac, etc/CONTRIBUTE, nt/INSTALL: Remove 9 * INSTALL, configure.ac, etc/CONTRIBUTE, nt/INSTALL: Remove
diff --git a/doc/misc/texinfo.tex b/doc/misc/texinfo.tex
index bfd765dd211..d92fb8a55e0 100644
--- a/doc/misc/texinfo.tex
+++ b/doc/misc/texinfo.tex
@@ -3,7 +3,7 @@
3% Load plain if necessary, i.e., if running under initex. 3% Load plain if necessary, i.e., if running under initex.
4\expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi 4\expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi
5% 5%
6\def\texinfoversion{2013-09-11.11} 6\def\texinfoversion{2014-01-06.16}
7% 7%
8% Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995, 8% Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995,
9% 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 9% 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
@@ -1138,10 +1138,12 @@ output) for that.)}
1138 1138
1139\ifpdf 1139\ifpdf
1140 % 1140 %
1141 % Color manipulation macros based on pdfcolor.tex, 1141 % Color manipulation macros using ideas from pdfcolor.tex,
1142 % except using rgb instead of cmyk; the latter is said to render as a 1142 % except using rgb instead of cmyk; the latter is said to render as a
1143 % very dark gray on-screen and a very dark halftone in print, instead 1143 % very dark gray on-screen and a very dark halftone in print, instead
1144 % of actual black. 1144 % of actual black. The dark red here is dark enough to print on paper as
1145 % nearly black, but still distinguishable for online viewing. We use
1146 % black by default, though.
1145 \def\rgbDarkRed{0.50 0.09 0.12} 1147 \def\rgbDarkRed{0.50 0.09 0.12}
1146 \def\rgbBlack{0 0 0} 1148 \def\rgbBlack{0 0 0}
1147 % 1149 %
@@ -1251,10 +1253,9 @@ output) for that.)}
1251 % used to mark target names; must be expandable. 1253 % used to mark target names; must be expandable.
1252 \def\pdfmkpgn#1{#1} 1254 \def\pdfmkpgn#1{#1}
1253 % 1255 %
1254 % by default, use a color that is dark enough to print on paper as 1256 % by default, use black for everything.
1255 % nearly black, but still distinguishable for online viewing. 1257 \def\urlcolor{\rgbBlack}
1256 \def\urlcolor{\rgbDarkRed} 1258 \def\linkcolor{\rgbBlack}
1257 \def\linkcolor{\rgbDarkRed}
1258 \def\endlink{\setcolor{\maincolor}\pdfendlink} 1259 \def\endlink{\setcolor{\maincolor}\pdfendlink}
1259 % 1260 %
1260 % Adding outlines to PDF; macros for calculating structure of outlines 1261 % Adding outlines to PDF; macros for calculating structure of outlines
@@ -2574,37 +2575,21 @@ end
2574\let\file=\code 2575\let\file=\code
2575\let\option=\code 2576\let\option=\code
2576 2577
2577% @uref (abbreviation for `urlref') takes an optional (comma-separated) 2578% @uref (abbreviation for `urlref') aka @url takes an optional
2578% second argument specifying the text to display and an optional third 2579% (comma-separated) second argument specifying the text to display and
2579% arg as text to display instead of (rather than in addition to) the url 2580% an optional third arg as text to display instead of (rather than in
2580% itself. First (mandatory) arg is the url. 2581% addition to) the url itself. First (mandatory) arg is the url.
2581% (This \urefnobreak definition isn't used now, leaving it for a while 2582
2582% for comparison.) 2583% TeX-only option to allow changing PDF output to show only the second
2583\def\urefnobreak#1{\dourefnobreak #1,,,\finish} 2584% arg (if given), and not the url (which is then just the link target).
2584\def\dourefnobreak#1,#2,#3,#4\finish{\begingroup 2585\newif\ifurefurlonlylink
2585 \unsepspaces
2586 \pdfurl{#1}%
2587 \setbox0 = \hbox{\ignorespaces #3}%
2588 \ifdim\wd0 > 0pt
2589 \unhbox0 % third arg given, show only that
2590 \else
2591 \setbox0 = \hbox{\ignorespaces #2}%
2592 \ifdim\wd0 > 0pt
2593 \ifpdf
2594 \unhbox0 % PDF: 2nd arg given, show only it
2595 \else
2596 \unhbox0\ (\code{#1})% DVI: 2nd arg given, show both it and url
2597 \fi
2598 \else
2599 \code{#1}% only url given, so show it
2600 \fi
2601 \fi
2602 \endlink
2603\endgroup}
2604 2586
2605% This \urefbreak definition is the active one. 2587% The main macro is \urefbreak, which allows breaking at expected
2588% places within the url. (There used to be another version, which
2589% didn't support automatic breaking.)
2606\def\urefbreak{\begingroup \urefcatcodes \dourefbreak} 2590\def\urefbreak{\begingroup \urefcatcodes \dourefbreak}
2607\let\uref=\urefbreak 2591\let\uref=\urefbreak
2592%
2608\def\dourefbreak#1{\urefbreakfinish #1,,,\finish} 2593\def\dourefbreak#1{\urefbreakfinish #1,,,\finish}
2609\def\urefbreakfinish#1,#2,#3,#4\finish{% doesn't work in @example 2594\def\urefbreakfinish#1,#2,#3,#4\finish{% doesn't work in @example
2610 \unsepspaces 2595 \unsepspaces
@@ -2613,12 +2598,19 @@ end
2613 \ifdim\wd0 > 0pt 2598 \ifdim\wd0 > 0pt
2614 \unhbox0 % third arg given, show only that 2599 \unhbox0 % third arg given, show only that
2615 \else 2600 \else
2616 \setbox0 = \hbox{\ignorespaces #2}% 2601 \setbox0 = \hbox{\ignorespaces #2}% look for second arg
2617 \ifdim\wd0 > 0pt 2602 \ifdim\wd0 > 0pt
2618 \ifpdf 2603 \ifpdf
2619 \unhbox0 % PDF: 2nd arg given, show only it 2604 \ifurefurlonlylink
2605 % PDF plus option to not display url, show just arg
2606 \unhbox0
2607 \else
2608 % PDF, normally display both arg and url for consistency,
2609 % visibility, if the pdf is eventually used to print, etc.
2610 \unhbox0\ (\urefcode{#1})%
2611 \fi
2620 \else 2612 \else
2621 \unhbox0\ (\urefcode{#1})% DVI: 2nd arg given, show both it and url 2613 \unhbox0\ (\urefcode{#1})% DVI, always show arg and url
2622 \fi 2614 \fi
2623 \else 2615 \else
2624 \urefcode{#1}% only url given, so show it 2616 \urefcode{#1}% only url given, so show it
@@ -3691,7 +3683,7 @@ end
3691 \parskip=\smallskipamount 3683 \parskip=\smallskipamount
3692 \ifdim\parskip=0pt \parskip=2pt \fi 3684 \ifdim\parskip=0pt \parskip=2pt \fi
3693 % 3685 %
3694 % Try typesetting the item mark that if the document erroneously says 3686 % Try typesetting the item mark so that if the document erroneously says
3695 % something like @itemize @samp (intending @table), there's an error 3687 % something like @itemize @samp (intending @table), there's an error
3696 % right away at the @itemize. It's not the best error message in the 3688 % right away at the @itemize. It's not the best error message in the
3697 % world, but it's better than leaving it to the @item. This means if 3689 % world, but it's better than leaving it to the @item. This means if
@@ -8342,8 +8334,8 @@ end
8342% 8334%
8343% Auto-number footnotes. Otherwise like plain. 8335% Auto-number footnotes. Otherwise like plain.
8344\gdef\footnote{% 8336\gdef\footnote{%
8345 \let\indent=\ptexindent 8337 %\let\indent=\ptexindent
8346 \let\noindent=\ptexnoindent 8338 %\let\noindent=\ptexnoindent
8347 \global\advance\footnoteno by \@ne 8339 \global\advance\footnoteno by \@ne
8348 \edef\thisfootno{$^{\the\footnoteno}$}% 8340 \edef\thisfootno{$^{\the\footnoteno}$}%
8349 % 8341 %
diff --git a/m4/00gnulib.m4 b/m4/00gnulib.m4
index b494772e9ee..8eca5518ad6 100644
--- a/m4/00gnulib.m4
+++ b/m4/00gnulib.m4
@@ -1,4 +1,4 @@
1# 00gnulib.m4 serial 2 1# 00gnulib.m4 serial 3
2dnl Copyright (C) 2009-2014 Free Software Foundation, Inc. 2dnl Copyright (C) 2009-2014 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 3dnl This file is free software; the Free Software Foundation
4dnl gives unlimited permission to copy and/or distribute it, 4dnl gives unlimited permission to copy and/or distribute it,
@@ -6,7 +6,23 @@ dnl with or without modifications, as long as this notice is preserved.
6 6
7dnl This file must be named something that sorts before all other 7dnl This file must be named something that sorts before all other
8dnl gnulib-provided .m4 files. It is needed until such time as we can 8dnl gnulib-provided .m4 files. It is needed until such time as we can
9dnl assume Autoconf 2.64, with its improved AC_DEFUN_ONCE semantics. 9dnl assume Autoconf 2.64, with its improved AC_DEFUN_ONCE and
10dnl m4_divert semantics.
11
12# Until autoconf 2.63, handling of the diversion stack required m4_init
13# to be called first; but this does not happen with aclocal. Wrapping
14# the entire execution in another layer of the diversion stack fixes this.
15# Worse, prior to autoconf 2.62, m4_wrap depended on the underlying m4
16# for whether it was FIFO or LIFO; in order to properly balance with
17# m4_init, we need to undo our push just before anything wrapped within
18# the m4_init body. The way to ensure this is to wrap both sides of
19# m4_init with a one-shot macro that does the pop at the right time.
20m4_ifndef([_m4_divert_diversion],
21[m4_divert_push([KILL])
22m4_define([gl_divert_fixup], [m4_divert_pop()m4_define([$0])])
23m4_define([m4_init],
24 [gl_divert_fixup()]m4_defn([m4_init])[gl_divert_fixup()])])
25
10 26
11# AC_DEFUN_ONCE([NAME], VALUE) 27# AC_DEFUN_ONCE([NAME], VALUE)
12# ---------------------------- 28# ----------------------------
diff --git a/m4/gnulib-common.m4 b/m4/gnulib-common.m4
index ae31e80d3bf..3b61b239beb 100644
--- a/m4/gnulib-common.m4
+++ b/m4/gnulib-common.m4
@@ -1,4 +1,4 @@
1# gnulib-common.m4 serial 33 1# gnulib-common.m4 serial 34
2dnl Copyright (C) 2007-2014 Free Software Foundation, Inc. 2dnl Copyright (C) 2007-2014 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 3dnl This file is free software; the Free Software Foundation
4dnl gives unlimited permission to copy and/or distribute it, 4dnl gives unlimited permission to copy and/or distribute it,
@@ -375,3 +375,7 @@ AC_DEFUN([gl_CACHE_VAL_SILENT],
375 AC_CACHE_VAL([$1], [$2]) 375 AC_CACHE_VAL([$1], [$2])
376 as_echo_n="$saved_as_echo_n" 376 as_echo_n="$saved_as_echo_n"
377]) 377])
378
379# AS_VAR_COPY was added in autoconf 2.63b
380m4_define_default([AS_VAR_COPY],
381[AS_LITERAL_IF([$1[]$2], [$1=$$2], [eval $1=\$$2])])