]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Modernize quoting.
authorBruno Haible <bruno@clisp.org>
Thu, 26 Jan 2012 20:49:41 +0000 (21:49 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 18 Feb 2012 21:28:04 +0000 (22:28 +0100)
61 files changed:
ChangeLog
INSTALL
NEWS
gettext-runtime/ChangeLog
gettext-runtime/INSTALL
gettext-runtime/Makefile.am
gettext-runtime/intl/ChangeLog
gettext-runtime/intl/Makefile.in
gettext-runtime/intl/libgnuintl.in.h
gettext-runtime/intl/vasnprintf.h
gettext-runtime/libasprintf/ChangeLog
gettext-runtime/libasprintf/INSTALL
gettext-runtime/libasprintf/autosprintf.in.h
gettext-runtime/libasprintf/vasnprintf.h
gettext-runtime/libasprintf/vasprintf.h
gettext-runtime/src/ChangeLog
gettext-runtime/src/envsubst.c
gettext-runtime/src/gettext.c
gettext-runtime/src/ngettext.c
gettext-tools/ChangeLog
gettext-tools/INSTALL
gettext-tools/doc/ChangeLog
gettext-tools/doc/FAQ.html
gettext-tools/doc/ISO_3166
gettext-tools/doc/ISO_3166_de
gettext-tools/doc/tutorial.html
gettext-tools/src/ChangeLog
gettext-tools/src/hostname.c
gettext-tools/src/msgattrib.c
gettext-tools/src/msgcat.c
gettext-tools/src/msgcmp.c
gettext-tools/src/msgcomm.c
gettext-tools/src/msgconv.c
gettext-tools/src/msgen.c
gettext-tools/src/msgexec.c
gettext-tools/src/msgfilter.c
gettext-tools/src/msgfmt.c
gettext-tools/src/msggrep.c
gettext-tools/src/msginit.c
gettext-tools/src/msgl-cat.c
gettext-tools/src/msgl-check.c
gettext-tools/src/msgmerge.c
gettext-tools/src/msgunfmt.c
gettext-tools/src/msguniq.c
gettext-tools/src/po-error.h
gettext-tools/src/po-gram-gen.y
gettext-tools/src/po-lex.h
gettext-tools/src/read-catalog-abstract.h
gettext-tools/src/recode-sr-latin.c
gettext-tools/src/urlget.c
gettext-tools/src/write-po.c
gettext-tools/src/x-c.c
gettext-tools/src/xgettext.c
gettext-tools/tests/ChangeLog
gettext-tools/tests/tstgettext.c
gettext-tools/tests/tstngettext.c
gnulib-local/ChangeLog
gnulib-local/lib/backupfile.c
gnulib-local/lib/basename.c
gnulib-local/lib/closeout.c
gnulib-local/lib/xmalloc.c

index 2a95a4be6848561f502ca569c921c5c7f01afe3e..70792a3c5e64f32ac9a1b5719f775771c5904412 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2012-01-26  Bruno Haible  <bruno@clisp.org>
+
+       Modernize quoting.
+       * NEWS: Quote 'like this', not `like this', as per the recent change
+       to the GNU coding standards.
+       * INSTALL: Process through sed -e "s/\`\([^']*\)'/‘\1’/g"
+
 2011-10-18  Bruno Haible  <bruno@clisp.org>
 
        * m4/libtool.m4: Update from libtool-2.4.2, with modifications.
diff --git a/INSTALL b/INSTALL
index cc6a29ed7e604bc3f82d8d7a2ea2eac56557b310..671b157a6429121883c370dbfd80f4b09217cb26 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -4,56 +4,56 @@ Prerequisites
 =============
 
    This package depends on a few other packages.  They are listed in
-the file `DEPENDENCIES'.  It is recommended to install the listed
+the file ‘DEPENDENCIES’.  It is recommended to install the listed
 packages before installing this package.
 
 Basic Installation
 ==================
 
-   The `configure' shell script attempts to guess correct values for
+   The ‘configure’ shell script attempts to guess correct values for
 various system-dependent variables used during compilation.  It uses
-those values to create a `Makefile' in each directory of the package.
-It may also create one or more `.h' files containing system-dependent
-definitions.  Finally, it creates a shell script `config.status' that
+those values to create a ‘Makefile’ in each directory of the package.
+It may also create one or more ‘.h’ files containing system-dependent
+definitions.  Finally, it creates a shell script ‘config.status’ that
 you can run in the future to recreate the current configuration, a file
-`config.cache' that saves the results of its tests to speed up
-reconfiguring, and a file `config.log' containing compiler output
-(useful mainly for debugging `configure').
+‘config.cache’ that saves the results of its tests to speed up
+reconfiguring, and a file ‘config.log’ containing compiler output
+(useful mainly for debugging ‘configure’).
 
    If you need to do unusual things to compile the package, please try
-to figure out how `configure' could check whether to do them, and mail
-diffs or instructions to the address given in the `README' so they can
-be considered for the next release.  If at some point `config.cache'
+to figure out how ‘configure’ could check whether to do them, and mail
+diffs or instructions to the address given in the ‘README’ so they can
+be considered for the next release.  If at some point ‘config.cache’
 contains results you don't want to keep, you may remove or edit it.
 
-   The file `configure.ac' is used to create `configure' by a program
-called `autoconf'.  You only need `configure.ac' if you want to change
-it or regenerate `configure' using a newer version of `autoconf'.
+   The file ‘configure.ac’ is used to create ‘configure’ by a program
+called ‘autoconf’.  You only need ‘configure.ac’ if you want to change
+it or regenerate ‘configure’ using a newer version of ‘autoconf’.
 
 The simplest way to compile this package is:
 
-  1. `cd' to the directory containing the package's source code and type
-     `./configure' to configure the package for your system.  If you're
-     using `csh' on an old version of System V, you might need to type
-     `sh ./configure' instead to prevent `csh' from trying to execute
-     `configure' itself.
+  1. ‘cd’ to the directory containing the package's source code and type
+     ‘./configure’ to configure the package for your system.  If you're
+     using ‘csh’ on an old version of System V, you might need to type
+     ‘sh ./configure’ instead to prevent ‘csh’ from trying to execute
+     ‘configure’ itself.
 
-     Running `configure' takes awhile.  While running, it prints some
+     Running ‘configure’ takes awhile.  While running, it prints some
      messages telling which features it is checking for.
 
-  2. Type `make' to compile the package.
+  2. Type ‘make’ to compile the package.
 
-  3. Optionally, type `make check' to run any self-tests that come with
+  3. Optionally, type ‘make check’ to run any self-tests that come with
      the package.
 
-  4. Type `make install' to install the programs and any data files and
+  4. Type ‘make install’ to install the programs and any data files and
      documentation.
 
   5. You can remove the program binaries and object files from the
-     source code directory by typing `make clean'.  To also remove the
-     files that `configure' created (so you can compile the package for
-     a different kind of computer), type `make distclean'.  There is
-     also a `make maintainer-clean' target, but that is intended mainly
+     source code directory by typing ‘make clean’.  To also remove the
+     files that ‘configure’ created (so you can compile the package for
+     a different kind of computer), type ‘make distclean’.  There is
+     also a ‘make maintainer-clean’ target, but that is intended mainly
      for the package's developers.  If you use it, you may have to get
      all sorts of other programs in order to regenerate files that came
      with the distribution.
@@ -62,7 +62,7 @@ Compilers and Options
 =====================
 
    Some systems require unusual options for compilation or linking that
-the `configure' script does not know about.  You can give `configure'
+the ‘configure’ script does not know about.  You can give ‘configure’
 initial values for variables as arguments.  You can do it like this:
      ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix
 
@@ -71,16 +71,16 @@ Compiling For Multiple Architectures
 
    You can compile the package for more than one kind of computer at the
 same time, by placing the object files for each architecture in their
-own directory.  To do this, you must use a version of `make' that
-supports the `VPATH' variable, such as GNU `make'.  `cd' to the
+own directory.  To do this, you must use a version of ‘make’ that
+supports the ‘VPATH’ variable, such as GNU ‘make’.  ‘cd’ to the
 directory where you want the object files and executables to go and run
-the `configure' script.  `configure' automatically checks for the
-source code in the directory that `configure' is in and in `..'.
+the ‘configure’ script.  ‘configure’ automatically checks for the
+source code in the directory that ‘configure’ is in and in ‘..’.
 
-   If you have to use a `make' that does not supports the `VPATH'
+   If you have to use a ‘make’ that does not supports the ‘VPATH’
 variable, you have to compile the package for one architecture at a time
 in the source code directory.  After you have installed the package for
-one architecture, use `make distclean' before reconfiguring for another
+one architecture, use ‘make distclean’ before reconfiguring for another
 architecture.
 
    On MacOS X 10.5 and later systems, you can create libraries and
@@ -100,25 +100,25 @@ using the 'lipo' tool if you have problems.
 Installation Names
 ==================
 
-   By default, `make install' will install the package's files in
-`/usr/local/bin', `/usr/local/man', etc.  You can specify an
-installation prefix other than `/usr/local' by giving `configure' the
-option `--prefix=PATH'.
+   By default, ‘make install’ will install the package's files in
+‘/usr/local/bin’, ‘/usr/local/man’, etc.  You can specify an
+installation prefix other than ‘/usr/local’ by giving ‘configure’ the
+option ‘--prefix=PATH’.
 
    You can specify separate installation prefixes for
 architecture-specific files and architecture-independent files.  If you
-give `configure' the option `--exec-prefix=PATH', the package will use
+give ‘configure’ the option ‘--exec-prefix=PATH’, the package will use
 PATH as the prefix for installing programs and libraries.
 Documentation and other data files will still use the regular prefix.
 
    In addition, if you use an unusual directory layout you can give
-options like `--bindir=PATH' to specify different values for particular
-kinds of files.  Run `configure --help' for a list of the directories
+options like ‘--bindir=PATH’ to specify different values for particular
+kinds of files.  Run ‘configure --help’ for a list of the directories
 you can set and what kinds of files go in them.
 
    If the package supports it, you can cause programs to be installed
-with an extra prefix or suffix on their names by giving `configure' the
-option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
+with an extra prefix or suffix on their names by giving ‘configure’ the
+option ‘--program-prefix=PREFIX’ or ‘--program-suffix=SUFFIX’.
 
 Enabling Relocatability
 =======================
@@ -127,12 +127,12 @@ Enabling Relocatability
 that packages are not relocatable.  It means a user cannot copy a
 program, installed by another user on the same machine, to his home
 directory, and have it work correctly (including i18n).  So many users
-need to go through `configure; make; make install' with all its
+need to go through ‘configure; make; make install’ with all its
 dependencies, options, and hurdles.
 
    Red Hat, Debian, and similar package systems solve the "ease of
-installation" problem, but they hardwire path names, usually to `/usr'
-or `/usr/local'.  This means that users need root privileges to install
+installation" problem, but they hardwire path names, usually to ‘/usr’
+or ‘/usr/local’.  This means that users need root privileges to install
 a binary package, and prevents installing two different versions of the
 same binary package.
 
@@ -142,24 +142,24 @@ and moved programs, and invoke them through the symlink. It is possible
 to do the same thing with a hard link _only_ if the hard link file is
 in the same directory as the real program.
 
-   To configure a program to be relocatable, add `--enable-relocatable'
-to the `configure' command line.
+   To configure a program to be relocatable, add ‘--enable-relocatable’
+to the ‘configure’ command line.
 
    On some OSes the executables remember the location of shared
 libraries and prefer them over any other search path.  Therefore, such
 an executable will look for its shared libraries first in the original
 installation directory and only then in the current installation
-directory.  Thus, for reliability, it is best to also give a `--prefix'
+directory.  Thus, for reliability, it is best to also give a ‘--prefix’
 option pointing to a directory that does not exist now and which never
-will be created, e.g.  `--prefix=/nonexistent'.  You may use
-`DESTDIR=DEST-DIR' on the `make' command line to avoid installing into
+will be created, e.g.  ‘--prefix=/nonexistent’.  You may use
+‘DESTDIR=DEST-DIR’ on the ‘make’ command line to avoid installing into
 that directory.
 
    We do not recommend using a prefix writable by unprivileged users
-(e.g. `/tmp/inst$$') because such a directory can be recreated by an
+(e.g. ‘/tmp/inst$$’) because such a directory can be recreated by an
 unprivileged user after the original directory has been removed.  We
 also do not recommend prefixes that might be behind an automounter
-(e.g. `$HOME/inst$$') because of the performance impact of directory
+(e.g. ‘$HOME/inst$$’) because of the performance impact of directory
 searching.
 
    Here's a sample installation run that takes into account all these
@@ -169,10 +169,10 @@ recommendations:
      make
      make install DESTDIR=/tmp/inst$$
 
-   Installation with `--enable-relocatable' will not work for setuid or
+   Installation with ‘--enable-relocatable’ will not work for setuid or
 setgid executables, because such executables search only system library
 paths for security reasons.  Also, installation with
-`--enable-relocatable' might not work on OpenBSD, when the package
+‘--enable-relocatable’ might not work on OpenBSD, when the package
 contains shared libraries and libtool versions 1.5.xx are used.
 
    The runtime penalty and size penalty are negligible on GNU/Linux
@@ -183,25 +183,25 @@ and executes the real program).
 Optional Features
 =================
 
-   Some packages pay attention to `--enable-FEATURE' options to
-`configure', where FEATURE indicates an optional part of the package.
-They may also pay attention to `--with-PACKAGE' options, where PACKAGE
-is something like `gnu-as' or `x' (for the X Window System).  The
-`README' should mention any `--enable-' and `--with-' options that the
+   Some packages pay attention to ‘--enable-FEATURE’ options to
+‘configure’, where FEATURE indicates an optional part of the package.
+They may also pay attention to ‘--with-PACKAGE’ options, where PACKAGE
+is something like ‘gnu-as’ or ‘x’ (for the X Window System).  The
+‘README’ should mention any ‘--enable-’ and ‘--with-’ options that the
 package recognizes.
 
-   For packages that use the X Window System, `configure' can usually
+   For packages that use the X Window System, ‘configure’ can usually
 find the X include and library files automatically, but if it doesn't,
-you can use the `configure' options `--x-includes=DIR' and
-`--x-libraries=DIR' to specify their locations.
+you can use the ‘configure’ options ‘--x-includes=DIR’ and
+‘--x-libraries=DIR’ to specify their locations.
 
    For packages that use the GNU libiconv library, you can use the
-`configure' option `--with-libiconv-prefix' to specify the prefix you
+‘configure’ option ‘--with-libiconv-prefix’ to specify the prefix you
 used while installing GNU libiconv.  This option is not necessary if
 that other prefix is the same as the one now specified through --prefix.
 
    For packages that use the GNU libintl library, you can use the
-`configure' option `--with-libintl-prefix' to specify the prefix you
+‘configure’ option ‘--with-libintl-prefix’ to specify the prefix you
 used while installing GNU gettext-runtime.  This option is not necessary if
 that other prefix is the same as the one now specified through --prefix.
 
@@ -217,7 +217,7 @@ to use an ANSI C compiler:
 and if that doesn't work, install pre-built binaries of GCC for HP-UX.
 
    On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
-parse its `<wchar.h>' header file.  The option `-nodtk' can be used as
+parse its ‘<wchar.h>’ header file.  The option ‘-nodtk’ can be used as
 a workaround.  If GNU CC is not installed, it is therefore recommended
 to try
 
@@ -246,62 +246,62 @@ use the following options:
 Specifying the System Type
 ==========================
 
-   There may be some features `configure' can not figure out
+   There may be some features ‘configure’ can not figure out
 automatically, but needs to determine by the type of host the package
-will run on.  Usually `configure' can figure that out, but if it prints
+will run on.  Usually ‘configure’ can figure that out, but if it prints
 a message saying it can not guess the host type, give it the
-`--host=TYPE' option.  TYPE can either be a short name for the system
-type, such as `sun4', or a canonical name with three fields:
+‘--host=TYPE’ option.  TYPE can either be a short name for the system
+type, such as ‘sun4’, or a canonical name with three fields:
      CPU-COMPANY-SYSTEM
 
-See the file `config.sub' for the possible values of each field.  If
-`config.sub' isn't included in this package, then this package doesn't
+See the file ‘config.sub’ for the possible values of each field.  If
+‘config.sub’ isn't included in this package, then this package doesn't
 need to know the host type.
 
    If you are building compiler tools for cross-compiling, you can also
-use the `--target=TYPE' option to select the type of system they will
-produce code for and the `--build=TYPE' option to select the type of
+use the ‘--target=TYPE’ option to select the type of system they will
+produce code for and the ‘--build=TYPE’ option to select the type of
 system on which you are compiling the package.
 
 Sharing Defaults
 ================
 
-   If you want to set default values for `configure' scripts to share,
-you can create a site shell script called `config.site' that gives
-default values for variables like `CC', `cache_file', and `prefix'.
-`configure' looks for `PREFIX/share/config.site' if it exists, then
-`PREFIX/etc/config.site' if it exists.  Or, you can set the
-`CONFIG_SITE' environment variable to the location of the site script.
-A warning: not all `configure' scripts look for a site script.
+   If you want to set default values for ‘configure’ scripts to share,
+you can create a site shell script called ‘config.site’ that gives
+default values for variables like ‘CC’, ‘cache_file’, and ‘prefix’.
+‘configure’ looks for ‘PREFIX/share/config.site’ if it exists, then
+‘PREFIX/etc/config.site’ if it exists.  Or, you can set the
+‘CONFIG_SITE’ environment variable to the location of the site script.
+A warning: not all ‘configure’ scripts look for a site script.
 
 Operation Controls
 ==================
 
-   `configure' recognizes the following options to control how it
+   ‘configure’ recognizes the following options to control how it
 operates.
 
-`--cache-file=FILE'
+‘--cache-file=FILE’
      Use and save the results of the tests in FILE instead of
-     `./config.cache'.  Set FILE to `/dev/null' to disable caching, for
-     debugging `configure'.
+     ‘./config.cache’.  Set FILE to ‘/dev/null’ to disable caching, for
+     debugging ‘configure’.
 
-`--help'
-     Print a summary of the options to `configure', and exit.
+‘--help’
+     Print a summary of the options to ‘configure’, and exit.
 
-`--quiet'
-`--silent'
-`-q'
+‘--quiet’
+‘--silent’
+‘-q’
      Do not print messages saying which checks are being made.  To
-     suppress all normal output, redirect it to `/dev/null' (any error
+     suppress all normal output, redirect it to ‘/dev/null’ (any error
      messages will still be shown).
 
-`--srcdir=DIR'
+‘--srcdir=DIR’
      Look for the package's source code in directory DIR.  Usually
-     `configure' can determine that directory automatically.
+     ‘configure’ can determine that directory automatically.
 
-`--version'
-     Print the version of Autoconf used to generate the `configure'
+‘--version’
+     Print the version of Autoconf used to generate the ‘configure’
      script, and exit.
 
-`configure' also accepts some other, not widely useful, options.
+‘configure’ also accepts some other, not widely useful, options.
 
diff --git a/NEWS b/NEWS
index 0a8ccfebb65d2989d09f2498130512dcb37d7e96..f62404deac38d903d8f4835da8248915bc5f77db 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -771,7 +771,7 @@ Version 0.10.35 - April 1998, by Ulrich Drepper
 * better C format string implementation.  The xgettext will classify
   strings as being a format string, or not, in the .po file.  The
   programmer can override the decision explicitly for each string
-  by specifying `xgettext:c-format' and `xgettext:no-c-format'
+  by specifying 'xgettext:c-format' and 'xgettext:no-c-format'
   respectively in a C comment preceding the string.
 
 * msgmerge program now always produces output.  Fuzzy or non-existing
@@ -781,8 +781,8 @@ Version 0.10.35 - April 1998, by Ulrich Drepper
 
 * Norwegian translation by Karl Anders �gard
 
-* Configure command line option `--with-gnu-gettext' is renamed to
-  `--with-included-gettext'
+* Configure command line option '--with-gnu-gettext' is renamed to
+  '--with-included-gettext'
 
 * gettextize now can determine whether the aclocal.m4 of the project
   is sufficent
index 3188d6e0ece545cf4c0e2a9ff29424f5117c5323..c3e6e95d7dec9549770c7889a4d15e508e2c8f9c 100644 (file)
@@ -1,3 +1,10 @@
+2012-01-26  Bruno Haible  <bruno@clisp.org>
+
+       Modernize quoting.
+       * INSTALL: Process through sed -e "s/\`\([^']*\)'/‘\1’/g"
+       * Makefile.am (ABOUT-NLS): Likewise. Use --plaintext instead of
+       --no-header.
+
 2011-06-03  Bruno Haible  <bruno@clisp.org>
 
        Copyright: Use LGPL 2.1 instead of LGPL 2.0.
index cc6a29ed7e604bc3f82d8d7a2ea2eac56557b310..671b157a6429121883c370dbfd80f4b09217cb26 100644 (file)
@@ -4,56 +4,56 @@ Prerequisites
 =============
 
    This package depends on a few other packages.  They are listed in
-the file `DEPENDENCIES'.  It is recommended to install the listed
+the file ‘DEPENDENCIES’.  It is recommended to install the listed
 packages before installing this package.
 
 Basic Installation
 ==================
 
-   The `configure' shell script attempts to guess correct values for
+   The ‘configure’ shell script attempts to guess correct values for
 various system-dependent variables used during compilation.  It uses
-those values to create a `Makefile' in each directory of the package.
-It may also create one or more `.h' files containing system-dependent
-definitions.  Finally, it creates a shell script `config.status' that
+those values to create a ‘Makefile’ in each directory of the package.
+It may also create one or more ‘.h’ files containing system-dependent
+definitions.  Finally, it creates a shell script ‘config.status’ that
 you can run in the future to recreate the current configuration, a file
-`config.cache' that saves the results of its tests to speed up
-reconfiguring, and a file `config.log' containing compiler output
-(useful mainly for debugging `configure').
+‘config.cache’ that saves the results of its tests to speed up
+reconfiguring, and a file ‘config.log’ containing compiler output
+(useful mainly for debugging ‘configure’).
 
    If you need to do unusual things to compile the package, please try
-to figure out how `configure' could check whether to do them, and mail
-diffs or instructions to the address given in the `README' so they can
-be considered for the next release.  If at some point `config.cache'
+to figure out how ‘configure’ could check whether to do them, and mail
+diffs or instructions to the address given in the ‘README’ so they can
+be considered for the next release.  If at some point ‘config.cache’
 contains results you don't want to keep, you may remove or edit it.
 
-   The file `configure.ac' is used to create `configure' by a program
-called `autoconf'.  You only need `configure.ac' if you want to change
-it or regenerate `configure' using a newer version of `autoconf'.
+   The file ‘configure.ac’ is used to create ‘configure’ by a program
+called ‘autoconf’.  You only need ‘configure.ac’ if you want to change
+it or regenerate ‘configure’ using a newer version of ‘autoconf’.
 
 The simplest way to compile this package is:
 
-  1. `cd' to the directory containing the package's source code and type
-     `./configure' to configure the package for your system.  If you're
-     using `csh' on an old version of System V, you might need to type
-     `sh ./configure' instead to prevent `csh' from trying to execute
-     `configure' itself.
+  1. ‘cd’ to the directory containing the package's source code and type
+     ‘./configure’ to configure the package for your system.  If you're
+     using ‘csh’ on an old version of System V, you might need to type
+     ‘sh ./configure’ instead to prevent ‘csh’ from trying to execute
+     ‘configure’ itself.
 
-     Running `configure' takes awhile.  While running, it prints some
+     Running ‘configure’ takes awhile.  While running, it prints some
      messages telling which features it is checking for.
 
-  2. Type `make' to compile the package.
+  2. Type ‘make’ to compile the package.
 
-  3. Optionally, type `make check' to run any self-tests that come with
+  3. Optionally, type ‘make check’ to run any self-tests that come with
      the package.
 
-  4. Type `make install' to install the programs and any data files and
+  4. Type ‘make install’ to install the programs and any data files and
      documentation.
 
   5. You can remove the program binaries and object files from the
-     source code directory by typing `make clean'.  To also remove the
-     files that `configure' created (so you can compile the package for
-     a different kind of computer), type `make distclean'.  There is
-     also a `make maintainer-clean' target, but that is intended mainly
+     source code directory by typing ‘make clean’.  To also remove the
+     files that ‘configure’ created (so you can compile the package for
+     a different kind of computer), type ‘make distclean’.  There is
+     also a ‘make maintainer-clean’ target, but that is intended mainly
      for the package's developers.  If you use it, you may have to get
      all sorts of other programs in order to regenerate files that came
      with the distribution.
@@ -62,7 +62,7 @@ Compilers and Options
 =====================
 
    Some systems require unusual options for compilation or linking that
-the `configure' script does not know about.  You can give `configure'
+the ‘configure’ script does not know about.  You can give ‘configure’
 initial values for variables as arguments.  You can do it like this:
      ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix
 
@@ -71,16 +71,16 @@ Compiling For Multiple Architectures
 
    You can compile the package for more than one kind of computer at the
 same time, by placing the object files for each architecture in their
-own directory.  To do this, you must use a version of `make' that
-supports the `VPATH' variable, such as GNU `make'.  `cd' to the
+own directory.  To do this, you must use a version of ‘make’ that
+supports the ‘VPATH’ variable, such as GNU ‘make’.  ‘cd’ to the
 directory where you want the object files and executables to go and run
-the `configure' script.  `configure' automatically checks for the
-source code in the directory that `configure' is in and in `..'.
+the ‘configure’ script.  ‘configure’ automatically checks for the
+source code in the directory that ‘configure’ is in and in ‘..’.
 
-   If you have to use a `make' that does not supports the `VPATH'
+   If you have to use a ‘make’ that does not supports the ‘VPATH’
 variable, you have to compile the package for one architecture at a time
 in the source code directory.  After you have installed the package for
-one architecture, use `make distclean' before reconfiguring for another
+one architecture, use ‘make distclean’ before reconfiguring for another
 architecture.
 
    On MacOS X 10.5 and later systems, you can create libraries and
@@ -100,25 +100,25 @@ using the 'lipo' tool if you have problems.
 Installation Names
 ==================
 
-   By default, `make install' will install the package's files in
-`/usr/local/bin', `/usr/local/man', etc.  You can specify an
-installation prefix other than `/usr/local' by giving `configure' the
-option `--prefix=PATH'.
+   By default, ‘make install’ will install the package's files in
+‘/usr/local/bin’, ‘/usr/local/man’, etc.  You can specify an
+installation prefix other than ‘/usr/local’ by giving ‘configure’ the
+option ‘--prefix=PATH’.
 
    You can specify separate installation prefixes for
 architecture-specific files and architecture-independent files.  If you
-give `configure' the option `--exec-prefix=PATH', the package will use
+give ‘configure’ the option ‘--exec-prefix=PATH’, the package will use
 PATH as the prefix for installing programs and libraries.
 Documentation and other data files will still use the regular prefix.
 
    In addition, if you use an unusual directory layout you can give
-options like `--bindir=PATH' to specify different values for particular
-kinds of files.  Run `configure --help' for a list of the directories
+options like ‘--bindir=PATH’ to specify different values for particular
+kinds of files.  Run ‘configure --help’ for a list of the directories
 you can set and what kinds of files go in them.
 
    If the package supports it, you can cause programs to be installed
-with an extra prefix or suffix on their names by giving `configure' the
-option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
+with an extra prefix or suffix on their names by giving ‘configure’ the
+option ‘--program-prefix=PREFIX’ or ‘--program-suffix=SUFFIX’.
 
 Enabling Relocatability
 =======================
@@ -127,12 +127,12 @@ Enabling Relocatability
 that packages are not relocatable.  It means a user cannot copy a
 program, installed by another user on the same machine, to his home
 directory, and have it work correctly (including i18n).  So many users
-need to go through `configure; make; make install' with all its
+need to go through ‘configure; make; make install’ with all its
 dependencies, options, and hurdles.
 
    Red Hat, Debian, and similar package systems solve the "ease of
-installation" problem, but they hardwire path names, usually to `/usr'
-or `/usr/local'.  This means that users need root privileges to install
+installation" problem, but they hardwire path names, usually to ‘/usr’
+or ‘/usr/local’.  This means that users need root privileges to install
 a binary package, and prevents installing two different versions of the
 same binary package.
 
@@ -142,24 +142,24 @@ and moved programs, and invoke them through the symlink. It is possible
 to do the same thing with a hard link _only_ if the hard link file is
 in the same directory as the real program.
 
-   To configure a program to be relocatable, add `--enable-relocatable'
-to the `configure' command line.
+   To configure a program to be relocatable, add ‘--enable-relocatable’
+to the ‘configure’ command line.
 
    On some OSes the executables remember the location of shared
 libraries and prefer them over any other search path.  Therefore, such
 an executable will look for its shared libraries first in the original
 installation directory and only then in the current installation
-directory.  Thus, for reliability, it is best to also give a `--prefix'
+directory.  Thus, for reliability, it is best to also give a ‘--prefix’
 option pointing to a directory that does not exist now and which never
-will be created, e.g.  `--prefix=/nonexistent'.  You may use
-`DESTDIR=DEST-DIR' on the `make' command line to avoid installing into
+will be created, e.g.  ‘--prefix=/nonexistent’.  You may use
+‘DESTDIR=DEST-DIR’ on the ‘make’ command line to avoid installing into
 that directory.
 
    We do not recommend using a prefix writable by unprivileged users
-(e.g. `/tmp/inst$$') because such a directory can be recreated by an
+(e.g. ‘/tmp/inst$$’) because such a directory can be recreated by an
 unprivileged user after the original directory has been removed.  We
 also do not recommend prefixes that might be behind an automounter
-(e.g. `$HOME/inst$$') because of the performance impact of directory
+(e.g. ‘$HOME/inst$$’) because of the performance impact of directory
 searching.
 
    Here's a sample installation run that takes into account all these
@@ -169,10 +169,10 @@ recommendations:
      make
      make install DESTDIR=/tmp/inst$$
 
-   Installation with `--enable-relocatable' will not work for setuid or
+   Installation with ‘--enable-relocatable’ will not work for setuid or
 setgid executables, because such executables search only system library
 paths for security reasons.  Also, installation with
-`--enable-relocatable' might not work on OpenBSD, when the package
+‘--enable-relocatable’ might not work on OpenBSD, when the package
 contains shared libraries and libtool versions 1.5.xx are used.
 
    The runtime penalty and size penalty are negligible on GNU/Linux
@@ -183,25 +183,25 @@ and executes the real program).
 Optional Features
 =================
 
-   Some packages pay attention to `--enable-FEATURE' options to
-`configure', where FEATURE indicates an optional part of the package.
-They may also pay attention to `--with-PACKAGE' options, where PACKAGE
-is something like `gnu-as' or `x' (for the X Window System).  The
-`README' should mention any `--enable-' and `--with-' options that the
+   Some packages pay attention to ‘--enable-FEATURE’ options to
+‘configure’, where FEATURE indicates an optional part of the package.
+They may also pay attention to ‘--with-PACKAGE’ options, where PACKAGE
+is something like ‘gnu-as’ or ‘x’ (for the X Window System).  The
+‘README’ should mention any ‘--enable-’ and ‘--with-’ options that the
 package recognizes.
 
-   For packages that use the X Window System, `configure' can usually
+   For packages that use the X Window System, ‘configure’ can usually
 find the X include and library files automatically, but if it doesn't,
-you can use the `configure' options `--x-includes=DIR' and
-`--x-libraries=DIR' to specify their locations.
+you can use the ‘configure’ options ‘--x-includes=DIR’ and
+‘--x-libraries=DIR’ to specify their locations.
 
    For packages that use the GNU libiconv library, you can use the
-`configure' option `--with-libiconv-prefix' to specify the prefix you
+‘configure’ option ‘--with-libiconv-prefix’ to specify the prefix you
 used while installing GNU libiconv.  This option is not necessary if
 that other prefix is the same as the one now specified through --prefix.
 
    For packages that use the GNU libintl library, you can use the
-`configure' option `--with-libintl-prefix' to specify the prefix you
+‘configure’ option ‘--with-libintl-prefix’ to specify the prefix you
 used while installing GNU gettext-runtime.  This option is not necessary if
 that other prefix is the same as the one now specified through --prefix.
 
@@ -217,7 +217,7 @@ to use an ANSI C compiler:
 and if that doesn't work, install pre-built binaries of GCC for HP-UX.
 
    On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
-parse its `<wchar.h>' header file.  The option `-nodtk' can be used as
+parse its ‘<wchar.h>’ header file.  The option ‘-nodtk’ can be used as
 a workaround.  If GNU CC is not installed, it is therefore recommended
 to try
 
@@ -246,62 +246,62 @@ use the following options:
 Specifying the System Type
 ==========================
 
-   There may be some features `configure' can not figure out
+   There may be some features ‘configure’ can not figure out
 automatically, but needs to determine by the type of host the package
-will run on.  Usually `configure' can figure that out, but if it prints
+will run on.  Usually ‘configure’ can figure that out, but if it prints
 a message saying it can not guess the host type, give it the
-`--host=TYPE' option.  TYPE can either be a short name for the system
-type, such as `sun4', or a canonical name with three fields:
+‘--host=TYPE’ option.  TYPE can either be a short name for the system
+type, such as ‘sun4’, or a canonical name with three fields:
      CPU-COMPANY-SYSTEM
 
-See the file `config.sub' for the possible values of each field.  If
-`config.sub' isn't included in this package, then this package doesn't
+See the file ‘config.sub’ for the possible values of each field.  If
+‘config.sub’ isn't included in this package, then this package doesn't
 need to know the host type.
 
    If you are building compiler tools for cross-compiling, you can also
-use the `--target=TYPE' option to select the type of system they will
-produce code for and the `--build=TYPE' option to select the type of
+use the ‘--target=TYPE’ option to select the type of system they will
+produce code for and the ‘--build=TYPE’ option to select the type of
 system on which you are compiling the package.
 
 Sharing Defaults
 ================
 
-   If you want to set default values for `configure' scripts to share,
-you can create a site shell script called `config.site' that gives
-default values for variables like `CC', `cache_file', and `prefix'.
-`configure' looks for `PREFIX/share/config.site' if it exists, then
-`PREFIX/etc/config.site' if it exists.  Or, you can set the
-`CONFIG_SITE' environment variable to the location of the site script.
-A warning: not all `configure' scripts look for a site script.
+   If you want to set default values for ‘configure’ scripts to share,
+you can create a site shell script called ‘config.site’ that gives
+default values for variables like ‘CC’, ‘cache_file’, and ‘prefix’.
+‘configure’ looks for ‘PREFIX/share/config.site’ if it exists, then
+‘PREFIX/etc/config.site’ if it exists.  Or, you can set the
+‘CONFIG_SITE’ environment variable to the location of the site script.
+A warning: not all ‘configure’ scripts look for a site script.
 
 Operation Controls
 ==================
 
-   `configure' recognizes the following options to control how it
+   ‘configure’ recognizes the following options to control how it
 operates.
 
-`--cache-file=FILE'
+‘--cache-file=FILE’
      Use and save the results of the tests in FILE instead of
-     `./config.cache'.  Set FILE to `/dev/null' to disable caching, for
-     debugging `configure'.
+     ‘./config.cache’.  Set FILE to ‘/dev/null’ to disable caching, for
+     debugging ‘configure’.
 
-`--help'
-     Print a summary of the options to `configure', and exit.
+‘--help’
+     Print a summary of the options to ‘configure’, and exit.
 
-`--quiet'
-`--silent'
-`-q'
+‘--quiet’
+‘--silent’
+‘-q’
      Do not print messages saying which checks are being made.  To
-     suppress all normal output, redirect it to `/dev/null' (any error
+     suppress all normal output, redirect it to ‘/dev/null’ (any error
      messages will still be shown).
 
-`--srcdir=DIR'
+‘--srcdir=DIR’
      Look for the package's source code in directory DIR.  Usually
-     `configure' can determine that directory automatically.
+     ‘configure’ can determine that directory automatically.
 
-`--version'
-     Print the version of Autoconf used to generate the `configure'
+‘--version’
+     Print the version of Autoconf used to generate the ‘configure’
      script, and exit.
 
-`configure' also accepts some other, not widely useful, options.
+‘configure’ also accepts some other, not widely useful, options.
 
index 2a1427a35391678d99a34e7a2e3a14afc23b76e8..df5336fcfbdcfa6ff1192e1aae7f2964e3ea2469 100644 (file)
@@ -1,5 +1,5 @@
 ## Makefile for the gettext-runtime directory of GNU gettext
-## Copyright (C) 1995-1999, 2000-2006, 2010 Free Software Foundation, Inc.
+## Copyright (C) 1995-1999, 2000-2006, 2010, 2012 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
@@ -44,8 +44,8 @@ all-local: ABOUT-NLS
 
 ABOUT-NLS: $(srcdir)/doc/nls.texi $(srcdir)/doc/matrix.texi
        rm -f $(srcdir)/ABOUT-NLS \
-         && $(MAKEINFO) --output=$(srcdir)/ABOUT-NLS --no-header \
-           -I $(srcdir)/doc --no-validate nls.texi
+         && $(MAKEINFO) --plaintext --no-validate -I $(srcdir)/doc nls.texi \
+            | sed -e "s/\`\([^']*\)'/‘\1’/g" > $(srcdir)/ABOUT-NLS
 
 
 # Allow users to use "gnulib-tool --update".
index a9f84964931bd05316f2dfb54bc3484b50c5c6d7..16e4155b13a1101ef38ea875e8e7a19d9615a315 100644 (file)
@@ -1,3 +1,11 @@
+2012-01-26  Bruno Haible  <bruno@clisp.org>
+
+       Modernize quoting.
+       * Makefile.in: Quote 'like this', not `like this', as per the recent
+       change to the GNU coding standards.
+       * libgnuintl.in.h: Likewise.
+       * vasnprintf.h: Likewise.
+
 2012-01-06  Paul Eggert  <eggert@cs.ucla.edu>
 
        doc: C11 and C++11 are now official
index 7b6623d2a605bfa73cedd12c2250ea4947cbc5ab..4b3511525762999b8413599fe124864cbe145f8d 100644 (file)
@@ -1,5 +1,5 @@
 # Makefile for directory with message catalog handling library of GNU gettext
-# Copyright (C) 1995-1998, 2000-2007, 2009-2011 Free Software Foundation, Inc.
+# Copyright (C) 1995-1998, 2000-2007, 2009-2012 Free Software Foundation, Inc.
 #
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU Lesser General Public License as published by
@@ -377,7 +377,7 @@ check: all
 # system which has the GNU gettext() function in its C library or in a
 # separate library.
 # If you want to use the one which comes with this version of the
-# package, you have to use `configure --with-included-gettext'.
+# package, you have to use "configure --with-included-gettext".
 install: install-exec install-data
 install-exec: all
        if { test "$(PACKAGE)" = "gettext-runtime" || test "$(PACKAGE)" = "gettext-tools"; } \
@@ -628,7 +628,7 @@ maintainer-clean: distclean
        @echo "it deletes files that may require special tools to rebuild."
 
 
-# GNU gettext needs not contain the file `VERSION' but contains some
+# GNU gettext needs not contain the file 'VERSION' but contains some
 # other files which should not be distributed in other packages.
 distdir = ../$(PACKAGE)-$(VERSION)/$(subdir)
 dist distdir: Makefile
index d396df59adb13f977e08e0a9e747ed8eb33f93ad..008f8b9d73c118edd29be71c554209ee930436a4 100644 (file)
@@ -1,5 +1,5 @@
 /* Message catalogs for internationalization.
-   Copyright (C) 1995-1997, 2000-2011 Free Software Foundation, Inc.
+   Copyright (C) 1995-1997, 2000-2012 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU Lesser General Public License as published by
@@ -176,7 +176,7 @@ extern char *dcgettext (const char *__domainname, const char *__msgid,
 #endif
 
 
-/* Similar to `gettext' but select the plural form corresponding to the
+/* Similar to 'gettext' but select the plural form corresponding to the
    number N.  */
 #ifdef _INTL_REDIRECT_INLINE
 extern char *libintl_ngettext (const char *__msgid1, const char *__msgid2,
@@ -197,7 +197,7 @@ extern char *ngettext (const char *__msgid1, const char *__msgid2,
        _INTL_MAY_RETURN_STRING_ARG (1) _INTL_MAY_RETURN_STRING_ARG (2);
 #endif
 
-/* Similar to `dgettext' but select the plural form corresponding to the
+/* Similar to 'dgettext' but select the plural form corresponding to the
    number N.  */
 #ifdef _INTL_REDIRECT_INLINE
 extern char *libintl_dngettext (const char *__domainname, const char *__msgid1,
@@ -219,7 +219,7 @@ extern char *dngettext (const char *__domainname,
        _INTL_MAY_RETURN_STRING_ARG (2) _INTL_MAY_RETURN_STRING_ARG (3);
 #endif
 
-/* Similar to `dcgettext' but select the plural form corresponding to the
+/* Similar to 'dcgettext' but select the plural form corresponding to the
    number N.  */
 #ifdef _INTL_REDIRECT_INLINE
 extern char *libintl_dcngettext (const char *__domainname,
index 9240dbefc01ac6dc0bf25ecb79f5811d87ad3d37..9e6c3628f9120bcbf9f9efc3e3154e316e644f05 100644 (file)
@@ -1,5 +1,5 @@
 /* vsprintf with automatic memory allocation.
-   Copyright (C) 2002-2004 Free Software Foundation, Inc.
+   Copyright (C) 2002-2004, 2012 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU Lesser General Public License as published by
@@ -28,7 +28,7 @@
 # if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5) || __STRICT_ANSI__
 #  define __attribute__(Spec) /* empty */
 # endif
-/* The __-protected variants of `format' and `printf' attributes
+/* The __-protected variants of 'format' and 'printf' attributes
    are accepted by gcc versions 2.6.4 (effectively 2.7) and later.  */
 # if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 7)
 #  define __format__ format
index 0c7fc539ef59509e4244aac240fd23e572a8a2e7..ef287351daa1fe2a81cae1c7d552bd2634051abd 100644 (file)
@@ -1,3 +1,12 @@
+2012-01-26  Bruno Haible  <bruno@clisp.org>
+
+       Modernize quoting.
+       * autosprintf.in.h: Quote 'like this', not `like this', as per the
+       recent change to the GNU coding standards.
+       * vasnprintf.h: Likewise.
+       * vasprintf.h: Likewise.
+       * INSTALL: Process through sed -e "s/\`\([^']*\)'/‘\1’/g"
+
 2012-01-04  Bruno Haible  <bruno@clisp.org>
 
        Talk about "native Windows API", not "Win32".
index cc6a29ed7e604bc3f82d8d7a2ea2eac56557b310..671b157a6429121883c370dbfd80f4b09217cb26 100644 (file)
@@ -4,56 +4,56 @@ Prerequisites
 =============
 
    This package depends on a few other packages.  They are listed in
-the file `DEPENDENCIES'.  It is recommended to install the listed
+the file ‘DEPENDENCIES’.  It is recommended to install the listed
 packages before installing this package.
 
 Basic Installation
 ==================
 
-   The `configure' shell script attempts to guess correct values for
+   The ‘configure’ shell script attempts to guess correct values for
 various system-dependent variables used during compilation.  It uses
-those values to create a `Makefile' in each directory of the package.
-It may also create one or more `.h' files containing system-dependent
-definitions.  Finally, it creates a shell script `config.status' that
+those values to create a ‘Makefile’ in each directory of the package.
+It may also create one or more ‘.h’ files containing system-dependent
+definitions.  Finally, it creates a shell script ‘config.status’ that
 you can run in the future to recreate the current configuration, a file
-`config.cache' that saves the results of its tests to speed up
-reconfiguring, and a file `config.log' containing compiler output
-(useful mainly for debugging `configure').
+‘config.cache’ that saves the results of its tests to speed up
+reconfiguring, and a file ‘config.log’ containing compiler output
+(useful mainly for debugging ‘configure’).
 
    If you need to do unusual things to compile the package, please try
-to figure out how `configure' could check whether to do them, and mail
-diffs or instructions to the address given in the `README' so they can
-be considered for the next release.  If at some point `config.cache'
+to figure out how ‘configure’ could check whether to do them, and mail
+diffs or instructions to the address given in the ‘README’ so they can
+be considered for the next release.  If at some point ‘config.cache’
 contains results you don't want to keep, you may remove or edit it.
 
-   The file `configure.ac' is used to create `configure' by a program
-called `autoconf'.  You only need `configure.ac' if you want to change
-it or regenerate `configure' using a newer version of `autoconf'.
+   The file ‘configure.ac’ is used to create ‘configure’ by a program
+called ‘autoconf’.  You only need ‘configure.ac’ if you want to change
+it or regenerate ‘configure’ using a newer version of ‘autoconf’.
 
 The simplest way to compile this package is:
 
-  1. `cd' to the directory containing the package's source code and type
-     `./configure' to configure the package for your system.  If you're
-     using `csh' on an old version of System V, you might need to type
-     `sh ./configure' instead to prevent `csh' from trying to execute
-     `configure' itself.
+  1. ‘cd’ to the directory containing the package's source code and type
+     ‘./configure’ to configure the package for your system.  If you're
+     using ‘csh’ on an old version of System V, you might need to type
+     ‘sh ./configure’ instead to prevent ‘csh’ from trying to execute
+     ‘configure’ itself.
 
-     Running `configure' takes awhile.  While running, it prints some
+     Running ‘configure’ takes awhile.  While running, it prints some
      messages telling which features it is checking for.
 
-  2. Type `make' to compile the package.
+  2. Type ‘make’ to compile the package.
 
-  3. Optionally, type `make check' to run any self-tests that come with
+  3. Optionally, type ‘make check’ to run any self-tests that come with
      the package.
 
-  4. Type `make install' to install the programs and any data files and
+  4. Type ‘make install’ to install the programs and any data files and
      documentation.
 
   5. You can remove the program binaries and object files from the
-     source code directory by typing `make clean'.  To also remove the
-     files that `configure' created (so you can compile the package for
-     a different kind of computer), type `make distclean'.  There is
-     also a `make maintainer-clean' target, but that is intended mainly
+     source code directory by typing ‘make clean’.  To also remove the
+     files that ‘configure’ created (so you can compile the package for
+     a different kind of computer), type ‘make distclean’.  There is
+     also a ‘make maintainer-clean’ target, but that is intended mainly
      for the package's developers.  If you use it, you may have to get
      all sorts of other programs in order to regenerate files that came
      with the distribution.
@@ -62,7 +62,7 @@ Compilers and Options
 =====================
 
    Some systems require unusual options for compilation or linking that
-the `configure' script does not know about.  You can give `configure'
+the ‘configure’ script does not know about.  You can give ‘configure’
 initial values for variables as arguments.  You can do it like this:
      ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix
 
@@ -71,16 +71,16 @@ Compiling For Multiple Architectures
 
    You can compile the package for more than one kind of computer at the
 same time, by placing the object files for each architecture in their
-own directory.  To do this, you must use a version of `make' that
-supports the `VPATH' variable, such as GNU `make'.  `cd' to the
+own directory.  To do this, you must use a version of ‘make’ that
+supports the ‘VPATH’ variable, such as GNU ‘make’.  ‘cd’ to the
 directory where you want the object files and executables to go and run
-the `configure' script.  `configure' automatically checks for the
-source code in the directory that `configure' is in and in `..'.
+the ‘configure’ script.  ‘configure’ automatically checks for the
+source code in the directory that ‘configure’ is in and in ‘..’.
 
-   If you have to use a `make' that does not supports the `VPATH'
+   If you have to use a ‘make’ that does not supports the ‘VPATH’
 variable, you have to compile the package for one architecture at a time
 in the source code directory.  After you have installed the package for
-one architecture, use `make distclean' before reconfiguring for another
+one architecture, use ‘make distclean’ before reconfiguring for another
 architecture.
 
    On MacOS X 10.5 and later systems, you can create libraries and
@@ -100,25 +100,25 @@ using the 'lipo' tool if you have problems.
 Installation Names
 ==================
 
-   By default, `make install' will install the package's files in
-`/usr/local/bin', `/usr/local/man', etc.  You can specify an
-installation prefix other than `/usr/local' by giving `configure' the
-option `--prefix=PATH'.
+   By default, ‘make install’ will install the package's files in
+‘/usr/local/bin’, ‘/usr/local/man’, etc.  You can specify an
+installation prefix other than ‘/usr/local’ by giving ‘configure’ the
+option ‘--prefix=PATH’.
 
    You can specify separate installation prefixes for
 architecture-specific files and architecture-independent files.  If you
-give `configure' the option `--exec-prefix=PATH', the package will use
+give ‘configure’ the option ‘--exec-prefix=PATH’, the package will use
 PATH as the prefix for installing programs and libraries.
 Documentation and other data files will still use the regular prefix.
 
    In addition, if you use an unusual directory layout you can give
-options like `--bindir=PATH' to specify different values for particular
-kinds of files.  Run `configure --help' for a list of the directories
+options like ‘--bindir=PATH’ to specify different values for particular
+kinds of files.  Run ‘configure --help’ for a list of the directories
 you can set and what kinds of files go in them.
 
    If the package supports it, you can cause programs to be installed
-with an extra prefix or suffix on their names by giving `configure' the
-option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
+with an extra prefix or suffix on their names by giving ‘configure’ the
+option ‘--program-prefix=PREFIX’ or ‘--program-suffix=SUFFIX’.
 
 Enabling Relocatability
 =======================
@@ -127,12 +127,12 @@ Enabling Relocatability
 that packages are not relocatable.  It means a user cannot copy a
 program, installed by another user on the same machine, to his home
 directory, and have it work correctly (including i18n).  So many users
-need to go through `configure; make; make install' with all its
+need to go through ‘configure; make; make install’ with all its
 dependencies, options, and hurdles.
 
    Red Hat, Debian, and similar package systems solve the "ease of
-installation" problem, but they hardwire path names, usually to `/usr'
-or `/usr/local'.  This means that users need root privileges to install
+installation" problem, but they hardwire path names, usually to ‘/usr’
+or ‘/usr/local’.  This means that users need root privileges to install
 a binary package, and prevents installing two different versions of the
 same binary package.
 
@@ -142,24 +142,24 @@ and moved programs, and invoke them through the symlink. It is possible
 to do the same thing with a hard link _only_ if the hard link file is
 in the same directory as the real program.
 
-   To configure a program to be relocatable, add `--enable-relocatable'
-to the `configure' command line.
+   To configure a program to be relocatable, add ‘--enable-relocatable’
+to the ‘configure’ command line.
 
    On some OSes the executables remember the location of shared
 libraries and prefer them over any other search path.  Therefore, such
 an executable will look for its shared libraries first in the original
 installation directory and only then in the current installation
-directory.  Thus, for reliability, it is best to also give a `--prefix'
+directory.  Thus, for reliability, it is best to also give a ‘--prefix’
 option pointing to a directory that does not exist now and which never
-will be created, e.g.  `--prefix=/nonexistent'.  You may use
-`DESTDIR=DEST-DIR' on the `make' command line to avoid installing into
+will be created, e.g.  ‘--prefix=/nonexistent’.  You may use
+‘DESTDIR=DEST-DIR’ on the ‘make’ command line to avoid installing into
 that directory.
 
    We do not recommend using a prefix writable by unprivileged users
-(e.g. `/tmp/inst$$') because such a directory can be recreated by an
+(e.g. ‘/tmp/inst$$’) because such a directory can be recreated by an
 unprivileged user after the original directory has been removed.  We
 also do not recommend prefixes that might be behind an automounter
-(e.g. `$HOME/inst$$') because of the performance impact of directory
+(e.g. ‘$HOME/inst$$’) because of the performance impact of directory
 searching.
 
    Here's a sample installation run that takes into account all these
@@ -169,10 +169,10 @@ recommendations:
      make
      make install DESTDIR=/tmp/inst$$
 
-   Installation with `--enable-relocatable' will not work for setuid or
+   Installation with ‘--enable-relocatable’ will not work for setuid or
 setgid executables, because such executables search only system library
 paths for security reasons.  Also, installation with
-`--enable-relocatable' might not work on OpenBSD, when the package
+‘--enable-relocatable’ might not work on OpenBSD, when the package
 contains shared libraries and libtool versions 1.5.xx are used.
 
    The runtime penalty and size penalty are negligible on GNU/Linux
@@ -183,25 +183,25 @@ and executes the real program).
 Optional Features
 =================
 
-   Some packages pay attention to `--enable-FEATURE' options to
-`configure', where FEATURE indicates an optional part of the package.
-They may also pay attention to `--with-PACKAGE' options, where PACKAGE
-is something like `gnu-as' or `x' (for the X Window System).  The
-`README' should mention any `--enable-' and `--with-' options that the
+   Some packages pay attention to ‘--enable-FEATURE’ options to
+‘configure’, where FEATURE indicates an optional part of the package.
+They may also pay attention to ‘--with-PACKAGE’ options, where PACKAGE
+is something like ‘gnu-as’ or ‘x’ (for the X Window System).  The
+‘README’ should mention any ‘--enable-’ and ‘--with-’ options that the
 package recognizes.
 
-   For packages that use the X Window System, `configure' can usually
+   For packages that use the X Window System, ‘configure’ can usually
 find the X include and library files automatically, but if it doesn't,
-you can use the `configure' options `--x-includes=DIR' and
-`--x-libraries=DIR' to specify their locations.
+you can use the ‘configure’ options ‘--x-includes=DIR’ and
+‘--x-libraries=DIR’ to specify their locations.
 
    For packages that use the GNU libiconv library, you can use the
-`configure' option `--with-libiconv-prefix' to specify the prefix you
+‘configure’ option ‘--with-libiconv-prefix’ to specify the prefix you
 used while installing GNU libiconv.  This option is not necessary if
 that other prefix is the same as the one now specified through --prefix.
 
    For packages that use the GNU libintl library, you can use the
-`configure' option `--with-libintl-prefix' to specify the prefix you
+‘configure’ option ‘--with-libintl-prefix’ to specify the prefix you
 used while installing GNU gettext-runtime.  This option is not necessary if
 that other prefix is the same as the one now specified through --prefix.
 
@@ -217,7 +217,7 @@ to use an ANSI C compiler:
 and if that doesn't work, install pre-built binaries of GCC for HP-UX.
 
    On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
-parse its `<wchar.h>' header file.  The option `-nodtk' can be used as
+parse its ‘<wchar.h>’ header file.  The option ‘-nodtk’ can be used as
 a workaround.  If GNU CC is not installed, it is therefore recommended
 to try
 
@@ -246,62 +246,62 @@ use the following options:
 Specifying the System Type
 ==========================
 
-   There may be some features `configure' can not figure out
+   There may be some features ‘configure’ can not figure out
 automatically, but needs to determine by the type of host the package
-will run on.  Usually `configure' can figure that out, but if it prints
+will run on.  Usually ‘configure’ can figure that out, but if it prints
 a message saying it can not guess the host type, give it the
-`--host=TYPE' option.  TYPE can either be a short name for the system
-type, such as `sun4', or a canonical name with three fields:
+‘--host=TYPE’ option.  TYPE can either be a short name for the system
+type, such as ‘sun4’, or a canonical name with three fields:
      CPU-COMPANY-SYSTEM
 
-See the file `config.sub' for the possible values of each field.  If
-`config.sub' isn't included in this package, then this package doesn't
+See the file ‘config.sub’ for the possible values of each field.  If
+‘config.sub’ isn't included in this package, then this package doesn't
 need to know the host type.
 
    If you are building compiler tools for cross-compiling, you can also
-use the `--target=TYPE' option to select the type of system they will
-produce code for and the `--build=TYPE' option to select the type of
+use the ‘--target=TYPE’ option to select the type of system they will
+produce code for and the ‘--build=TYPE’ option to select the type of
 system on which you are compiling the package.
 
 Sharing Defaults
 ================
 
-   If you want to set default values for `configure' scripts to share,
-you can create a site shell script called `config.site' that gives
-default values for variables like `CC', `cache_file', and `prefix'.
-`configure' looks for `PREFIX/share/config.site' if it exists, then
-`PREFIX/etc/config.site' if it exists.  Or, you can set the
-`CONFIG_SITE' environment variable to the location of the site script.
-A warning: not all `configure' scripts look for a site script.
+   If you want to set default values for ‘configure’ scripts to share,
+you can create a site shell script called ‘config.site’ that gives
+default values for variables like ‘CC’, ‘cache_file’, and ‘prefix’.
+‘configure’ looks for ‘PREFIX/share/config.site’ if it exists, then
+‘PREFIX/etc/config.site’ if it exists.  Or, you can set the
+‘CONFIG_SITE’ environment variable to the location of the site script.
+A warning: not all ‘configure’ scripts look for a site script.
 
 Operation Controls
 ==================
 
-   `configure' recognizes the following options to control how it
+   ‘configure’ recognizes the following options to control how it
 operates.
 
-`--cache-file=FILE'
+‘--cache-file=FILE’
      Use and save the results of the tests in FILE instead of
-     `./config.cache'.  Set FILE to `/dev/null' to disable caching, for
-     debugging `configure'.
+     ‘./config.cache’.  Set FILE to ‘/dev/null’ to disable caching, for
+     debugging ‘configure’.
 
-`--help'
-     Print a summary of the options to `configure', and exit.
+‘--help’
+     Print a summary of the options to ‘configure’, and exit.
 
-`--quiet'
-`--silent'
-`-q'
+‘--quiet’
+‘--silent’
+‘-q’
      Do not print messages saying which checks are being made.  To
-     suppress all normal output, redirect it to `/dev/null' (any error
+     suppress all normal output, redirect it to ‘/dev/null’ (any error
      messages will still be shown).
 
-`--srcdir=DIR'
+‘--srcdir=DIR’
      Look for the package's source code in directory DIR.  Usually
-     `configure' can determine that directory automatically.
+     ‘configure’ can determine that directory automatically.
 
-`--version'
-     Print the version of Autoconf used to generate the `configure'
+‘--version’
+     Print the version of Autoconf used to generate the ‘configure’
      script, and exit.
 
-`configure' also accepts some other, not widely useful, options.
+‘configure’ also accepts some other, not widely useful, options.
 
index efa29f82391874bfe7cd6ee5f91d9a7fcff26c70..74f946c68da33499ca01da95a0638c1bec0d5764 100644 (file)
@@ -1,5 +1,5 @@
 /* Class autosprintf - formatted output to an ostream.
-   Copyright (C) 2002 Free Software Foundation, Inc.
+   Copyright (C) 2002, 2012 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU Lesser General Public License as published by
@@ -22,7 +22,7 @@
 # if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5) || __STRICT_ANSI__
 #  define __attribute__(Spec) /* empty */
 # endif
-/* The __-protected variants of `format' and `printf' attributes
+/* The __-protected variants of 'format' and 'printf' attributes
    are accepted by gcc versions 2.6.4 (effectively 2.7) and later.  */
 # if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 7)
 #  define __format__ format
index 9240dbefc01ac6dc0bf25ecb79f5811d87ad3d37..9e6c3628f9120bcbf9f9efc3e3154e316e644f05 100644 (file)
@@ -1,5 +1,5 @@
 /* vsprintf with automatic memory allocation.
-   Copyright (C) 2002-2004 Free Software Foundation, Inc.
+   Copyright (C) 2002-2004, 2012 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU Lesser General Public License as published by
@@ -28,7 +28,7 @@
 # if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5) || __STRICT_ANSI__
 #  define __attribute__(Spec) /* empty */
 # endif
-/* The __-protected variants of `format' and `printf' attributes
+/* The __-protected variants of 'format' and 'printf' attributes
    are accepted by gcc versions 2.6.4 (effectively 2.7) and later.  */
 # if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 7)
 #  define __format__ format
index 850fa2994c43761e4ce33e855f8c6679517ee1b5..0ed89f2d53563212478940a320e0745eceb71fec 100644 (file)
@@ -1,5 +1,5 @@
 /* vsprintf with automatic memory allocation.
-   Copyright (C) 2002-2003 Free Software Foundation, Inc.
+   Copyright (C) 2002-2003, 2012 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU Lesser General Public License as published by
@@ -25,7 +25,7 @@
 # if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5) || __STRICT_ANSI__
 #  define __attribute__(Spec) /* empty */
 # endif
-/* The __-protected variants of `format' and `printf' attributes
+/* The __-protected variants of 'format' and 'printf' attributes
    are accepted by gcc versions 2.6.4 (effectively 2.7) and later.  */
 # if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 7)
 #  define __format__ format
index 479108d753c79d35c0c3a14d0b4c7613a4011128..2ad4faccab98cb65ce241f720677ba53a54a7b21 100644 (file)
@@ -1,3 +1,11 @@
+2012-01-26  Bruno Haible  <bruno@clisp.org>
+
+       Modernize quoting.
+       * envsubst.c (usage): Quote 'like this', not `like this', as per the
+       recent change to the GNU coding standards.
+       * gettext.c (usage): Likewise.
+       * ngettext.c (usage): Likewise.
+
 2011-06-03  Bruno Haible  <bruno@clisp.org>
 
        Copyright: Use LGPL 2.1 instead of LGPL 2.0.
index 511c1d9cfe9e15a26c1724c1451b204172738b73..ddf3c43e95ad2f66a86687fe2abd46eaa1e2744b 100644 (file)
@@ -1,5 +1,5 @@
 /* Substitution of environment variables in shell format strings.
-   Copyright (C) 2003-2007 Free Software Foundation, Inc.
+   Copyright (C) 2003-2007, 2012 Free Software Foundation, Inc.
    Written by Bruno Haible <bruno@clisp.org>, 2003.
 
    This program is free software: you can redistribute it and/or modify
@@ -168,7 +168,7 @@ static void
 usage (int status)
 {
   if (status != EXIT_SUCCESS)
-    fprintf (stderr, _("Try `%s --help' for more information.\n"),
+    fprintf (stderr, _("Try '%s --help' for more information.\n"),
              program_name);
   else
     {
index 1453479535bb7bd89a981dde573295dad00c1887..b7961a693e542181cb4cce6088d5f5bbb1ae8952 100644 (file)
@@ -1,5 +1,5 @@
 /* gettext - retrieve text string from message catalog and print it.
-   Copyright (C) 1995-1997, 2000-2007 Free Software Foundation, Inc.
+   Copyright (C) 1995-1997, 2000-2007, 2012 Free Software Foundation, Inc.
    Written by Ulrich Drepper <drepper@gnu.ai.mit.edu>, May 1995.
 
    This program is free software: you can redistribute it and/or modify
@@ -38,7 +38,7 @@
 #define _(str) gettext (str)
 
 /* If true, add newline after last string.  This makes only sense in
-   the `echo' emulation mode.  */
+   the 'echo' emulation mode.  */
 static bool add_newline;
 
 /* If true, expand escape sequences in strings before looking in the
@@ -145,7 +145,7 @@ There is NO WARRANTY, to the extent permitted by law.\n\
     usage (EXIT_SUCCESS);
 
   /* We have two major modes: use following Uniforum spec and as
-     internationalized `echo' program.  */
+     internationalized 'echo' program.  */
   if (!do_shell)
     {
       /* We have to write a single strings translation to stdout.  */
@@ -201,7 +201,7 @@ There is NO WARRANTY, to the extent permitted by law.\n\
             if (domaindir != NULL && domaindir[0] != '\0')
               bindtextdomain (domain, domaindir);
 
-          /* We have to simulate `echo'.  All arguments are strings.  */
+          /* We have to simulate 'echo'.  All arguments are strings.  */
           do
             {
               msgid = argv[optind++];
@@ -235,7 +235,7 @@ static void
 usage (int status)
 {
   if (status != EXIT_SUCCESS)
-    fprintf (stderr, _("Try `%s --help' for more information.\n"),
+    fprintf (stderr, _("Try '%s --help' for more information.\n"),
              program_name);
   else
     {
@@ -266,7 +266,7 @@ If the TEXTDOMAIN parameter is not given, the domain is determined from the\n\
 environment variable TEXTDOMAIN.  If the message catalog is not found in the\n\
 regular directory, another location can be specified with the environment\n\
 variable TEXTDOMAINDIR.\n\
-When used with the -s option the program behaves like the `echo' command.\n\
+When used with the -s option the program behaves like the 'echo' command.\n\
 But it does not simply copy its arguments to stdout.  Instead those messages\n\
 found in the selected catalog are translated.\n\
 Standard search directory: %s\n"),
index 8a8ecb5bffd24c30db5bec7ffe3ada909c2499cf..3730c8043ae3bfc4216b35fd0fc5d77186f19588 100644 (file)
@@ -204,7 +204,7 @@ static void
 usage (int status)
 {
   if (status != EXIT_SUCCESS)
-    fprintf (stderr, _("Try `%s --help' for more information.\n"),
+    fprintf (stderr, _("Try '%s --help' for more information.\n"),
              program_name);
   else
     {
index 703ed32589f07baa725d31189407a4345a353be1..b405056b723929aebce77d60eefaa340a3d48f1e 100644 (file)
@@ -1,3 +1,8 @@
+2012-01-26  Bruno Haible  <bruno@clisp.org>
+
+       Modernize quoting.
+       * INSTALL: Process through sed -e "s/\`\([^']*\)'/‘\1’/g"
+
 2012-01-15  Bruno Haible  <bruno@clisp.org>
 
        Support for MSVC 9.
index cc6a29ed7e604bc3f82d8d7a2ea2eac56557b310..671b157a6429121883c370dbfd80f4b09217cb26 100644 (file)
@@ -4,56 +4,56 @@ Prerequisites
 =============
 
    This package depends on a few other packages.  They are listed in
-the file `DEPENDENCIES'.  It is recommended to install the listed
+the file ‘DEPENDENCIES’.  It is recommended to install the listed
 packages before installing this package.
 
 Basic Installation
 ==================
 
-   The `configure' shell script attempts to guess correct values for
+   The ‘configure’ shell script attempts to guess correct values for
 various system-dependent variables used during compilation.  It uses
-those values to create a `Makefile' in each directory of the package.
-It may also create one or more `.h' files containing system-dependent
-definitions.  Finally, it creates a shell script `config.status' that
+those values to create a ‘Makefile’ in each directory of the package.
+It may also create one or more ‘.h’ files containing system-dependent
+definitions.  Finally, it creates a shell script ‘config.status’ that
 you can run in the future to recreate the current configuration, a file
-`config.cache' that saves the results of its tests to speed up
-reconfiguring, and a file `config.log' containing compiler output
-(useful mainly for debugging `configure').
+‘config.cache’ that saves the results of its tests to speed up
+reconfiguring, and a file ‘config.log’ containing compiler output
+(useful mainly for debugging ‘configure’).
 
    If you need to do unusual things to compile the package, please try
-to figure out how `configure' could check whether to do them, and mail
-diffs or instructions to the address given in the `README' so they can
-be considered for the next release.  If at some point `config.cache'
+to figure out how ‘configure’ could check whether to do them, and mail
+diffs or instructions to the address given in the ‘README’ so they can
+be considered for the next release.  If at some point ‘config.cache’
 contains results you don't want to keep, you may remove or edit it.
 
-   The file `configure.ac' is used to create `configure' by a program
-called `autoconf'.  You only need `configure.ac' if you want to change
-it or regenerate `configure' using a newer version of `autoconf'.
+   The file ‘configure.ac’ is used to create ‘configure’ by a program
+called ‘autoconf’.  You only need ‘configure.ac’ if you want to change
+it or regenerate ‘configure’ using a newer version of ‘autoconf’.
 
 The simplest way to compile this package is:
 
-  1. `cd' to the directory containing the package's source code and type
-     `./configure' to configure the package for your system.  If you're
-     using `csh' on an old version of System V, you might need to type
-     `sh ./configure' instead to prevent `csh' from trying to execute
-     `configure' itself.
+  1. ‘cd’ to the directory containing the package's source code and type
+     ‘./configure’ to configure the package for your system.  If you're
+     using ‘csh’ on an old version of System V, you might need to type
+     ‘sh ./configure’ instead to prevent ‘csh’ from trying to execute
+     ‘configure’ itself.
 
-     Running `configure' takes awhile.  While running, it prints some
+     Running ‘configure’ takes awhile.  While running, it prints some
      messages telling which features it is checking for.
 
-  2. Type `make' to compile the package.
+  2. Type ‘make’ to compile the package.
 
-  3. Optionally, type `make check' to run any self-tests that come with
+  3. Optionally, type ‘make check’ to run any self-tests that come with
      the package.
 
-  4. Type `make install' to install the programs and any data files and
+  4. Type ‘make install’ to install the programs and any data files and
      documentation.
 
   5. You can remove the program binaries and object files from the
-     source code directory by typing `make clean'.  To also remove the
-     files that `configure' created (so you can compile the package for
-     a different kind of computer), type `make distclean'.  There is
-     also a `make maintainer-clean' target, but that is intended mainly
+     source code directory by typing ‘make clean’.  To also remove the
+     files that ‘configure’ created (so you can compile the package for
+     a different kind of computer), type ‘make distclean’.  There is
+     also a ‘make maintainer-clean’ target, but that is intended mainly
      for the package's developers.  If you use it, you may have to get
      all sorts of other programs in order to regenerate files that came
      with the distribution.
@@ -62,7 +62,7 @@ Compilers and Options
 =====================
 
    Some systems require unusual options for compilation or linking that
-the `configure' script does not know about.  You can give `configure'
+the ‘configure’ script does not know about.  You can give ‘configure’
 initial values for variables as arguments.  You can do it like this:
      ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix
 
@@ -71,16 +71,16 @@ Compiling For Multiple Architectures
 
    You can compile the package for more than one kind of computer at the
 same time, by placing the object files for each architecture in their
-own directory.  To do this, you must use a version of `make' that
-supports the `VPATH' variable, such as GNU `make'.  `cd' to the
+own directory.  To do this, you must use a version of ‘make’ that
+supports the ‘VPATH’ variable, such as GNU ‘make’.  ‘cd’ to the
 directory where you want the object files and executables to go and run
-the `configure' script.  `configure' automatically checks for the
-source code in the directory that `configure' is in and in `..'.
+the ‘configure’ script.  ‘configure’ automatically checks for the
+source code in the directory that ‘configure’ is in and in ‘..’.
 
-   If you have to use a `make' that does not supports the `VPATH'
+   If you have to use a ‘make’ that does not supports the ‘VPATH’
 variable, you have to compile the package for one architecture at a time
 in the source code directory.  After you have installed the package for
-one architecture, use `make distclean' before reconfiguring for another
+one architecture, use ‘make distclean’ before reconfiguring for another
 architecture.
 
    On MacOS X 10.5 and later systems, you can create libraries and
@@ -100,25 +100,25 @@ using the 'lipo' tool if you have problems.
 Installation Names
 ==================
 
-   By default, `make install' will install the package's files in
-`/usr/local/bin', `/usr/local/man', etc.  You can specify an
-installation prefix other than `/usr/local' by giving `configure' the
-option `--prefix=PATH'.
+   By default, ‘make install’ will install the package's files in
+‘/usr/local/bin’, ‘/usr/local/man’, etc.  You can specify an
+installation prefix other than ‘/usr/local’ by giving ‘configure’ the
+option ‘--prefix=PATH’.
 
    You can specify separate installation prefixes for
 architecture-specific files and architecture-independent files.  If you
-give `configure' the option `--exec-prefix=PATH', the package will use
+give ‘configure’ the option ‘--exec-prefix=PATH’, the package will use
 PATH as the prefix for installing programs and libraries.
 Documentation and other data files will still use the regular prefix.
 
    In addition, if you use an unusual directory layout you can give
-options like `--bindir=PATH' to specify different values for particular
-kinds of files.  Run `configure --help' for a list of the directories
+options like ‘--bindir=PATH’ to specify different values for particular
+kinds of files.  Run ‘configure --help’ for a list of the directories
 you can set and what kinds of files go in them.
 
    If the package supports it, you can cause programs to be installed
-with an extra prefix or suffix on their names by giving `configure' the
-option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
+with an extra prefix or suffix on their names by giving ‘configure’ the
+option ‘--program-prefix=PREFIX’ or ‘--program-suffix=SUFFIX’.
 
 Enabling Relocatability
 =======================
@@ -127,12 +127,12 @@ Enabling Relocatability
 that packages are not relocatable.  It means a user cannot copy a
 program, installed by another user on the same machine, to his home
 directory, and have it work correctly (including i18n).  So many users
-need to go through `configure; make; make install' with all its
+need to go through ‘configure; make; make install’ with all its
 dependencies, options, and hurdles.
 
    Red Hat, Debian, and similar package systems solve the "ease of
-installation" problem, but they hardwire path names, usually to `/usr'
-or `/usr/local'.  This means that users need root privileges to install
+installation" problem, but they hardwire path names, usually to ‘/usr’
+or ‘/usr/local’.  This means that users need root privileges to install
 a binary package, and prevents installing two different versions of the
 same binary package.
 
@@ -142,24 +142,24 @@ and moved programs, and invoke them through the symlink. It is possible
 to do the same thing with a hard link _only_ if the hard link file is
 in the same directory as the real program.
 
-   To configure a program to be relocatable, add `--enable-relocatable'
-to the `configure' command line.
+   To configure a program to be relocatable, add ‘--enable-relocatable’
+to the ‘configure’ command line.
 
    On some OSes the executables remember the location of shared
 libraries and prefer them over any other search path.  Therefore, such
 an executable will look for its shared libraries first in the original
 installation directory and only then in the current installation
-directory.  Thus, for reliability, it is best to also give a `--prefix'
+directory.  Thus, for reliability, it is best to also give a ‘--prefix’
 option pointing to a directory that does not exist now and which never
-will be created, e.g.  `--prefix=/nonexistent'.  You may use
-`DESTDIR=DEST-DIR' on the `make' command line to avoid installing into
+will be created, e.g.  ‘--prefix=/nonexistent’.  You may use
+‘DESTDIR=DEST-DIR’ on the ‘make’ command line to avoid installing into
 that directory.
 
    We do not recommend using a prefix writable by unprivileged users
-(e.g. `/tmp/inst$$') because such a directory can be recreated by an
+(e.g. ‘/tmp/inst$$’) because such a directory can be recreated by an
 unprivileged user after the original directory has been removed.  We
 also do not recommend prefixes that might be behind an automounter
-(e.g. `$HOME/inst$$') because of the performance impact of directory
+(e.g. ‘$HOME/inst$$’) because of the performance impact of directory
 searching.
 
    Here's a sample installation run that takes into account all these
@@ -169,10 +169,10 @@ recommendations:
      make
      make install DESTDIR=/tmp/inst$$
 
-   Installation with `--enable-relocatable' will not work for setuid or
+   Installation with ‘--enable-relocatable’ will not work for setuid or
 setgid executables, because such executables search only system library
 paths for security reasons.  Also, installation with
-`--enable-relocatable' might not work on OpenBSD, when the package
+‘--enable-relocatable’ might not work on OpenBSD, when the package
 contains shared libraries and libtool versions 1.5.xx are used.
 
    The runtime penalty and size penalty are negligible on GNU/Linux
@@ -183,25 +183,25 @@ and executes the real program).
 Optional Features
 =================
 
-   Some packages pay attention to `--enable-FEATURE' options to
-`configure', where FEATURE indicates an optional part of the package.
-They may also pay attention to `--with-PACKAGE' options, where PACKAGE
-is something like `gnu-as' or `x' (for the X Window System).  The
-`README' should mention any `--enable-' and `--with-' options that the
+   Some packages pay attention to ‘--enable-FEATURE’ options to
+‘configure’, where FEATURE indicates an optional part of the package.
+They may also pay attention to ‘--with-PACKAGE’ options, where PACKAGE
+is something like ‘gnu-as’ or ‘x’ (for the X Window System).  The
+‘README’ should mention any ‘--enable-’ and ‘--with-’ options that the
 package recognizes.
 
-   For packages that use the X Window System, `configure' can usually
+   For packages that use the X Window System, ‘configure’ can usually
 find the X include and library files automatically, but if it doesn't,
-you can use the `configure' options `--x-includes=DIR' and
-`--x-libraries=DIR' to specify their locations.
+you can use the ‘configure’ options ‘--x-includes=DIR’ and
+‘--x-libraries=DIR’ to specify their locations.
 
    For packages that use the GNU libiconv library, you can use the
-`configure' option `--with-libiconv-prefix' to specify the prefix you
+‘configure’ option ‘--with-libiconv-prefix’ to specify the prefix you
 used while installing GNU libiconv.  This option is not necessary if
 that other prefix is the same as the one now specified through --prefix.
 
    For packages that use the GNU libintl library, you can use the
-`configure' option `--with-libintl-prefix' to specify the prefix you
+‘configure’ option ‘--with-libintl-prefix’ to specify the prefix you
 used while installing GNU gettext-runtime.  This option is not necessary if
 that other prefix is the same as the one now specified through --prefix.
 
@@ -217,7 +217,7 @@ to use an ANSI C compiler:
 and if that doesn't work, install pre-built binaries of GCC for HP-UX.
 
    On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
-parse its `<wchar.h>' header file.  The option `-nodtk' can be used as
+parse its ‘<wchar.h>’ header file.  The option ‘-nodtk’ can be used as
 a workaround.  If GNU CC is not installed, it is therefore recommended
 to try
 
@@ -246,62 +246,62 @@ use the following options:
 Specifying the System Type
 ==========================
 
-   There may be some features `configure' can not figure out
+   There may be some features ‘configure’ can not figure out
 automatically, but needs to determine by the type of host the package
-will run on.  Usually `configure' can figure that out, but if it prints
+will run on.  Usually ‘configure’ can figure that out, but if it prints
 a message saying it can not guess the host type, give it the
-`--host=TYPE' option.  TYPE can either be a short name for the system
-type, such as `sun4', or a canonical name with three fields:
+‘--host=TYPE’ option.  TYPE can either be a short name for the system
+type, such as ‘sun4’, or a canonical name with three fields:
      CPU-COMPANY-SYSTEM
 
-See the file `config.sub' for the possible values of each field.  If
-`config.sub' isn't included in this package, then this package doesn't
+See the file ‘config.sub’ for the possible values of each field.  If
+‘config.sub’ isn't included in this package, then this package doesn't
 need to know the host type.
 
    If you are building compiler tools for cross-compiling, you can also
-use the `--target=TYPE' option to select the type of system they will
-produce code for and the `--build=TYPE' option to select the type of
+use the ‘--target=TYPE’ option to select the type of system they will
+produce code for and the ‘--build=TYPE’ option to select the type of
 system on which you are compiling the package.
 
 Sharing Defaults
 ================
 
-   If you want to set default values for `configure' scripts to share,
-you can create a site shell script called `config.site' that gives
-default values for variables like `CC', `cache_file', and `prefix'.
-`configure' looks for `PREFIX/share/config.site' if it exists, then
-`PREFIX/etc/config.site' if it exists.  Or, you can set the
-`CONFIG_SITE' environment variable to the location of the site script.
-A warning: not all `configure' scripts look for a site script.
+   If you want to set default values for ‘configure’ scripts to share,
+you can create a site shell script called ‘config.site’ that gives
+default values for variables like ‘CC’, ‘cache_file’, and ‘prefix’.
+‘configure’ looks for ‘PREFIX/share/config.site’ if it exists, then
+‘PREFIX/etc/config.site’ if it exists.  Or, you can set the
+‘CONFIG_SITE’ environment variable to the location of the site script.
+A warning: not all ‘configure’ scripts look for a site script.
 
 Operation Controls
 ==================
 
-   `configure' recognizes the following options to control how it
+   ‘configure’ recognizes the following options to control how it
 operates.
 
-`--cache-file=FILE'
+‘--cache-file=FILE’
      Use and save the results of the tests in FILE instead of
-     `./config.cache'.  Set FILE to `/dev/null' to disable caching, for
-     debugging `configure'.
+     ‘./config.cache’.  Set FILE to ‘/dev/null’ to disable caching, for
+     debugging ‘configure’.
 
-`--help'
-     Print a summary of the options to `configure', and exit.
+‘--help’
+     Print a summary of the options to ‘configure’, and exit.
 
-`--quiet'
-`--silent'
-`-q'
+‘--quiet’
+‘--silent’
+‘-q’
      Do not print messages saying which checks are being made.  To
-     suppress all normal output, redirect it to `/dev/null' (any error
+     suppress all normal output, redirect it to ‘/dev/null’ (any error
      messages will still be shown).
 
-`--srcdir=DIR'
+‘--srcdir=DIR’
      Look for the package's source code in directory DIR.  Usually
-     `configure' can determine that directory automatically.
+     ‘configure’ can determine that directory automatically.
 
-`--version'
-     Print the version of Autoconf used to generate the `configure'
+‘--version’
+     Print the version of Autoconf used to generate the ‘configure’
      script, and exit.
 
-`configure' also accepts some other, not widely useful, options.
+‘configure’ also accepts some other, not widely useful, options.
 
index 5a3294284f3a91c3d5bd5db9786a342af722efc9..8cfa78d39c98b36967330f315d6d61eb9ea7f4ad 100644 (file)
@@ -1,3 +1,13 @@
+2012-01-26  Bruno Haible  <bruno@clisp.org>
+
+       Modernize quoting.
+       * FAQ.html: Quote 'like this', not `like this', as per the recent
+       change to the GNU coding standards.
+       * ISO_3166: Likewise.
+       * ISO_3166_de: Likewise.
+       * tutorial.html: Process through
+       sed -e "s/\`\`\([^']*\)''/“\1”/g" | sed -e "s/\`\([^']*\)'/‘\1’/g"
+
 2011-07-08  Bruno Haible  <bruno@clisp.org>
 
        * gettext.texi (aclocal): Recommend the use of aclocal's --install
index c93c185317f5d534595da12b83912642dd5d339f..ad0dfeb55da7b528c83606e2062480da18ea9499 100644 (file)
@@ -52,7 +52,7 @@ environment variable doesn't have any effect</a></li>
 </ul>
 <h3>Other</h3>
 <ul>
-  <li><a href="#newline">What does this mean: “`msgid' and `msgstr'
+  <li><a href="#newline">What does this mean: “'msgid' and 'msgstr'
 entries do not both
 end with '\n'”</a></li>
   <li><a href="#translit">German umlauts are displayed like “ge"andert”
@@ -698,7 +698,7 @@ ENOMEM */</code><br>
   </li>
 </ul>
 <h3>Other</h3>
-<h4><a name="newline"></a>What does this mean: “`msgid' and `msgstr'
+<h4><a name="newline"></a>What does this mean: “'msgid' and 'msgstr'
 entries do not both end
 with '\n'”</h4>
 It means that when the original string ends in a newline, your
index 4f21440183674fd96e86988ca17fd75b2d591a49..c0ace90f624ab702d07fe3de171410ca514527ef 100644 (file)
@@ -16,7 +16,7 @@
 # Columns are separated by a single tab.
 # The table is sorted by country code.
 #
-# Lines beginning with `#' are comments.
+# Lines beginning with '#' are comments.
 #
 #country-
 #code  country name
index 1f0b83376c5e17a065c37e521e5dde31200df975..b95cd8a1159c609df2f70ba6f4936b4755e51e08 100644 (file)
@@ -10,7 +10,7 @@
 # Columns are separated by a single tab.
 # The table is sorted by 2-letter country code.
 #
-# Lines beginning with `#' are comments.
+# Lines beginning with '#' are comments.
 #
 AD     AND     Andorra
 AE     ARE     Vereinigte Arabische Emirate
index 45e80ce5e8de2f2450a25ed31c3ac69f75e89f60..d2f3be3ce626b14bf50c1190b1c2457c7e9866ee 100644 (file)
@@ -89,7 +89,7 @@ Portability Guide, is also in use, but we shall not discuss that here.
 A simple example</A>
 </H1>
 <A NAME="sec:simple"></A>Our first example of using <TT>gettext</TT> will be the good old Hello World program,
-whose sole function is to print the phrase ``Hello, world!'' to the terminal.
+whose sole function is to print the phrase “Hello, world!” to the terminal.
 The internationalized version of this program might be saved in hello.c as:
 <PRE>
 1    #include &lt;libintl.h&gt;
@@ -116,7 +116,7 @@ using glibc.
 The programmer's viewpoint</A>
 </H2>
    As expected, when the <TT>hello</TT> executable is run under the default locale
-(usually the C locale) it prints ``Hello, world!'' in the terminal. Besides
+(usually the C locale) it prints “Hello, world!” in the terminal. Besides
 some initial setup work, the only additional burden faced by the programmer is
 to replace any string to be printed with <TT>gettext(string)</TT>, i.e., to
 instead pass the string as an argument to the <TT>gettext</TT> function. For lazy
@@ -140,24 +140,24 @@ Let us dissect the program line-by-line.
   and an empty string as the second one, initializes the entire current locale
   of the program as per environment variables set by the user. In other words,
   the program locale is initialized to match that of the user. For details see
-  ``man <TT>setlocale</TT>.''
+  “man <TT>setlocale</TT>.”
 </LI>
 <LI>The <TT>bindtextdomain</TT> function on line 8 sets the base directory for the
   message catalogs for a given message domain. A message domain is a set of
   translatable messages, with every software package typically having its own
-  domain. Here, we have used ``hello'' as the name of the message domain for
+  domain. Here, we have used “hello” as the name of the message domain for
   our toy program. As the second argument, /usr/share/locale, is the default
   system location for message catalogs, what we are saying here is that we are
   going to place the message catalog in the default system directory. Thus, we
   could have dispensed with the call to <TT>bindtextdomain</TT> here, and this
   function is useful only if the message catalogs are installed in a
   non-standard place, e.g., a packaged software distribution might have
-  the catalogs under a po/ directory under its own main directory. See ``man
-  <TT>bindtextdomain</TT>'' for details.
+  the catalogs under a po/ directory under its own main directory. See man
+  <TT>bindtextdomain</TT> for details.
 </LI>
 <LI>The <TT>textdomain</TT> call on line 9 sets the message domain of the current
-  program to ``hello,'' i.e., the name that we are using for our example
-  program. ``man textdomain'' will give usage details for the function.
+  program to “hello,” i.e., the name that we are using for our example
+  program. “man textdomain” will give usage details for the function.
 </LI>
 <LI>Finally, on line 10, we have replaced what would normally have been,
 <PRE>
@@ -192,7 +192,7 @@ argument to the -o option).
 The message domain for the program should be specified as the argument
 to the -d option, and should match the domain specified in the call to
 <TT>textdomain</TT> (on line 9 of the program source). Other details on how to use
-<TT>gettext</TT> can be found from ``man gettext.''
+<TT>gettext</TT> can be found from “man gettext.”
 
 <P>
 A .pot (portable object template) file is used as the basis for translating
@@ -279,14 +279,14 @@ work consists of typing the Oriya text that is to serve as translations for
 the corresponding English string. For the <TT>msgstr</TT> line in each of the
 remaining entries, add the translated Oriya text between the double quotes;
 the translation corresponding to the English phrase in the <TT>msgid</TT> string
-for the entry. For example, for the phrase ``Hello world!<!-- MATH
+for the entry. For example, for the phrase Hello world!<!-- MATH
  $\backslash$
  -->
-<SPAN CLASS="MATH">&#92;</SPAN>n'' in
-oriya.po, we could enter ``&#x0b28;&#x0b2e;&#x0b38;&#x0b4d;&#x0b15;&#x0b3e;&#x0b30;<!-- MATH
+<SPAN CLASS="MATH">&#92;</SPAN>n in
+oriya.po, we could enter &#x0b28;&#x0b2e;&#x0b38;&#x0b4d;&#x0b15;&#x0b3e;&#x0b30;<!-- MATH
  $\backslash$
  -->
-<SPAN CLASS="MATH">&#92;</SPAN>n''. The final
+<SPAN CLASS="MATH">&#92;</SPAN>n. The final
 oriya.po file might look like:
 <PRE>
   # Oriya translations for hello example package.
@@ -346,8 +346,8 @@ given by the second argument to <TT>bindtextdomain</TT>. The final location of t
 file will be in the sub-directory LL/LC_MESSAGES or LL_CC/LC_MESSAGES under
 the base directory, where LL stands for a language, and CC for a country. For
 example, as we have chosen the standard location, /usr/share/locale, for our
-base directory, and for us the language and country strings are ``or'' and
-``IN,'' respectively, we will place hello.mo in /usr/share/locale/or_IN. Note
+base directory, and for us the language and country strings are “or” and
+“IN,” respectively, we will place hello.mo in /usr/share/locale/or_IN. Note
 that you will need super-user privilege to copy hello.mo to this system
 directory. Thus,
 <PRE><FONT color="red">
@@ -376,30 +376,30 @@ terminal emulator) are Unicode-aware. I will focus on gnome-terminal as it
 seems to have better support for internationalization. gnome-terminal needs to
 be told that the bytes arriving are UTF-8 encoded multibyte sequences. This
 can be done by (a) choosing Terminal <TT>-&gt;</TT> Character Coding <TT>-&gt;</TT>
-Unicode (UTF-8), or (b) typing ``/bin/echo -n -e
+Unicode (UTF-8), or (b) typing /bin/echo -n -e
 '<!-- MATH
  $\backslash$
  -->
 <SPAN CLASS="MATH">&#92;</SPAN>033%<!-- MATH
  $\backslash$
  -->
-<SPAN CLASS="MATH">&#92;</SPAN>G''' in the terminal, or (c) by running
+<SPAN CLASS="MATH">&#92;</SPAN>G' in the terminal, or (c) by running
 /bin/unicode_start. Likewise, you can revert to the default locale by (a)
 choosing Terminal <TT>-&gt;</TT> Character Coding <TT>-&gt;</TT> Current Locale
-(ISO-8859-1), or (b) ``/bin/echo -n -e '<!-- MATH
+(ISO-8859-1), or (b) /bin/echo -n -e '<!-- MATH
  $\backslash$
  -->
 <SPAN CLASS="MATH">&#92;</SPAN>033%<!-- MATH
  $\backslash$
  -->
-<SPAN CLASS="MATH">&#92;</SPAN>@','' or
+<SPAN CLASS="MATH">&#92;</SPAN>@', or
 (c) by running /bin/unicode_stop. Now, running the example program (after
 compiling with gcc as described in Sec.&nbsp;<A HREF="#sec:simple">2</A>) with,
 <PRE><FONT color="red">
   ./hello
 </FONT></PRE>
 should give you output in Oriya. Please note that conjuncts will most likely
-be displayed with a ``halant'' as the terminal probably does not render Indian
+be displayed with a “halant” as the terminal probably does not render Indian
 language fonts correctly. Also, as most terminal emulators assume fixed-width
 fonts, the results are hardly likely to be aesthetically appealing.
 
@@ -469,7 +469,7 @@ translations into the new template file, viz.,
 </FONT></PRE>
 The -U option updates the existing
 .po file, oriya.po. We could have chosen to instead create a new .po file by
-using ``-o <SPAN CLASS="MATH">&lt;</SPAN>filename<SPAN CLASS="MATH">&gt;</SPAN>'' instead of -U. The updated .po file will still
+using “-o <SPAN CLASS="MATH">&lt;</SPAN>filename<SPAN CLASS="MATH">&gt;</SPAN>” instead of -U. The updated .po file will still
 have the old translations embedded in it, and new entries with untranslated
 <TT>msgid</TT> lines. For us, the new lines in oriya.po will look like,
 <PRE>
@@ -477,9 +477,9 @@ have the old translations embedded in it, and new entries with untranslated
   msgid "How are you?\n"
   msgstr ""
 </PRE>
-For the new translation, we could use, ``&#x0b06;&#x0b2a;&#x0b23;
-&#x0b15;&#x0b3f;&#x0b2a;&#x0b30;&#x0b3f; &#x0b05;&#x0b1b;&#x0b28;&#x0b4d;&#x0b24;&#x0b3f;?'' in
-place of the English phrase ``How are you?'' The updated oriya.po file,
+For the new translation, we could use, &#x0b06;&#x0b2a;&#x0b23;
+&#x0b15;&#x0b3f;&#x0b2a;&#x0b30;&#x0b3f; &#x0b05;&#x0b1b;&#x0b28;&#x0b4d;&#x0b24;&#x0b3f;? in
+place of the English phrase “How are you?” The updated oriya.po file,
 including the translation might look like:
 <PRE>
   # Oriya translations for hello example package.
@@ -572,21 +572,21 @@ A.&nbsp;Nayak, and M.&nbsp;Chand is much appreciated.
 <H1><A NAME="SECTION00070000000000000000">
 The Emacs info browser</A>
 </H1>
-<A NAME="sec:emacs-info"></A>You can start up Emacs from the command-line by typing ``emacs,'' or ``emacs
-<SPAN CLASS="MATH">&lt;</SPAN>filename<SPAN CLASS="MATH">&gt;</SPAN>.'' It can be started from the menu in some desktops, e.g., on
+<A NAME="sec:emacs-info"></A>You can start up Emacs from the command-line by typing “emacs,” or “emacs
+<SPAN CLASS="MATH">&lt;</SPAN>filename<SPAN CLASS="MATH">&gt;</SPAN>. It can be started from the menu in some desktops, e.g., on
 my GNOME desktop, it is under Main Menu <TT>-&gt;</TT> Programming <TT>-&gt;</TT>
 Emacs. If you are unfamiliar with Emacs, a tutorial can be started by typing
-``C-h t'' in an Emacs window, or from the Help item in the menubar at the
-top. Emacs makes extensive use of the Control (sometimes labelled as ``CTRL''
-or ``CTL'') and Meta (sometimes labelled as ``Edit'' or ``Alt'') keys. In
-Emacs parlance, a hyphenated sequence, such as ``C-h'' means to press the
-Control and `h' key simultaneously, while ``C-h t'' would mean to press the
-Control and `h' key together, release them, and press the `t' key. Similarly,
-``M-x'' is used to indicate that the Meta and `x' keys should be pressed at
+“C-h t” in an Emacs window, or from the Help item in the menubar at the
+top. Emacs makes extensive use of the Control (sometimes labelled as “CTRL”
+or “CTL”) and Meta (sometimes labelled as “Edit” or “Alt”) keys. In
+Emacs parlance, a hyphenated sequence, such as “C-h” means to press the
+Control and ‘h’ key simultaneously, while “C-h t” would mean to press the
+Control and ‘h’ key together, release them, and press the ‘t’ key. Similarly,
+“M-x” is used to indicate that the Meta and ‘x’ keys should be pressed at
 the same time.
 
 <P>
-The info browser can be started by typing ``C-h i'' in Emacs. The first time
+The info browser can be started by typing “C-h i” in Emacs. The first time
 you do this, it will briefly list some commands available inside the info
 browser, and present you with a menu of major topics. Each menu item, or
 cross-reference is hyperlinked to the appropriate node, and you can visit that
@@ -597,26 +597,26 @@ you can either scroll down to the line,
   * gettext: (gettext).                          GNU gettext utilities.
 </PRE>
 and visit that node. Or, as it is several pages down, you can locate it using
-``I-search.'' Type ``C-s'' to enter ``I-search'' which will then prompt you
+“I-search.” Type “C-s” to enter “I-search” which will then prompt you
 for a string in the mini-buffer at the bottom of the window. This is an
 incremental search, so that Emacs will keep moving you forward through the
 buffer as you are entering your search string. If you have reached the last
 occurrence of the search string in the current buffer, you will get a message
-saying ``Failing I-search: ...'' on pressing ``C-s.'' At that point, press
-``C-s'' again to resume the search at the beginning of the buffer. Likewise,
-``C-r'' incrementally searches backwards from the present location.
+saying “Failing I-search: ...” on pressing “C-s.” At that point, press
+“C-s” again to resume the search at the beginning of the buffer. Likewise,
+“C-r” incrementally searches backwards from the present location.
 
 <P>
-Info nodes are listed in this document with a ``::'' separator, so
+Info nodes are listed in this document with a “::” separator, so
 that one can go to the gettext::Creating::Header Entry:: by visiting the
-``gettext'' node from the main info menu, navigating to the ``Creating''
-node, and following that to the ``Header Entry'' node.
+“gettext” node from the main info menu, navigating to the “Creating”
+node, and following that to the “Header Entry” node.
 
 <P>
 A stand-alone info browser, independent of Emacs, is also available on many
 systems. Thus, the <TT>gettext</TT> info page can also be accessed by typing
-``info gettext'' in a terminal. <TT>xinfo</TT> is an X application serving as an
-info browser, so that if it is installed, typing ``xinfo gettext'' from the
+“info gettext” in a terminal. <TT>xinfo</TT> is an X application serving as an
+info browser, so that if it is installed, typing “xinfo gettext” from the
 command line will open a new browser window with the <TT>gettext</TT> info page.
 
 <P>
@@ -636,10 +636,10 @@ settling on one. The ones considered here are: Emacs in po-mode, <TT>poedit</TT>
 Emacs PO mode</A>
 </H2>
   Emacs should automatically enter po-mode when you load a .po file, as
-indicated by ``PO'' in the modeline at the bottom. The window is made
+indicated by “PO” in the modeline at the bottom. The window is made
 read-only, so that you can edit the .po file only through special commands.  A
 description of Emacs po-mode can be found under the gettext::Basics info node,
-or type `h' or `?' in a po-mode window for a list of available commands. While
+or type ‘h’ or ‘?’ in a po-mode window for a list of available commands. While
 I find Emacs po-mode quite restrictive, this is probably due to unfamiliarity
 with it. Its main advantage is that it imposes rigid conformance to the PO
 file format, and checks the file format when closing the .po file
index e2ed7bb5229563b5c6c37ad8c4fd2133d5010e8c..775e33d6c7e0cbad3b9fce033b182c11a612edfe 100644 (file)
@@ -1,3 +1,36 @@
+2012-01-26  Bruno Haible  <bruno@clisp.org>
+
+       Modernize quoting.
+       * hostname.c (usage): Quote 'like this', not `like this', as per the
+       recent change to the GNU coding standards.
+       * msgattrib.c (usage): Likewise.
+       * msgcat.c (usage): Likewise.
+       * msgcmp.c (usage): Likewise.
+       * msgcomm.c (usage): Likewise.
+       * msgconv.c (usage): Likewise.
+       * msgen.c (usage): Likewise.
+       * msgexec.c (usage): Likewise.
+       * msgfilter.c (usage): Likewise.
+       * msgfmt.c (usage, msgfmt_set_domain, msgfmt_frob_new_message):
+       Likewise.
+       * msggrep.c (usage): Likewise.
+       * msginit.c (usage): Likewise.
+       * msgl-cat.c (catenate_msgdomain_list): Likewise.
+       * msgl-check.c (check_pair, check_header_entry): Likewise.
+       * msgmerge.c (usage): Likewise.
+       * msgunfmt.c (usage): Likewise.
+       * msguniq.c (usage): Likewise.
+       * recode-sr-latin.c (usage): Likewise.
+       * urlget.c (usage): Likewise.
+       * write-po.c (wrap): Likewise.
+       * xgettext.c (main, usage, remember_a_message, construct_header,
+       language_to_extractor): Likewise.
+       * po-gram-gen.y: Likewise.
+       * po-error.h: Likewise.
+       * po-lex.h: Likewise.
+       * read-catalog-abstract.h: Likewise.
+       * x-c.c: Likewise.
+
 2011-10-04  Bruno Haible  <bruno@clisp.org>
 
        xgettext for Scheme: Understand guile 2.0 comment syntax, part 2.
index bbfbd0c6ad91ccdef522ce322d858c7182124b66..76558e0291537981d3c329b15372496239e921ff 100644 (file)
@@ -1,5 +1,5 @@
 /* Display hostname in various forms.
-   Copyright (C) 2001-2003, 2006-2007 Free Software Foundation, Inc.
+   Copyright (C) 2001-2003, 2006-2007, 2012 Free Software Foundation, Inc.
    Written by Bruno Haible <haible@clisp.cons.org>, 2001.
 
    This program is free software: you can redistribute it and/or modify
@@ -204,7 +204,7 @@ static void
 usage (int status)
 {
   if (status != EXIT_SUCCESS)
-    fprintf (stderr, _("Try `%s --help' for more information.\n"),
+    fprintf (stderr, _("Try '%s --help' for more information.\n"),
              program_name);
   else
     {
index 5c24656df7e3c7d5446c005a8af8b1f37234fd75..75a9785257a2cf0cf423963a4e85dc2aa397f839 100644 (file)
@@ -1,5 +1,5 @@
 /* Manipulates attributes of messages in translation catalogs.
-   Copyright (C) 2001-2007, 2009-2010 Free Software Foundation, Inc.
+   Copyright (C) 2001-2007, 2009-2010, 2012 Free Software Foundation, Inc.
    Written by Bruno Haible <haible@clisp.cons.org>, 2001.
 
    This program is free software: you can redistribute it and/or modify
@@ -400,7 +400,7 @@ static void
 usage (int status)
 {
   if (status != EXIT_SUCCESS)
-    fprintf (stderr, _("Try `%s --help' for more information.\n"),
+    fprintf (stderr, _("Try '%s --help' for more information.\n"),
              program_name);
   else
     {
index 948cbb01f77d453ca46261d819ba48542a093b24..7c36730f233d16184e4610d09777556002f45c6f 100644 (file)
@@ -1,5 +1,5 @@
 /* Concatenates several translation catalogs.
-   Copyright (C) 2001-2007, 2009-2011 Free Software Foundation, Inc.
+   Copyright (C) 2001-2007, 2009-2012 Free Software Foundation, Inc.
    Written by Bruno Haible <haible@clisp.cons.org>, 2001.
 
    This program is free software: you can redistribute it and/or modify
@@ -359,7 +359,7 @@ static void
 usage (int status)
 {
   if (status != EXIT_SUCCESS)
-    fprintf (stderr, _("Try `%s --help' for more information.\n"),
+    fprintf (stderr, _("Try '%s --help' for more information.\n"),
              program_name);
   else
     {
index 9166b119515b39413d978e04d02b84ceda4fa2f0..f82131d743b9fee6cd9042954a2f663761e4d47e 100644 (file)
@@ -1,5 +1,5 @@
 /* GNU gettext - internationalization aids
-   Copyright (C) 1995-1998, 2000-2010 Free Software Foundation, Inc.
+   Copyright (C) 1995-1998, 2000-2010, 2012 Free Software Foundation, Inc.
    This file was written by Peter Miller <millerp@canb.auug.org.au>
 
    This program is free software: you can redistribute it and/or modify
@@ -206,7 +206,7 @@ static void
 usage (int status)
 {
   if (status != EXIT_SUCCESS)
-    fprintf (stderr, _("Try `%s --help' for more information.\n"),
+    fprintf (stderr, _("Try '%s --help' for more information.\n"),
              program_name);
   else
     {
index ac5e6f9ec6708679b6e0730cf24b64ee276ef38d..e965dba1790215eaf875f6fb8eb607e2d5c507a7 100644 (file)
@@ -1,5 +1,5 @@
 /* GNU gettext - internationalization aids
-   Copyright (C) 1997-1998, 2000-2007, 2009-2011 Free Software Foundation, Inc.
+   Copyright (C) 1997-1998, 2000-2007, 2009-2012 Free Software Foundation, Inc.
 
    This file was written by Peter Miller <millerp@canb.auug.org.au>
 
@@ -351,7 +351,7 @@ static void
 usage (int status)
 {
   if (status != EXIT_SUCCESS)
-    fprintf (stderr, _("Try `%s --help' for more information.\n"),
+    fprintf (stderr, _("Try '%s --help' for more information.\n"),
              program_name);
   else
     {
@@ -449,7 +449,7 @@ Output details:\n"));
       printf (_("\
   -F, --sort-by-file          sort output by file location\n"));
       printf (_("\
-      --omit-header           don't write header with `msgid \"\"' entry\n"));
+      --omit-header           don't write header with 'msgid \"\"' entry\n"));
       printf ("\n");
       printf (_("\
 Informative output:\n"));
index b6df3f29f46cd3adf683831d42c39516fc9cb182..af1361aadb41c094221f11c32b9bcde829e83417 100644 (file)
@@ -1,5 +1,5 @@
 /* Converts a translation catalog to a different character encoding.
-   Copyright (C) 2001-2007, 2009-2010 Free Software Foundation, Inc.
+   Copyright (C) 2001-2007, 2009-2010, 2012 Free Software Foundation, Inc.
    Written by Bruno Haible <haible@clisp.cons.org>, 2001.
 
    This program is free software: you can redistribute it and/or modify
@@ -295,7 +295,7 @@ static void
 usage (int status)
 {
   if (status != EXIT_SUCCESS)
-    fprintf (stderr, _("Try `%s --help' for more information.\n"),
+    fprintf (stderr, _("Try '%s --help' for more information.\n"),
              program_name);
   else
     {
index 7a6ce2b6b678f55f6d393356b28cd357fc85dff3..2ec3d5e133b41661148fef08e78685eb035a6a20 100644 (file)
@@ -1,5 +1,5 @@
 /* Creates an English translation catalog.
-   Copyright (C) 2001-2007, 2009-2010 Free Software Foundation, Inc.
+   Copyright (C) 2001-2007, 2009-2010, 2012 Free Software Foundation, Inc.
    Written by Bruno Haible <haible@clisp.cons.org>, 2001.
 
    This program is free software: you can redistribute it and/or modify
@@ -291,7 +291,7 @@ static void
 usage (int status)
 {
   if (status != EXIT_SUCCESS)
-    fprintf (stderr, _("Try `%s --help' for more information.\n"),
+    fprintf (stderr, _("Try '%s --help' for more information.\n"),
              program_name);
   else
     {
index 466d3f62573f4e41c77a85712894f080e19163a5..c46ca7f7221ab90ce97a7369ead6a9f55f0326e2 100644 (file)
@@ -1,5 +1,5 @@
 /* Pass translations to a subprocess.
-   Copyright (C) 2001-2011 Free Software Foundation, Inc.
+   Copyright (C) 2001-2012 Free Software Foundation, Inc.
    Written by Bruno Haible <haible@clisp.cons.org>, 2001.
 
    This program is free software: you can redistribute it and/or modify
@@ -250,7 +250,7 @@ static void
 usage (int status)
 {
   if (status != EXIT_SUCCESS)
-    fprintf (stderr, _("Try `%s --help' for more information.\n"),
+    fprintf (stderr, _("Try '%s --help' for more information.\n"),
              program_name);
   else
     {
index e29ad029b28321d0fb94c6e15d8ca74568859126..c414140ba061f41150965844676c3340d7e2ea52 100644 (file)
@@ -1,5 +1,5 @@
 /* Edit translations using a subprocess.
-   Copyright (C) 2001-2010 Free Software Foundation, Inc.
+   Copyright (C) 2001-2010, 2012 Free Software Foundation, Inc.
    Written by Bruno Haible <haible@clisp.cons.org>, 2001.
 
    This program is free software: you can redistribute it and/or modify
@@ -381,7 +381,7 @@ static void
 usage (int status)
 {
   if (status != EXIT_SUCCESS)
-    fprintf (stderr, _("Try `%s --help' for more information.\n"),
+    fprintf (stderr, _("Try '%s --help' for more information.\n"),
              program_name);
   else
     {
index 447163dd2e3f9f4cb042871086b41e4e3ebb24d6..0a5956ead58379c4f29ed6fda368b1e78049a9b7 100644 (file)
@@ -1,5 +1,5 @@
 /* Converts Uniforum style .po files to binary .mo files
-   Copyright (C) 1995-1998, 2000-2007, 2009-2010 Free Software Foundation, Inc.
+   Copyright (C) 1995-1998, 2000-2007, 2009-2010, 2012 Free Software Foundation, Inc.
    Written by Ulrich Drepper <drepper@gnu.ai.mit.edu>, April 1995.
 
    This program is free software: you can redistribute it and/or modify
@@ -647,7 +647,7 @@ static void
 usage (int status)
 {
   if (status != EXIT_SUCCESS)
-    fprintf (stderr, _("Try `%s --help' for more information.\n"),
+    fprintf (stderr, _("Try '%s --help' for more information.\n"),
              program_name);
   else
     {
@@ -917,7 +917,7 @@ warning: older versions of msgfmt will give an error on this\n")));
 static void
 msgfmt_set_domain (default_catalog_reader_ty *this, char *name)
 {
-  /* If no output file was given, we change it with each `domain'
+  /* If no output file was given, we change it with each 'domain'
      directive.  */
   if (!java_mode && !csharp_mode && !csharp_resources_mode && !tcl_mode
       && !qt_mode && output_file_name == NULL)
@@ -949,7 +949,7 @@ domain name \"%s\" not suitable as file name: will use prefix"), name);
     {
       if (check_domain)
         po_gram_error_at_line (&gram_pos,
-                               _("`domain %s' directive ignored"), name);
+                               _("'domain %s' directive ignored"), name);
 
       /* NAME was allocated in po-gram-gen.y but is not used anywhere.  */
       free (name);
@@ -1009,8 +1009,8 @@ msgfmt_frob_new_message (default_catalog_reader_ty *that, message_ty *mp,
               error_with_progname = false;
               error_at_line (0, 0, mp->pos.file_name, mp->pos.line_number,
                              (mp->msgstr[0] == '\0'
-                              ? _("empty `msgstr' entry ignored")
-                              : _("fuzzy `msgstr' entry ignored")));
+                              ? _("empty 'msgstr' entry ignored")
+                              : _("fuzzy 'msgstr' entry ignored")));
               error_with_progname = true;
             }
 
@@ -1043,7 +1043,7 @@ msgfmt_frob_new_message (default_catalog_reader_ty *that, message_ty *mp,
 }
 
 
-/* Test for `#, fuzzy' comments and warn.  */
+/* Test for '#, fuzzy' comments and warn.  */
 static void
 msgfmt_comment_special (abstract_catalog_reader_ty *that, const char *s)
 {
index dae0197314b1f779df73517fb238ac2bd137d251..3b12e9385a57e84240126fcb9bb0729607f243fb 100644 (file)
@@ -1,5 +1,5 @@
 /* Extract some translations of a translation catalog.
-   Copyright (C) 2001-2007, 2009-2010 Free Software Foundation, Inc.
+   Copyright (C) 2001-2007, 2009-2010, 2012 Free Software Foundation, Inc.
    Written by Bruno Haible <haible@clisp.cons.org>, 2001.
 
    This program is free software: you can redistribute it and/or modify
@@ -504,7 +504,7 @@ static void
 usage (int status)
 {
   if (status != EXIT_SUCCESS)
-    fprintf (stderr, _("Try `%s --help' for more information.\n"),
+    fprintf (stderr, _("Try '%s --help' for more information.\n"),
              program_name);
   else
     {
index 218c278ae0953ba69fada49001437f799a0ba93f..abcddf0d6f34fb117d0e0d34e098aa1f23758238 100644 (file)
@@ -1,5 +1,5 @@
 /* Initializes a new PO file.
-   Copyright (C) 2001-2011 Free Software Foundation, Inc.
+   Copyright (C) 2001-2012 Free Software Foundation, Inc.
    Written by Bruno Haible <haible@clisp.cons.org>, 2001.
 
    This program is free software: you can redistribute it and/or modify
@@ -355,7 +355,7 @@ static void
 usage (int status)
 {
   if (status != EXIT_SUCCESS)
-    fprintf (stderr, _("Try `%s --help' for more information.\n"),
+    fprintf (stderr, _("Try '%s --help' for more information.\n"),
              program_name);
   else
     {
index 4e243419a619fa34b13a52613959cd39024f53a8..0bd58d4ac4cdd20800a4e22b14cae893841b9a60 100644 (file)
@@ -1,5 +1,5 @@
 /* Message list concatenation and duplicate handling.
-   Copyright (C) 2001-2003, 2005-2008 Free Software Foundation, Inc.
+   Copyright (C) 2001-2003, 2005-2008, 2012 Free Software Foundation, Inc.
    Written by Bruno Haible <haible@clisp.cons.org>, 2001.
 
    This program is free software: you can redistribute it and/or modify
@@ -201,11 +201,11 @@ two different charsets \"%s\" and \"%s\" in input file"),
                     {
                       if (k == 0)
                         error (EXIT_FAILURE, 0, _("\
-input file `%s' doesn't contain a header entry with a charset specification"),
+input file '%s' doesn't contain a header entry with a charset specification"),
                                files[n]);
                       else
                         error (EXIT_FAILURE, 0, _("\
-domain \"%s\" in input file `%s' doesn't contain a header entry with a charset specification"),
+domain \"%s\" in input file '%s' doesn't contain a header entry with a charset specification"),
                                mdlp->item[k]->domain, files[n]);
                     }
                 }
index 017ea0a6ff07158128813d314811ca5058afcb42..3aa526db79ab68d1cb7d5abb167282ff3b843348 100644 (file)
@@ -1,5 +1,5 @@
 /* Checking of messages in PO files.
-   Copyright (C) 1995-1998, 2000-2008, 2010-2011 Free Software Foundation, Inc.
+   Copyright (C) 1995-1998, 2000-2008, 2010-2012 Free Software Foundation, Inc.
    Written by Ulrich Drepper <drepper@gnu.ai.mit.edu>, April 1995.
 
    This program is free software: you can redistribute it and/or modify
@@ -609,7 +609,7 @@ check_pair (const message_ty *mp,
               po_xerror (PO_SEVERITY_ERROR,
                          mp, msgid_pos->file_name, msgid_pos->line_number,
                          (size_t)(-1), false, _("\
-`msgid' and `msgid_plural' entries do not both begin with '\\n'"));
+'msgid' and 'msgid_plural' entries do not both begin with '\\n'"));
               seen_errors++;
             }
           for (p = msgstr, j = 0; p < msgstr + msgstr_len; p += strlen (p) + 1, j++)
@@ -617,7 +617,7 @@ check_pair (const message_ty *mp,
               {
                 char *msg =
                   xasprintf (_("\
-`msgid' and `msgstr[%u]' entries do not both begin with '\\n'"), j);
+'msgid' and 'msgstr[%u]' entries do not both begin with '\\n'"), j);
                 po_xerror (PO_SEVERITY_ERROR,
                            mp, msgid_pos->file_name, msgid_pos->line_number,
                            (size_t)(-1), false, msg);
@@ -632,7 +632,7 @@ check_pair (const message_ty *mp,
               po_xerror (PO_SEVERITY_ERROR,
                          mp, msgid_pos->file_name, msgid_pos->line_number,
                          (size_t)(-1), false, _("\
-`msgid' and `msgstr' entries do not both begin with '\\n'"));
+'msgid' and 'msgstr' entries do not both begin with '\\n'"));
               seen_errors++;
             }
         }
@@ -650,7 +650,7 @@ check_pair (const message_ty *mp,
               po_xerror (PO_SEVERITY_ERROR,
                          mp, msgid_pos->file_name, msgid_pos->line_number,
                          (size_t)(-1), false, _("\
-`msgid' and `msgid_plural' entries do not both end with '\\n'"));
+'msgid' and 'msgid_plural' entries do not both end with '\\n'"));
               seen_errors++;
             }
           for (p = msgstr, j = 0; p < msgstr + msgstr_len; p += strlen (p) + 1, j++)
@@ -658,7 +658,7 @@ check_pair (const message_ty *mp,
               {
                 char *msg =
                   xasprintf (_("\
-`msgid' and `msgstr[%u]' entries do not both end with '\\n'"), j);
+'msgid' and 'msgstr[%u]' entries do not both end with '\\n'"), j);
                 po_xerror (PO_SEVERITY_ERROR,
                            mp, msgid_pos->file_name, msgid_pos->line_number,
                            (size_t)(-1), false, msg);
@@ -673,7 +673,7 @@ check_pair (const message_ty *mp,
               po_xerror (PO_SEVERITY_ERROR,
                          mp, msgid_pos->file_name, msgid_pos->line_number,
                          (size_t)(-1), false, _("\
-`msgid' and `msgstr' entries do not both end with '\\n'"));
+'msgid' and 'msgstr' entries do not both end with '\\n'"));
               seen_errors++;
             }
         }
@@ -782,7 +782,7 @@ check_header_entry (const message_ty *mp, const char *msgstr_string)
       if (endp == NULL)
         {
           char *msg =
-            xasprintf (_("header field `%s' missing in header\n"),
+            xasprintf (_("header field '%s' missing in header\n"),
                        required_fields[cnt]);
           po_xerror (severity, mp, NULL, 0, 0, true, msg);
           free (msg);
@@ -791,7 +791,7 @@ check_header_entry (const message_ty *mp, const char *msgstr_string)
         {
           char *msg =
             xasprintf (_("\
-header field `%s' should start at beginning of line\n"),
+header field '%s' should start at beginning of line\n"),
                        required_fields[cnt]);
           po_xerror (severity, mp, NULL, 0, 0, true, msg);
           free (msg);
@@ -832,7 +832,7 @@ some header fields still have the initial default value\n"));
       int severity =
         (initial < nrequiredfields ? PO_SEVERITY_ERROR : PO_SEVERITY_WARNING);
       char *msg =
-        xasprintf (_("header field `%s' still has the initial default value\n"),
+        xasprintf (_("header field '%s' still has the initial default value\n"),
                    required_fields[initial]);
       po_xerror (severity, mp, NULL, 0, 0, true, msg);
       free (msg);
index 6fe5fdb55eabace0f628b38b9c7d97d3beaa9849..3f96d3e4a06c65039959cf39dfb230a24be0de0d 100644 (file)
@@ -1,5 +1,5 @@
 /* GNU gettext - internationalization aids
-   Copyright (C) 1995-1998, 2000-2010 Free Software Foundation, Inc.
+   Copyright (C) 1995-1998, 2000-2010, 2012 Free Software Foundation, Inc.
    This file was written by Peter Miller <millerp@canb.auug.org.au>
 
    This program is free software: you can redistribute it and/or modify
@@ -473,7 +473,7 @@ static void
 usage (int status)
 {
   if (status != EXIT_SUCCESS)
-    fprintf (stderr, _("Try `%s --help' for more information.\n"),
+    fprintf (stderr, _("Try '%s --help' for more information.\n"),
              program_name);
   else
     {
@@ -539,7 +539,7 @@ the VERSION_CONTROL environment variable.  Here are the values:\n\
   existing, nil   numbered if numbered backups exist, simple otherwise\n\
   simple, never   always make simple backups\n"));
       printf (_("\
-The backup suffix is `~', unless set with --suffix or the SIMPLE_BACKUP_SUFFIX\n\
+The backup suffix is '~', unless set with --suffix or the SIMPLE_BACKUP_SUFFIX\n\
 environment variable.\n\
 "));
       printf ("\n");
index f101d7fa20a9daa4d7afa7a27c59625348347237..1e6dbd21a4a208b51699c20d5c4965f245050c99 100644 (file)
@@ -1,5 +1,5 @@
 /* msgunfmt - converts binary .mo files to Uniforum style .po files
-   Copyright (C) 1995-1998, 2000-2007, 2009-2010 Free Software Foundation, Inc.
+   Copyright (C) 1995-1998, 2000-2007, 2009-2010, 2012 Free Software Foundation, Inc.
    Written by Ulrich Drepper <drepper@gnu.ai.mit.edu>, April 1995.
 
    This program is free software: you can redistribute it and/or modify
@@ -420,7 +420,7 @@ static void
 usage (int status)
 {
   if (status != EXIT_SUCCESS)
-    fprintf (stderr, _("Try `%s --help' for more information.\n"),
+    fprintf (stderr, _("Try '%s --help' for more information.\n"),
              program_name);
   else
     {
index c58f2ab8305e5631256b80009f2824779ed53289..9f1add6ef686dac2d131e4b9e9358ea596d7bb78 100644 (file)
@@ -1,5 +1,5 @@
 /* Remove, select or merge duplicate translations.
-   Copyright (C) 2001-2007, 2009-2010 Free Software Foundation, Inc.
+   Copyright (C) 2001-2007, 2009-2010, 2012 Free Software Foundation, Inc.
    Written by Bruno Haible <haible@clisp.cons.org>, 2001.
 
    This program is free software: you can redistribute it and/or modify
@@ -318,7 +318,7 @@ static void
 usage (int status)
 {
   if (status != EXIT_SUCCESS)
-    fprintf (stderr, _("Try `%s --help' for more information.\n"),
+    fprintf (stderr, _("Try '%s --help' for more information.\n"),
              program_name);
   else
     {
index 2cae33812262329424e12933f79947d14f59bce2..036a69b2facdb7e918601236d2a266e7bda045f6 100644 (file)
@@ -1,5 +1,5 @@
 /* Error handling during reading and writing of PO files.
-   Copyright (C) 2004, 2006 Free Software Foundation, Inc.
+   Copyright (C) 2004, 2006, 2012 Free Software Foundation, Inc.
    Written by Bruno Haible <bruno@clisp.org>, 2004.
 
    This program is free software: you can redistribute it and/or modify
@@ -23,7 +23,7 @@
 # if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5) || __STRICT_ANSI__
 #  define __attribute__(Spec) /* empty */
 # endif
-/* The __-protected variants of `format' and `printf' attributes
+/* The __-protected variants of 'format' and 'printf' attributes
    are accepted by gcc versions 2.6.4 (effectively 2.7) and later.  */
 # if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 7)
 #  define __format__ format
index fcb7f2dc41ffc7ec6673a3f4ff0441015b21f575..bdc568aab4a77f1ae82d9d6de02f4e91dfe1821a 100644 (file)
@@ -1,5 +1,5 @@
 /* GNU gettext - internationalization aids
-   Copyright (C) 1995-1996, 1998, 2000-2001, 2003, 2005-2006 Free Software Foundation, Inc.
+   Copyright (C) 1995-1996, 1998, 2000-2001, 2003, 2005-2006, 2012 Free Software Foundation, Inc.
 
    This file was written by Peter Miller <pmiller@agso.gov.au>
 
@@ -237,7 +237,7 @@ message
                 {
                   check_obsolete ($1, $2);
                   check_obsolete ($1, $3);
-                  po_gram_error_at_line (&$1.pos, _("missing `msgstr[]' section"));
+                  po_gram_error_at_line (&$1.pos, _("missing 'msgstr[]' section"));
                   free_message_intro ($1);
                   string_list_destroy (&$2.stringlist);
                   free ($3.string);
@@ -246,7 +246,7 @@ message
                 {
                   check_obsolete ($1, $2);
                   check_obsolete ($1, $3);
-                  po_gram_error_at_line (&$1.pos, _("missing `msgid_plural' section"));
+                  po_gram_error_at_line (&$1.pos, _("missing 'msgid_plural' section"));
                   free_message_intro ($1);
                   string_list_destroy (&$2.stringlist);
                   free ($3.rhs.msgstr);
@@ -254,7 +254,7 @@ message
         | message_intro string_list
                 {
                   check_obsolete ($1, $2);
-                  po_gram_error_at_line (&$1.pos, _("missing `msgstr' section"));
+                  po_gram_error_at_line (&$1.pos, _("missing 'msgstr' section"));
                   free_message_intro ($1);
                   string_list_destroy (&$2.stringlist);
                 }
index df8276efa103413af388e68da491d8d562b4acac..da05f3854370e527a92d7b7344ed1ca43e25eb0e 100644 (file)
@@ -1,5 +1,5 @@
 /* GNU gettext - internationalization aids
-   Copyright (C) 1995-1998, 2000-2006 Free Software Foundation, Inc.
+   Copyright (C) 1995-1998, 2000-2006, 2012 Free Software Foundation, Inc.
 
    This file was written by Peter Miller <millerp@canb.auug.org.au>
 
@@ -32,7 +32,7 @@
 # if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5) || __STRICT_ANSI__
 #  define __attribute__(Spec) /* empty */
 # endif
-/* The __-protected variants of `format' and `printf' attributes
+/* The __-protected variants of 'format' and 'printf' attributes
    are accepted by gcc versions 2.6.4 (effectively 2.7) and later.  */
 # if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 7)
 #  define __format__ format
index 318fa68e70882107a87bb4cbb9f35bea27a10fc9..c3fc84ff7338b699b2502e8e35bb7a73f9e1e6c4 100644 (file)
@@ -1,5 +1,5 @@
 /* Reading PO files, abstract class.
-   Copyright (C) 1995-1996, 1998, 2000-2003, 2005-2006, 2008-2009 Free Software Foundation, Inc.
+   Copyright (C) 1995-1996, 1998, 2000-2003, 2005-2006, 2008-2009, 2012 Free Software Foundation, Inc.
 
    This file was written by Peter Miller <millerp@canb.auug.org.au>
 
@@ -112,7 +112,7 @@ struct abstract_catalog_reader_class_ty
 
 /* This next structure defines the base class passed to the methods.
    Derived methods will often need to cast their first argument before
-   using it (this corresponds to the implicit ``this'' argument in C++).
+   using it (this corresponds to the implicit 'this' argument in C++).
 
    When declaring derived classes, use the ABSTRACT_CATALOG_READER_TY define
    at the start of the structure, to declare inherited instance variables,
index 43b3382ae528d39815f82a27854979c1fcd59e75..25b88f6547d5036c023d64efedf64ce822a29e2b 100644 (file)
@@ -1,5 +1,5 @@
 /* Recode Serbian text from Cyrillic to Latin script.
-   Copyright (C) 2006-2007, 2010 Free Software Foundation, Inc.
+   Copyright (C) 2006-2007, 2010, 2012 Free Software Foundation, Inc.
    Written by Bruno Haible <bruno@clisp.org>, 2006.
 
    This program is free software: you can redistribute it and/or modify
@@ -140,7 +140,7 @@ static void
 usage (int status)
 {
   if (status != EXIT_SUCCESS)
-    fprintf (stderr, _("Try `%s --help' for more information.\n"),
+    fprintf (stderr, _("Try '%s --help' for more information.\n"),
              program_name);
   else
     {
index db5a3bd4b08c0ac96b642d562ede358fdf86220b..f3243e1c58340040e706b8cc1af5a4e10ac687b7 100644 (file)
@@ -1,5 +1,5 @@
 /* Get the contents of an URL.
-   Copyright (C) 2001-2003, 2005-2010 Free Software Foundation, Inc.
+   Copyright (C) 2001-2003, 2005-2010, 2012 Free Software Foundation, Inc.
    Written by Bruno Haible <haible@clisp.cons.org>, 2001.
 
    This program is free software: you can redistribute it and/or modify
@@ -169,7 +169,7 @@ static void
 usage (int status)
 {
   if (status != EXIT_SUCCESS)
-    fprintf (stderr, _("Try `%s --help' for more information.\n"),
+    fprintf (stderr, _("Try '%s --help' for more information.\n"),
              program_name);
   else
     {
index dd516f2ccb41c51098da4763619b171b26673289..8cfd7c4212722775559cc8d9d63b54382ac94de2 100644 (file)
@@ -1,5 +1,5 @@
 /* GNU gettext - internationalization aids
-   Copyright (C) 1995-1998, 2000-2010 Free Software Foundation, Inc.
+   Copyright (C) 1995-1998, 2000-2010, 2012 Free Software Foundation, Inc.
 
    This file was written by Peter Miller <millerp@canb.auug.org.au>
 
@@ -801,7 +801,7 @@ wrap (const message_ty *mp, ostream_t stream,
                 {
                   char *error_message =
                     xasprintf (_("\
-internationalized messages should not contain the `\\%c' escape sequence"),
+internationalized messages should not contain the '\\%c' escape sequence"),
                                c);
                   po_xerror (PO_SEVERITY_WARNING, mp, NULL, 0, 0, false,
                              error_message);
index 08a40b5d8ad7013cf05a747216b4afddd83e846a..ea0a874a9f3749d80965416ded10b671dcaa5623 100644 (file)
@@ -1,5 +1,5 @@
 /* xgettext C/C++/ObjectiveC backend.
-   Copyright (C) 1995-1998, 2000-2009 Free Software Foundation, Inc.
+   Copyright (C) 1995-1998, 2000-2009, 2012 Free Software Foundation, Inc.
 
    This file was written by Peter Miller <millerp@canb.auug.org.au>
 
@@ -880,16 +880,16 @@ phase7_getc ()
      between the user requesting a newline in the string (e.g. using
      "\n" or "\012") from the user failing to terminate the string or
      character constant.  The ANSI C standard says: 3.1.3.4 Character
-     Constants contain ``any character except single quote, backslash or
-     newline; or an escape sequence'' and 3.1.4 String Literals contain
-     ``any character except double quote, backslash or newline; or an
-     escape sequence''.
+     Constants contain "any character except single quote, backslash or
+     newline; or an escape sequence" and 3.1.4 String Literals contain
+     "any character except double quote, backslash or newline; or an
+     escape sequence".
 
      Most compilers give a fatal error in this case, however gcc is
      stupidly silent, even though this is a very common typo.  OK, so
-     gcc --pedantic will tell me, but that gripes about too much other
-     stuff.  Could I have a ``gcc -Wnewline-in-string'' option, or
-     better yet a ``gcc -fno-newline-in-string'' option, please?  Gcc is
+     "gcc --pedantic" will tell me, but that gripes about too much other
+     stuff.  Could I have a "gcc -Wnewline-in-string" option, or
+     better yet a "gcc -fno-newline-in-string" option, please?  Gcc is
      also inconsistent between string literals and character constants:
      you may not embed newlines in character constants; try it, you get
      a useful diagnostic.  --PMiller  */
index 3388820a00a2569e1c22e367b1ec91c6a3996b2d..eb3271f52e8dc205d6d418820d0796bbe02008e0 100644 (file)
@@ -1,5 +1,5 @@
 /* Extracts strings from C source file to Uniforum style .po file.
-   Copyright (C) 1995-1998, 2000-2011 Free Software Foundation, Inc.
+   Copyright (C) 1995-1998, 2000-2012 Free Software Foundation, Inc.
    Written by Ulrich Drepper <drepper@gnu.ai.mit.edu>, April 1995.
 
    This program is free software: you can redistribute it and/or modify
@@ -768,7 +768,7 @@ This version was built without iconv()."),
           if (language == NULL)
             {
               error (0, 0, _("\
-warning: file `%s' extension `%s' is unknown; will try C"), filename, extension);
+warning: file '%s' extension '%s' is unknown; will try C"), filename, extension);
               language = "C";
             }
           this_file_extractor = language_to_extractor (language);
@@ -810,7 +810,7 @@ static void
 usage (int status)
 {
   if (status != EXIT_SUCCESS)
-    fprintf (stderr, _("Try `%s --help' for more information.\n"),
+    fprintf (stderr, _("Try '%s --help' for more information.\n"),
              program_name);
   else
     {
@@ -960,7 +960,7 @@ Output details:\n"));
       printf (_("\
   -F, --sort-by-file          sort output by file location\n"));
       printf (_("\
-      --omit-header           don't write header with `msgid \"\"' entry\n"));
+      --omit-header           don't write header with 'msgid \"\"' entry\n"));
       printf (_("\
       --copyright-holder=STRING  set copyright holder in output\n"));
       printf (_("\
@@ -2256,7 +2256,7 @@ meta information, not the empty string.\n")));
         CONVERT_STRING (s, lc_comment);
 
         /* To reduce the possibility of unwanted matches we do a two
-           step match: the line must contain `xgettext:' and one of
+           step match: the line must contain 'xgettext:' and one of
            the possible format description strings.  */
         if ((t = c_strstr (s, "xgettext:")) != NULL)
           {
@@ -3016,7 +3016,7 @@ construct_header ()
     multiline_warning (xasprintf (_("warning: ")),
                        xstrdup (_("\
 The option --msgid-bugs-address was not specified.\n\
-If you are using a `Makevars' file, please specify\n\
+If you are using a 'Makevars' file, please specify\n\
 the MSGID_BUGS_ADDRESS variable there; otherwise please\n\
 specify an --msgid-bugs-address command line option.\n\
 ")));
@@ -3224,7 +3224,7 @@ language_to_extractor (const char *name)
         return result;
       }
 
-  error (EXIT_FAILURE, 0, _("language `%s' unknown"), name);
+  error (EXIT_FAILURE, 0, _("language '%s' unknown"), name);
   /* NOTREACHED */
   {
     extractor_ty result = { NULL, NULL, NULL, NULL };
index f5062e0cc8605593825996c7e9a7dcbe08a9d540..56650b21033aa1b0119985a0e48f14cef7bcebfa 100644 (file)
@@ -1,3 +1,10 @@
+2012-01-26  Bruno Haible  <bruno@clisp.org>
+
+       Modernize quoting.
+       * tstgettext.c (usage): Quote 'like this', not `like this', as per the
+       recent change to the GNU coding standards.
+       * tstngettext.c (usage): Likewise.
+
 2012-01-15  Bruno Haible  <bruno@clisp.org>
 
        Avoid test failure on Solaris 11.
index 2fe52ea901b3092a5eef471ca3bac0a279d0c6c9..8c2020e91a6a81f040c5f289cdc1ca9220fadc50 100644 (file)
@@ -1,5 +1,5 @@
 /* gettext - retrieve text string from message catalog and print it.
-   Copyright (C) 1995-1997, 2000-2007 Free Software Foundation, Inc.
+   Copyright (C) 1995-1997, 2000-2007, 2012 Free Software Foundation, Inc.
    Written by Ulrich Drepper <drepper@gnu.ai.mit.edu>, May 1995.
 
    This program is free software: you can redistribute it and/or modify
@@ -43,7 +43,7 @@
 #define _(str) gettext (str)
 
 /* If true, add newline after last string.  This makes only sense in
-   the `echo' emulation mode.  */
+   the 'echo' emulation mode.  */
 static bool add_newline;
 
 /* If true, expand escape sequences in strings before looking in the
@@ -171,7 +171,7 @@ There is NO WARRANTY, to the extent permitted by law.\n\
     usage (EXIT_SUCCESS);
 
   /* We have two major modes: use following Uniforum spec and as
-     internationalized `echo' program.  */
+     internationalized 'echo' program.  */
   if (!do_shell)
     {
       /* We have to write a single strings translation to stdout.  */
@@ -227,7 +227,7 @@ There is NO WARRANTY, to the extent permitted by law.\n\
             if (domaindir != NULL && domaindir[0] != '\0')
               bindtextdomain (domain, domaindir);
 
-          /* We have to simulate `echo'.  All arguments are strings.  */
+          /* We have to simulate 'echo'.  All arguments are strings.  */
           do
             {
               msgid = argv[optind++];
@@ -261,7 +261,7 @@ static void
 usage (int status)
 {
   if (status != EXIT_SUCCESS)
-    fprintf (stderr, _("Try `%s --help' for more information.\n"),
+    fprintf (stderr, _("Try '%s --help' for more information.\n"),
              program_name);
   else
     {
@@ -292,7 +292,7 @@ If the TEXTDOMAIN parameter is not given, the domain is determined from the\n\
 environment variable TEXTDOMAIN.  If the message catalog is not found in the\n\
 regular directory, another location can be specified with the environment\n\
 variable TEXTDOMAINDIR.\n\
-When used with the -s option the program behaves like the `echo' command.\n\
+When used with the -s option the program behaves like the 'echo' command.\n\
 But it does not simply copy its arguments to stdout.  Instead those messages\n\
 found in the selected catalog are translated.\n\
 Standard search directory: %s\n"),
index 8bf29139813a6ce19fad5a7f8e675f96ab60a05d..097748b48585c8b08e5686e86628ed18703aaec3 100644 (file)
@@ -1,5 +1,5 @@
 /* ngettext - retrieve plural form strings from message catalog and print them.
-   Copyright (C) 1995-1997, 2000-2007 Free Software Foundation, Inc.
+   Copyright (C) 1995-1997, 2000-2007, 2012 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
@@ -200,7 +200,7 @@ static void
 usage (int status)
 {
   if (status != EXIT_SUCCESS)
-    fprintf (stderr, _("Try `%s --help' for more information.\n"),
+    fprintf (stderr, _("Try '%s --help' for more information.\n"),
              program_name);
   else
     {
index ec25bf049479941a2f5f6bf475c7e6d4977b11d8..6080b2d6826fd2afb500b7237459b50e4f0cfd10 100644 (file)
@@ -1,3 +1,12 @@
+2012-01-26  Bruno Haible  <bruno@clisp.org>
+
+       Modernize quoting.
+       * lib/backupfile.c: Quote 'like this', not `like this', as per the
+       recent change to the GNU coding standards.
+       * lib/basename.c: Likewise.
+       * lib/closeout.c: Likewise.
+       * lib/xmalloc.c: Likewise.
+
 2012-01-06  Bruno Haible  <bruno@clisp.org>
 
        Update after gnulib changed.
index d8fb0b675d5b0946aa00e900d3d42533c0b4a62b..9d75b02bb878ac78bfd8edf41f7a9153ddd24e43 100644 (file)
@@ -1,5 +1,5 @@
 /* backupfile.c -- make Emacs style backup file names
-   Copyright (C) 1990-1999, 2000-2003, 2005-2006 Free Software Foundation, Inc.
+   Copyright (C) 1990-1999, 2000-2003, 2005-2006, 2012 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
@@ -57,7 +57,7 @@
    - It's typically faster.
    Posix 1003.2-1992 section 2.5.2.1 page 50 lines 1556-1558 says that
    only '0' through '9' are digits.  Prefer ISDIGIT to isdigit unless
-   it's important to use the locale's definition of `digit' even when the
+   it's important to use the locale's definition of 'digit' even when the
    host does not conform to Posix.  */
 #define ISDIGIT(c) ((unsigned) (c) - '0' <= 9)
 
@@ -90,7 +90,7 @@ find_backup_file_name (const char *file, enum backup_type backup_type)
   char *s;
   const char *suffix = simple_backup_suffix;
 
-  /* Allow room for simple or `.~N~' backups.  */
+  /* Allow room for simple or '.~N~' backups.  */
   backup_suffix_size_max = strlen (simple_backup_suffix) + 1;
   if (HAVE_DIR && backup_suffix_size_max < numbered_suffix_size_max)
     backup_suffix_size_max = numbered_suffix_size_max;
index dcab5e7595864010c1ef339d92769e74400acf0a..5874420c9a05968182288dadcfeb280af838ae82 100644 (file)
@@ -1,5 +1,5 @@
 /* Return the name-within-directory of a file name.
-   Copyright (C) 1996-1999, 2000-2002, 2004, 2006, 2010 Free Software Foundation, Inc.
+   Copyright (C) 1996-1999, 2000-2002, 2004, 2006, 2010, 2012 Free Software Foundation, Inc.
 
    NOTE: The canonical source of this file is maintained with the GNU C Library.
    Bugs can be reported to bug-glibc@gnu.org.
 #endif
 
 #ifndef _LIBC
-/* We cannot generally use the name `basename' since XPG defines an unusable
+/* We cannot generally use the name 'basename' since XPG defines an unusable
    variant of the function but we cannot use it.  */
 # undef basename
 # define basename gnu_basename
 #endif
 
-/* In general, we can't use the builtin `basename' function if available,
+/* In general, we can't use the builtin 'basename' function if available,
    since it has different meanings in different environments.
-   In some environments the builtin `basename' modifies its argument.
-   If NAME is all slashes, be sure to return `/'.  */
+   In some environments the builtin 'basename' modifies its argument.
+   If NAME is all slashes, be sure to return '/'.  */
 
 char *
 basename (char const *name)
@@ -71,7 +71,7 @@ basename (char const *name)
         all_slashes = 0;
     }
 
-  /* If NAME is all slashes, arrange to return `/'.  */
+  /* If NAME is all slashes, arrange to return '/'.  */
   if (*base == '\0' && ISSLASH (*name) && all_slashes)
     --base;
 
index 18080e78e25e96f4a1b1b4c0edc6e6b7ed22e942..20b021d1073e7fd44de63a93734f84abb75ddcd8 100644 (file)
@@ -1,5 +1,5 @@
 /* closeout.c - close standard output and standard error
-   Copyright (C) 1998-2007 Free Software Foundation, Inc.
+   Copyright (C) 1998-2007, 2012 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
@@ -53,7 +53,7 @@
    Likewise for standard error.
 
    It's important to detect such failures and exit nonzero because many
-   tools (most notably `make' and other build-management systems) depend
+   tools (most notably 'make' and other build-management systems) depend
    on being able to detect failure in other tools via their exit status.  */
 
 /* Close standard output and standard error, exiting with status EXIT_FAILURE
index d2a1214dd4cfbb192ec2a0b1242f02c1559fe9a8..223f9943d9ce26cd0c570d7ec647c431f38ae8a0 100644 (file)
@@ -1,5 +1,5 @@
 /* xmalloc.c -- malloc with out of memory checking
-   Copyright (C) 1990-1996, 2000-2003, 2005-2007 Free Software Foundation, Inc.
+   Copyright (C) 1990-1996, 2000-2003, 2005-2007, 2012 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
@@ -35,7 +35,7 @@ void
 xalloc_die ()
 {
   error (xmalloc_exit_failure, 0, _("memory exhausted"));
-  /* The `noreturn' cannot be given to error, since it may return if
+  /* _Noreturn cannot be given to error, since it may return if
      its first argument is 0.  To help compilers understand the
      xalloc_die does terminate, call exit. */
   exit (EXIT_FAILURE);