autoconf-patches
[Top][All Lists]
Advanced

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

[PATCH] maint: spelling fixes


From: Paul Eggert
Subject: [PATCH] maint: spelling fixes
Date: Thu, 01 Mar 2012 22:46:56 -0800
User-agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2

I ran my little spell-checking program and pushed the following
as (I hope) obvious.  I took the liberty of replacing "facultative"
with "optional", since I hadn't a clue what "facultative" meant
until I looked it up and it does seem to be a term that's used
in biology rather than in computing.

---
 NEWS                       |    4 ++--
 bin/autom4te.in            |    2 +-
 bin/autoscan.in            |    2 +-
 doc/autoconf.texi          |   28 ++++++++++++++--------------
 lib/Autom4te/General.pm    |    2 +-
 lib/autoconf/autoupdate.m4 |    2 +-
 lib/autoconf/types.m4      |    2 +-
 lib/m4sugar/m4sh.m4        |    2 +-
 lib/m4sugar/m4sugar.m4     |    4 ++--
 tests/Makefile.am          |    2 +-
 tests/atlocal.in           |    2 +-
 tests/autotest.at          |    2 +-
 tests/foreign.at           |    2 +-
 tests/tools.at             |    2 +-
 14 files changed, 29 insertions(+), 29 deletions(-)

diff --git a/NEWS b/NEWS
index f0fbda3..7447229 100644
--- a/NEWS
+++ b/NEWS
@@ -1261,7 +1261,7 @@ Release tips:
 ** Misc.
 
 - config.log
-  Now contains the list of ouput variables and files (AC_SUBST,
+  Now contains the list of output variables and files (AC_SUBST,
   AC_SUBST_FILES).
 
 * Major changes in Autoconf 2.53
@@ -1350,7 +1350,7 @@ Release tips:
 
 - AC_C_BIGENDIAN supports the cross-compiling case.
 - AC_C_BIGENDIAN accepts ACTION-IF-TRUE, ACTION-IF-FALSE, and
-  ACTION-IF-UNKNOWN arguments.  All are facultative, and the default
+  ACTION-IF-UNKNOWN arguments.  All are optional, and the default
   for ACTION-IF-TRUE is to define WORDS_BIGENDIAN like AC_C_BIGENDIAN
   always did.
 - AC_C_LONG_DOUBLE now succeeds only if `long double' has more range or
diff --git a/bin/autom4te.in b/bin/autom4te.in
index 8c7d339..11773c9 100644
--- a/bin/autom4te.in
+++ b/bin/autom4te.in
@@ -838,7 +838,7 @@ EOF
 
   # This is dubious: should we really transform the quadrigraphs in
   # traces?  It might break balanced [ ] etc. in the output.  The
-  # consensus seeems to be that traces are more useful this way.
+  # consensus seems to be that traces are more useful this way.
   while ($_ = $in->getline)
     {
       # It makes no sense to try to transform __oline__.
diff --git a/bin/autoscan.in b/bin/autoscan.in
index 8a4a64d..a67c48d 100644
--- a/bin/autoscan.in
+++ b/bin/autoscan.in
@@ -253,7 +253,7 @@ sub scan_c_file ($)
        {
          $in_comment = 0;
        }
-      # The whole line is inside a commment.
+      # The whole line is inside a comment.
       next if $in_comment;
       # All on one line.
       s,/\*.*?\*/,,g;
diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index 83f24ba..da34a4e 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -1849,8 +1849,8 @@ required macro is @code{AC_OUTPUT} (@pxref{Output}).
 @defmac AC_INIT (@var{package}, @var{version}, @ovar{bug-report}, @
   @ovar{tarname}, @ovar{url})
 @acindex{INIT}
-Process any command-line arguments and perform various initializations
-and verifications.
+Process any command-line arguments and perform initialization
+and verification.
 
 Set the name of the @var{package} and its @var{version}.  These are
 typically used in @option{--version} support, including that of
@@ -2671,7 +2671,7 @@ top-level directory, this is the same as @code{builddir}.
 @defvar top_build_prefix
 @ovindex top_build_prefix
 The relative name of the top level of the current build tree with final
-slash if nonemtpy.  This is the same as @code{top_builddir}, except that
+slash if nonempty.  This is the same as @code{top_builddir}, except that
 it contains zero or more runs of @code{../}, so it should not be
 appended with a slash for concatenation.  This helps for @command{make}
 implementations that otherwise do not treat @file{./file} and @file{file}
@@ -4084,7 +4084,7 @@ place.  Otherwise set @code{LEX} to @samp{lex} and 
@code{LEXLIB} to
 to @samp{:}; for packages that ship the generated @file{file.yy.c}
 alongside the source @file{file.l}, this default allows users without a
 lexer generator to still build the package even if the timestamp for
address@hidden is inadvertantly changed.
address@hidden is inadvertently changed.
 
 Define @code{YYTEXT_POINTER} if @code{yytext} defaults to @samp{char *} instead
 of to @samp{char []}.  Also set output variable @code{LEX_OUTPUT_ROOT} to
@@ -4363,7 +4363,7 @@ set to the absolute name of the candidate program.  If no 
invocation of
 executed.  @var{feature-test} will be run even when
 @address@hidden is set, to provide the ability to
 choose a better candidate found later in @var{path}; to accept the
-current setting and bypass all futher checks, @var{feature-test} can
+current setting and bypass all further checks, @var{feature-test} can
 execute @address@hidden:}.
 
 Note that this macro has some subtle differences from
@@ -8428,7 +8428,7 @@ The extension, or @samp{unknown}, is cached in the
 @code{ac_cv_fc_module_ext} variable.
 @end defmac
 
address@hidden AC_FC_MODULE_FLAG (@ovar{action-if-sucess}, @
address@hidden AC_FC_MODULE_FLAG (@ovar{action-if-success}, @
   @dvar{action-if-failure, AC_MSG_FAILURE})
 @acindex{FC_MODULE_FLAG}
 @caindex fc_module_flag
@@ -8473,7 +8473,7 @@ The substituted value of @code{FC_MODINC} may refer to the
 the significant trailing whitespace in a @file{Makefile}.
 @end defmac
 
address@hidden AC_FC_MODULE_OUTPUT_FLAG (@ovar{action-if-sucess}, @
address@hidden AC_FC_MODULE_OUTPUT_FLAG (@ovar{action-if-success}, @
   @dvar{action-if-failure, AC_MSG_FAILURE})
 @acindex{FC_MODULE_OUTPUT_FLAG}
 @caindex fc_module_output_flag
@@ -9399,7 +9399,7 @@ just-compiled object file @file{conftest.$OBJEXT}.
 This macro uses @code{AC_REQUIRE} for the compiler associated with the
 current language, which means that if the compiler has not yet been
 determined, the compiler determination will be made prior to the body of
-the outermust @code{AC_DEFUN} macro that triggered this macro to
+the outermost @code{AC_DEFUN} macro that triggered this macro to
 expand (@pxref{Expanded Before Required}).
 @end defmac
 
@@ -23787,7 +23787,7 @@ issue.
 @defmac AC_SYS_SIGLIST_DECLARED
 @acindex{SYS_SIGLIST_DECLARED}
 This macro was renamed @code{AC_DECL_SYS_SIGLIST}.  However, even that
-name is obsolete, as the same functionality is now acheived via
+name is obsolete, as the same functionality is now achieved via
 @code{AC_CHECK_DECLS} (@pxref{AC_CHECK_DECLS}).
 @end defmac
 
@@ -23929,7 +23929,7 @@ function returning @code{void}, define 
@code{RETSIGTYPE} to be
 portable to assume C89, and that signal handlers return @code{void},
 without needing to use this macro or @code{RETSIGTYPE}.
 
-When targetting older K&R C, it is possible to define signal handlers as
+When targeting older K&R C, it is possible to define signal handlers as
 returning type @code{RETSIGTYPE}, and omit a return statement:
 
 @example
@@ -25445,7 +25445,7 @@ With Automake, here is a minimal example for inclusion 
in
 validation suite.
 
 @example
-# The `:;' works around a Bash 3.2 bug when the output is not writeable.
+# The `:;' works around a Bash 3.2 bug when the output is not writable.
 $(srcdir)/package.m4: $(top_srcdir)/configure.ac
         :;@{ \
           echo '# Signature of the current package.' && \
@@ -26024,7 +26024,7 @@ is happening, remember that the use of 
@code{AC_COMPILE_IFELSE} includes
 a call to @code{AC_REQUIRE([AC_PROG_CC])} under the hood.  According to
 the documented semantics of @code{AC_REQUIRE}, this means that
 @code{AC_PROG_CC} @emph{must} occur before the body of the outermost
address@hidden, which in this case is @code{BAR}, thus preceeding the
address@hidden, which in this case is @code{BAR}, thus preceding the
 use of @samp{foobar=}.  The older versions of Autoconf were broken with
 regards to the rules of @code{AC_REQUIRE}, which explains why the code
 changed from one over to two copies of @code{AC_PROG_CC} when upgrading
@@ -26572,7 +26572,7 @@ introduced in this document.
 @c  LocalWords:  linux netinet ia Tru XFree DIRENT NDIR dirent ndir multitable
 @c  LocalWords:  NAMLEN strlen namlen MKDEV SYSMACROS makedev RESOLV resolv DNS
 @c  LocalWords:  inet structs NAMESER arpa NETDB netdb UTekV UTS GCC's kB
address@hidden  LocalWords:  STDBOOL BOOL stdbool conformant cplusplus bool 
Bool stdarg tm
address@hidden  LocalWords:  STDBOOL BOOL stdbool cplusplus bool Bool stdarg tm
 @c  LocalWords:  ctype strchr strrchr rindex bcopy memmove memchr WEXITSTATUS
 @c  LocalWords:  WIFEXITED TIOCGWINSZ GWINSZ termios preprocess preprocessable
 @c  LocalWords:  DECLS strdup calloc BLKSIZE blksize RDEV rdev TZNAME tzname pw
@@ -26617,7 +26617,7 @@ introduced in this document.
 @c  LocalWords:  GOBJC OTP ERLC erl valloc decr dumpdef errprint incr
 @c  LocalWords:  esyscmd len maketemp pushdef substr syscmd sysval translit txt
 @c  LocalWords:  sinclude foreach myvar tolower toupper uniq BASENAME STDIN
address@hidden  LocalWords:  Dynix descrips basename aname cname macroexpands 
xno xcheck
address@hidden  LocalWords:  Dynix basename aname cname macroexpands xno xcheck
 @c  LocalWords:  LIBREADLINE lreadline lncurses libreadline
 
 @c Local Variables:
diff --git a/lib/Autom4te/General.pm b/lib/Autom4te/General.pm
index 0f93042..02e3c87 100644
--- a/lib/Autom4te/General.pm
+++ b/lib/Autom4te/General.pm
@@ -76,7 +76,7 @@ my @export_forward_subs =
 =item C<$debug>
 
 Set this variable to 1 if debug messages should be enabled.  Debug
-messages are meant for developpers only, or when tracking down an
+messages are meant for developers only, or when tracking down an
 incorrect execution.
 
 =cut
diff --git a/lib/autoconf/autoupdate.m4 b/lib/autoconf/autoupdate.m4
index c189867..8866d33 100644
--- a/lib/autoconf/autoupdate.m4
+++ b/lib/autoconf/autoupdate.m4
@@ -96,7 +96,7 @@ $2])])
 #
 # Moreover, we have to take care that calls without parameters are
 # expanded to calls without parameters, not with one empty parameter.
-# This is not only an aesthetical improvement of autoupdate, it also
+# This is not only an aesthetic improvement of autoupdate, it also
 # matters with poorly written macros which test for $# = 0.
 #
 m4_define([AU_ALIAS],
diff --git a/lib/autoconf/types.m4 b/lib/autoconf/types.m4
index 9b1d202..18fc175 100644
--- a/lib/autoconf/types.m4
+++ b/lib/autoconf/types.m4
@@ -199,7 +199,7 @@ m4_define([_AC_CHECK_TYPE_OLD],
 # `long', `short', `signed', or `unsigned' followed by characters
 # that are defining types.
 # Because many people have used `off_t' and `size_t' too, they are added
-# for better common-useward backward compatibility.
+# for better common-use backward compatibility.
 m4_define([_AC_CHECK_TYPE_REPLACEMENT_TYPE_P],
 [m4_bmatch([$1],
          
[^\(_Bool\|bool\|char\|double\|float\|int\|long\|short\|\(un\)?signed\|[_a-zA-Z][_a-zA-Z0-9]*_t\)[][_a-zA-Z0-9()
 *]*$],
diff --git a/lib/m4sugar/m4sh.m4 b/lib/m4sugar/m4sh.m4
index 91fc0fb..be013aa 100644
--- a/lib/m4sugar/m4sh.m4
+++ b/lib/m4sugar/m4sh.m4
@@ -1968,7 +1968,7 @@ m4_define([_AS_VAR_ARITH_WORKS],
 # Perform the arithmetic evaluation of the arguments in EXPR, and set
 # contents of the polymorphic shell variable VAR to the result, taking
 # advantage of any shell optimizations that perform arithmetic without
-# forks.  Note that numbers occuring within EXPR must be written in
+# forks.  Note that numbers occurring within EXPR must be written in
 # decimal, and without leading zeroes; variables containing numbers
 # must be expanded prior to arithmetic evaluation; the first argument
 # must not be a negative number; there is no portable equality
diff --git a/lib/m4sugar/m4sugar.m4 b/lib/m4sugar/m4sugar.m4
index d319358..278bc05 100644
--- a/lib/m4sugar/m4sugar.m4
+++ b/lib/m4sugar/m4sugar.m4
@@ -950,7 +950,7 @@ m4_define([m4_make_list], [m4_join([,
 # m4_noquote(STRING)
 # ------------------
 # Return the result of ignoring all quotes in STRING and invoking the
-# macros it contains.  Amongst other things, this is useful for enabling
+# macros it contains.  Among other things, this is useful for enabling
 # macro invocations inside strings with [] blocks (for instance regexps
 # and help-strings).  On the other hand, since all quotes are disabled,
 # any macro expanded during this time that relies on nested [] quoting
@@ -2647,7 +2647,7 @@ dnl prefix1 shorter: pad to length of prefix, and reset 
cursor
 [$2]m4_define([m4_Cursor], m4_Indent)],
              [m4_format([%*s], m4_max([0],
   m4_eval(m4_Indent - m4_Cursor)), [])m4_define([m4_Cursor], m4_Indent)])]],
-dnl now, for each word, compute the curser after the word is output, then
+dnl now, for each word, compute the cursor after the word is output, then
 dnl check if the cursor would exceed the wrap column
 dnl if so, reset cursor, and insert newline and prefix
 dnl if not, insert the separator (usually a space)
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 6e9ce77..c946773 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -130,7 +130,7 @@ atconfig: $(top_builddir)/config.status
 # includes $(TESTSUITE).  This is the Automake rule, plus our
 # dependency, and we silence the warning from 'automake -Wall' by
 # hiding the dependency behind a variable.
-# TODO - fix this if newer automake accomodates the dependency.
+# TODO - fix this if newer automake accommodates the dependency.
 distclean_generic = distclean-generic
 $(distclean_generic): clean-local
 
diff --git a/tests/atlocal.in b/tests/atlocal.in
index 518058c..bf29d1c 100644
--- a/tests/atlocal.in
+++ b/tests/atlocal.in
@@ -34,7 +34,7 @@ else
   func_sanitize_file_name () { echo "$@" | tr -d 
'@ac_cv_unsupported_fs_chars@'; }
 fi
 
-# Can we create directories with trailing whitespaces in their name?
+# Can we create directories with trailing whitespace in their names?
 ac_cv_dir_trailing_space='@ac_cv_dir_trailing_space@'
 if test "$ac_cv_dir_trailing_space" = yes; then
   func_sanitize_dir_name () { echo "$@"; }
diff --git a/tests/autotest.at b/tests/autotest.at
index 41793ab..b56d3f8 100644
--- a/tests/autotest.at
+++ b/tests/autotest.at
@@ -109,7 +109,7 @@ AT_CLEANUP
 # -----------------------------------------
 # Create a test named TITLE that tries compiling SUITE with syntax
 # errors with autotest.  Expect a failed compilation, and grep for
-# MESSAGE occuring within the error output.
+# MESSAGE occurring within the error output.
 m4_define([AT_CHECK_AT_SYNTAX],
 [AT_SETUP([$1])
 AT_CHECK_AT_PREP([micro-suite], [$2], [1], [], [stderr])
diff --git a/tests/foreign.at b/tests/foreign.at
index bba9f3b..7823007 100644
--- a/tests/foreign.at
+++ b/tests/foreign.at
@@ -103,7 +103,7 @@ AC_OUTPUT
 
 AT_DATA([Makefile.in],
 [[SHTOOL = @SHTOOL@
-# fake these, so that we use shtool whereever possible.
+# fake these, so that we use shtool wherever possible.
 INSTALL_PROGRAM = $(ac_install_sh)
 INSTALL_DATA = $(ac_install_sh) -m 644
 prefix = @prefix@
diff --git a/tests/tools.at b/tests/tools.at
index c530321..31d4aad 100644
--- a/tests/tools.at
+++ b/tests/tools.at
@@ -703,7 +703,7 @@ AC_DEFINE([ANT], address@hidden, [The Ant in a 
address@hidden)
 # Yes, that's right: the `middle' part of `acconfig.h' is still before
 # the AH_TOP part.  But so what, you're not supposed to use the two
 # together.
-# Ignore STDERR which is the longuish complaint against autoheader junk
+# Ignore STDERR which is the longish complaint against autoheader junk
 # files.
 AT_CHECK_AUTOHEADER([--force], [], [], [ignore])
 AT_CHECK([cat config.hin], 0,
-- 
1.7.6.5




reply via email to

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