autoconf-patches
[Top][All Lists]
Advanced

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

sync from Automake, Config, Gnulib, Texinfo


From: Paul Eggert
Subject: sync from Automake, Config, Gnulib, Texinfo
Date: Sat, 14 Oct 2006 17:59:25 -0700
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

I installed this into Autoconf:

2006-10-14  Paul Eggert  <address@hidden>

        (Imported from Automake.)
        * build-aux/install-sh (posix_mkdir): Reject FreeBSD 6.1 mkdir -p -m,
        which incorrectly sets the mode of an existing destination
        directory.  In some cases the unpatched install-sh could do the
        equivalent of "chmod 777 /" or "chmod 0 /" on a buggy FreeBSD
        system.  We hope this is rare in practice, but it's clearly worth
        fixing.  Problem reported by Alex Unleashed in
        <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00012.html>.
        Also, don't bother to check for -m bugs unless we're using -m;
        suggested by Stepan Kasal.

2006-10-14  Paul Eggert  <address@hidden>

        Import this change from Automake:

        2006-08-23  Alexandre Duret-Lutz  <address@hidden>
        * lib/Autom4te/ChannelDefs.pm (usage): Mention that -Wportability
        is enabled by default with gnu and gnits strictness.
        Report from Bruno Haible.

        2006-03-10  Alexandre Duret-Lutz  <address@hidden>
        * lib/Autom4te/ChannelDefs.pm: Make -Wportability the default in
        gnu and gnits modes.

        Import this change from Config:

        2006-09-20  Ben Elliston  <address@hidden>
        * build-aux/config.sub (score, score-*): New.

        Import this change from Gnulib:

        2006-09-16  Karl Berry  <address@hidden>
        * doc/fdl.texi (ADDENDUM): switch to @heading from @appendixsubsec,
        to avoid sectioning errors.

        Import these changes from Texinfo:

        2006-10-04  Karl Berry  <address@hidden>
        * build-aux/texinfo.tex (\singlequotechar): rename to \codequoteright.
        (\quoteexpand): rename to \rquoteexpand.
        (\codequoteleft): new def, to look for @set codequotebacktick.
        (\lquoteexpand, \quoteexpand): new defs.
        (\lquoteChar, \rquoteChar, \dashChar, \underChar: new \chardef's.
        (\code): must use new \...Char values, since now ` is active.

        2006-08-26  Karl Berry  <address@hidden>
        * build-aux/texinfo.tex (\textdegree): New command.

        2006-08-12  Karl Berry  <address@hidden>
        * build-aux/texinfo.tex (error \box0): smaller font.

Index: build-aux/install-sh
===================================================================
RCS file: /cvsroot/autoconf/autoconf/build-aux/install-sh,v
retrieving revision 1.1
diff -u -r1.1 install-sh
--- build-aux/install-sh        24 Aug 2006 22:56:47 -0000      1.1
+++ build-aux/install-sh        15 Oct 2006 00:57:43 -0000
@@ -1,7 +1,7 @@
 #!/bin/sh
 # install - install a program, script, or datafile

-scriptversion=2006-05-11.20
+scriptversion=2006-10-14.15

 # This originates from X11R5 (mit/util/scripts/install.sh), which was
 # later released in X11R6 (xc/config/util/install.sh) with the
@@ -336,12 +336,26 @@
            trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0

            if (umask $mkdir_umask &&
-               exec $mkdirprog $mkdir_mode -p -- / "$tmpdir/d") >/dev/null 2>&1
+               exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
            then
-             # Check for bugs in HP-UX 11.23 and IRIX 6.5 mkdir.
-             case `ls -ld "$tmpdir"` in
-               d????-??-* ) posix_mkdir=:;;
-             esac
+             if test -z "$dir_arg" || {
+                  # Check for POSIX incompatibilities with -m.
+                  # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
+                  # other-writeable bit of parent directory when it shouldn't.
+                  # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
+                  ls_ld_tmpdir=`ls -ld "$tmpdir"`
+                  case $ls_ld_tmpdir in
+                    d????-?r-*) different_mode=700;;
+                    d????-?--*) different_mode=755;;
+                    *) false;;
+                  esac &&
+                  $mkdirprog -m$different_mode -p -- "$tmpdir" && {
+                    ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
+                    test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
+                  }
+                }
+             then posix_mkdir=:
+             fi
              rmdir "$tmpdir/d" "$tmpdir"
            else
              # Remove any dirs left behind by ancient mkdir implementations.
Index: build-aux/config.sub
===================================================================
RCS file: /cvsroot/autoconf/autoconf/build-aux/config.sub,v
retrieving revision 1.1
diff -u -r1.1 config.sub
--- build-aux/config.sub        24 Aug 2006 22:56:47 -0000      1.1
+++ build-aux/config.sub        15 Oct 2006 00:57:43 -0000
@@ -4,7 +4,7 @@
 #   2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
 #   Inc.

-timestamp='2006-08-14'
+timestamp='2006-09-20'

 # This file is (in principle) common to ALL GNU software.
 # The presence of a machine in this file suggests that SOME GNU software
@@ -276,6 +276,7 @@
        | pdp10 | pdp11 | pj | pjl \
        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
        | pyramid \
+       | score \
        | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | 
sh[1234]le | sh3ele \
        | sh64 | sh64le \
        | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | 
sparclite \
@@ -1370,6 +1371,9 @@
 # system, and we'll never get to this point.

 case $basic_machine in
+        score-*)
+               os=-elf
+               ;;
         spu-*)
                os=-elf
                ;;
Index: build-aux/texinfo.tex
===================================================================
RCS file: /cvsroot/autoconf/autoconf/build-aux/texinfo.tex,v
retrieving revision 1.1
diff -u -r1.1 texinfo.tex
--- build-aux/texinfo.tex       24 Aug 2006 22:56:47 -0000      1.1
+++ build-aux/texinfo.tex       15 Oct 2006 00:57:44 -0000
@@ -3,7 +3,7 @@
 % Load plain if necessary, i.e., if running under initex.
 \expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi
 %
-\def\texinfoversion{2006-07-17.16}
+\def\texinfoversion{2006-10-04.17}
 %
 % Copyright (C) 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995,
 % 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free
@@ -157,6 +157,18 @@
 \chardef\spacecat = 10
 \def\spaceisspace{\catcode`\ =\spacecat}

+% sometimes characters are active, so we need control sequences.
+\chardef\colonChar = `\:
+\chardef\commaChar = `\,
+\chardef\dashChar  = `\-
+\chardef\dotChar   = `\.
+\chardef\exclamChar= `\!
+\chardef\lquoteChar= `\`
+\chardef\questChar = `\?
+\chardef\rquoteChar= `\'
+\chardef\semiChar  = `\;
+\chardef\underChar = `\_
+
 % Ignore a token.
 %
 \def\gobble#1{}
@@ -1976,13 +1988,6 @@
 % Can't use plain's \frenchspacing because it uses the `\x notation, and
 % sometimes \x has an active definition that messes things up.
 %
-\chardef\colonChar = `\:
-\chardef\commaChar = `\,
-\chardef\dotChar   = `\.
-\chardef\exclamChar= `\!
-\chardef\questChar = `\?
-\chardef\semiChar  = `\;
-%
 address@hidden
   \def\plainfrenchspacing{%
     \sfcode\dotChar  address@hidden address@hidden address@hidden
@@ -2051,11 +2056,14 @@
 % and arrange explicitly to hyphenate at a dash.
 %  -- rms.
 {
-  \catcode`\-=\active \catcode`\_=\active \catcode`\'=\active
+  \catcode`\-=\active \catcode`\_=\active
+  \catcode`\'=\active \catcode`\`=\active
   %
   \global\def\code{\begingroup
-    \catcode`\-=\active  \catcode`\_=\active \catcode`\'=\active
-    \let'\singlequotechar
+    \catcode\rquoteChar=\active \catcode\lquoteChar=\active
+    \let'\codequoteright \let`\codequoteleft
+    %
+    \catcode\dashChar=\active  \catcode\underChar=\active
     \ifallowcodebreaks
      \let-\codedash
      \let_\codeunder
@@ -2301,6 +2309,10 @@
     }$%
 }

+% @textdegree - the normal degrees sign.
+%
+\def\textdegree{$^\circ$}
+
 % Laurent Siebenmann reports \Orb undefined with:
 %  Textures 1.7.7 (preloaded format=plain 93.10.14)  (68K)  16 APR 2004 02:38
 % so we'll define it if necessary.
@@ -3524,6 +3536,7 @@
   \definedummyword\point
   \definedummyword\print
   \definedummyword\result
+  \definedummyword\textdegree
   %
   % We want to disable all macros so that they are not expanded by \write.
   \macrolist
@@ -3657,6 +3670,7 @@
   \def\point{.}%
   \def\print{-|}%
   \def\result{=>}%
+  \def\textdegree{degrees}%
   %
   % We need to get rid of all macros, leaving only the arguments (if present).
   % Of course this is not nearly correct, but it is the best we can do for now.
@@ -5404,7 +5418,7 @@
 % evince), the lilypond developers report.  xpdf does work with the
 % regular 0x27.  
 % 
-\def\singlequotechar{%
+\def\codequoteright{%
   \expandafter\ifx\csname SETcodequoteundirected\endcsname\relax
     '%
   \else
@@ -5412,6 +5426,18 @@
   \fi
 }
 %
+% and a similar option for the left quote char vs. a grave accent.
+% Modern fonts display ASCII 0x60 as a grave accent, so some people like
+% the code environments to do likewise.
+% 
+\def\codequoteleft{%
+  \expandafter\ifx\csname SETcodequotebacktick\endcsname\relax
+    `%
+  \else
+    \char'22
+  \fi
+}
+%
 \begingroup
   \catcode`\^^I=\active
   \gdef\tabexpand{%
@@ -5425,12 +5451,15 @@
     }%
   }
   \catcode`\'=\active
-  \gdef\quoteexpand{%
-    \catcode`\'=\active
-    \def'{\singlequotechar}
-  }%
+  \gdef\rquoteexpand{\catcode\rquoteChar=\active \def'{\codequoteright}}%
+  %
+  \catcode`\`=\active
+  \gdef\lquoteexpand{\catcode\lquoteChar=\active \def`{\codequoteleft}}%
+  %
+  \gdef\quoteexpand{\rquoteexpand \lquoteexpand}%
 \endgroup
-%
+
+% start the verbatim environment.
 \def\setupverbatim{%
   \let\nonarrowing = t%
   \nonfillstart
Index: lib/Autom4te/ChannelDefs.pm
===================================================================
RCS file: /cvsroot/autoconf/autoconf/lib/Autom4te/ChannelDefs.pm,v
retrieving revision 1.3
diff -u -r1.3 ChannelDefs.pm
--- lib/Autom4te/ChannelDefs.pm 14 May 2005 07:00:39 -0000      1.3
+++ lib/Autom4te/ChannelDefs.pm 15 Oct 2006 00:57:44 -0000
@@ -1,4 +1,4 @@
-# Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+# Copyright (C) 2002, 2003, 2006 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
@@ -174,7 +174,7 @@
   `gnu'           GNU coding standards (default in gnu and gnits modes)
   `obsolete'      obsolete features or constructions
   `override'      user redefinitions of Automake rules or variables
-  `portability'   portability issues
+  `portability'   portability issues (default in gnu and gnits modes)
   `syntax'        dubious syntactic constructs (default)
   `unsupported'   unsupported or incomplete features (default)
   `all'           all the warnings
@@ -330,29 +330,12 @@
 {
   my ($name) = @_;

-  # FIXME: 'portability' warnings are currently disabled by default.
-  # Eventually we want to turn them on in GNU and GNITS modes, but
-  # we don't do this yet in Automake 1.7 to help the 1.6/1.7 transition.
-  #
-  # Indeed there would be only two ways to get rid of these new warnings:
-  #  1. adjusting Makefile.am
-  #     This is not always easy (or wanted).  Consider %-rules or
-  #     $(function args) variables.
-  #  2. using -Wno-portability
-  #     This means there is no way to have the same Makefile.am
-  #     working both with Automake 1.6 and 1.7 (since 1.6 does not
-  #     understand -Wno-portability).
-  #
-  # In Automake 1.8 (or whatever it is called) we can turn these
-  # warnings on, since -Wno-portability will not be an issue for
-  # the 1.7/1.8 transition.
-
   if ($name eq 'gnu')
     {
       setup_channel 'error-gnu', silent => 0;
       setup_channel 'error-gnu/warn', silent => 0, type => 'error';
       setup_channel 'error-gnits', silent => 1;
-      # setup_channel 'portability', silent => 0;
+      setup_channel 'portability', silent => 0;
       setup_channel 'gnu', silent => 0;
     }
   elsif ($name eq 'gnits')
@@ -360,7 +343,7 @@
       setup_channel 'error-gnu', silent => 0;
       setup_channel 'error-gnu/warn', silent => 0, type => 'error';
       setup_channel 'error-gnits', silent => 0;
-      # setup_channel 'portability', silent => 0;
+      setup_channel 'portability', silent => 0;
       setup_channel 'gnu', silent => 0;
     }
   elsif ($name eq 'foreign')
@@ -368,7 +351,7 @@
       setup_channel 'error-gnu', silent => 1;
       setup_channel 'error-gnu/warn', silent => 0, type => 'warning';
       setup_channel 'error-gnits', silent => 1;
-      # setup_channel 'portability', silent => 1;
+      setup_channel 'portability', silent => 1;
       setup_channel 'gnu', silent => 1;
     }
   else
Index: doc/fdl.texi
===================================================================
RCS file: /cvsroot/autoconf/autoconf/doc/fdl.texi,v
retrieving revision 1.4
diff -u -r1.4 fdl.texi
--- doc/fdl.texi        14 May 2005 07:00:39 -0000      1.4
+++ doc/fdl.texi        15 Oct 2006 00:57:44 -0000
@@ -408,7 +408,7 @@
 @end enumerate

 @page
address@hidden ADDENDUM: How to use this License for your documents
address@hidden ADDENDUM: How to use this License for your documents

 To use this License in a document you have written, include a copy of
 the License in the document and put the following copyright and




reply via email to

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