[02/20] Fix spelling mistakes in comments in configure scripts

Message ID 1479654381-20698-3-git-send-email-ambrogino.modigliani@mail.com
State New, archived
Headers

Commit Message

Ambrogino Modigliani Nov. 20, 2016, 3:06 p.m. UTC
  All changes are limited to comments, and no run-time behavior is
affected.

bfd/ChangeLog:

        * bfd/configure: Fix spelling in comments.
        * bfd/configure.ac: Fix spelling in comments.

binutils/ChangeLog:

        * binutils/configure: Fix spelling in comments.

gdb/ChangeLog:

        * gdb/configure: Fix spelling in comments.
        * gdb/configure.ac: Fix spelling in comments.

gas/ChangeLog:

        * gas/configure: Fix spelling in comments.

gold/ChangeLog:

        * gold/configure: Fix spelling in comments.

gprof/ChangeLog:

        * gprof/configure: Fix spelling in comments.

ld/ChangeLog:

        * ld/configure: Fix spelling in comments.

libiberty/ChangeLog:

        * libiberty/configure: Fix spelling in comments.
        * libiberty/configure.ac: Fix spelling in comments.

opcodes/ChangeLog:

        * opcodes/configure: Fix spelling in comments.

sim/mips/ChangeLog:

        * sim/mips/configure: Fix spelling in comments.
        * sim/mips/configure.ac: Fix spelling in comments.
---
 bfd/configure          |  4 ++--
 bfd/configure.ac       |  2 +-
 binutils/configure     |  2 +-
 gas/configure          |  2 +-
 gdb/configure          |  2 +-
 gdb/configure.ac       |  2 +-
 gold/configure         |  2 +-
 gprof/configure        |  2 +-
 ld/configure           |  2 +-
 libiberty/configure    | 10 +++++-----
 libiberty/configure.ac | 10 +++++-----
 opcodes/configure      |  2 +-
 sim/mips/configure     |  4 ++--
 sim/mips/configure.ac  |  4 ++--
 14 files changed, 25 insertions(+), 25 deletions(-)
  

Comments

Simon Marchi Nov. 20, 2016, 4:36 p.m. UTC | #1
Hi Ambrogino,

On 2016-11-20 10:06, Ambrogino Modigliani wrote:
> All changes are limited to comments, and no run-time behavior is
> affected.
> 
> bfd/ChangeLog:
> 
>         * bfd/configure: Fix spelling in comments.
>         * bfd/configure.ac: Fix spelling in comments.
> 
> binutils/ChangeLog:
> 
>         * binutils/configure: Fix spelling in comments.
> 
> gdb/ChangeLog:
> 
>         * gdb/configure: Fix spelling in comments.
>         * gdb/configure.ac: Fix spelling in comments.
> 
> gas/ChangeLog:
> 
>         * gas/configure: Fix spelling in comments.
> 
> gold/ChangeLog:
> 
>         * gold/configure: Fix spelling in comments.
> 
> gprof/ChangeLog:
> 
>         * gprof/configure: Fix spelling in comments.
> 
> ld/ChangeLog:
> 
>         * ld/configure: Fix spelling in comments.
> 
> libiberty/ChangeLog:
> 
>         * libiberty/configure: Fix spelling in comments.
>         * libiberty/configure.ac: Fix spelling in comments.
> 
> opcodes/ChangeLog:
> 
>         * opcodes/configure: Fix spelling in comments.
> 
> sim/mips/ChangeLog:
> 
>         * sim/mips/configure: Fix spelling in comments.
>         * sim/mips/configure.ac: Fix spelling in comments.
> ---
>  bfd/configure          |  4 ++--
>  bfd/configure.ac       |  2 +-
>  binutils/configure     |  2 +-
>  gas/configure          |  2 +-
>  gdb/configure          |  2 +-
>  gdb/configure.ac       |  2 +-
>  gold/configure         |  2 +-
>  gprof/configure        |  2 +-
>  ld/configure           |  2 +-
>  libiberty/configure    | 10 +++++-----
>  libiberty/configure.ac | 10 +++++-----
>  opcodes/configure      |  2 +-
>  sim/mips/configure     |  4 ++--
>  sim/mips/configure.ac  |  4 ++--
>  14 files changed, 25 insertions(+), 25 deletions(-)
> 
> diff --git a/bfd/configure b/bfd/configure
> index 68db12f..ab239fe 100755
> --- a/bfd/configure
> +++ b/bfd/configure
> @@ -12291,7 +12291,7 @@ fi
>  rm -f conftest*
> 
> 
> -# Verify CC_FOR_BUILD to be compatible with waring flags
> +# Verify CC_FOR_BUILD to be compatible with warning flags

This line of code (which appears multiple times) actually comes from 
bfd/warning.m4, which you fix in a later patch.  Since "configure" files 
are generated from "configure.ac" files (and indirectly  from other 
input files such as bfd/warning.m4), they shouldn't be edited directly.  
Usually, you edit "configure.ac", and run autoconf (version 2.64) to 
re-generate "configure":

   $ ... edit configure.ac ...
   $ autoconf-2.64
   $ git add configure configure.ac

Your ChangeLog entries can then look like:

         * configure.ac: Fix spelling in comments.
         * configure: Re-generate.

I suggest that you only manually edit "configure.ac" files in this 
patch, and include the relevant changes in "configure" files (by running 
autoconf-2.64).  Then, in your patch about m4 files, you can include the 
changes to "configure" files caused by that patch (found by re-running 
autoconf-2.64 at that point).  autoconf-2.64 is packaged by many 
distributions (such as Debian's package autoconf2.64), but otherwise 
it's easy to build from source.

Thanks,

Simon
  

Patch

diff --git a/bfd/configure b/bfd/configure
index 68db12f..ab239fe 100755
--- a/bfd/configure
+++ b/bfd/configure
@@ -12291,7 +12291,7 @@  fi
 rm -f conftest*
 
 
-# Verify CC_FOR_BUILD to be compatible with waring flags
+# Verify CC_FOR_BUILD to be compatible with warning flags
 
 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -15805,7 +15805,7 @@  fi
 
 
 
-# Determine the host dependant file_ptr a.k.a. off_t type.  In order
+# Determine the host dependent file_ptr a.k.a. off_t type.  In order
 # prefer: off64_t - if ftello64 and fseeko64, off_t - if ftello and
 # fseeko, long.  This assumes that sizeof off_t is .ge. sizeof long.
 # Hopefully a reasonable assumption since fseeko et.al. should be
diff --git a/bfd/configure.ac b/bfd/configure.ac
index 6f11d29..3254dae 100644
--- a/bfd/configure.ac
+++ b/bfd/configure.ac
@@ -1156,7 +1156,7 @@  fi
 AC_SUBST(supports_plugins)
 AC_SUBST(lt_cv_dlopen_libs)
 
-# Determine the host dependant file_ptr a.k.a. off_t type.  In order
+# Determine the host dependent file_ptr a.k.a. off_t type.  In order
 # prefer: off64_t - if ftello64 and fseeko64, off_t - if ftello and
 # fseeko, long.  This assumes that sizeof off_t is .ge. sizeof long.
 # Hopefully a reasonable assumption since fseeko et.al. should be
diff --git a/binutils/configure b/binutils/configure
index 610d07e..fe314e4 100755
--- a/binutils/configure
+++ b/binutils/configure
@@ -11996,7 +11996,7 @@  fi
 rm -f conftest*
 
 
-# Verify CC_FOR_BUILD to be compatible with waring flags
+# Verify CC_FOR_BUILD to be compatible with warning flags
 
 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
diff --git a/gas/configure b/gas/configure
index 08d4ed0..9203320 100755
--- a/gas/configure
+++ b/gas/configure
@@ -11772,7 +11772,7 @@  fi
 rm -f conftest*
 
 
-# Verify CC_FOR_BUILD to be compatible with waring flags
+# Verify CC_FOR_BUILD to be compatible with warning flags
 
 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
diff --git a/gdb/configure b/gdb/configure
index 2abfbff..6df88d9 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -8855,7 +8855,7 @@  fi
 
 # Since GDB uses Readline, we need termcap functionality.  In many
 # cases this will be provided by the curses library, but some systems
-# have a seperate termcap library, or no curses library at all.
+# have a separate termcap library, or no curses library at all.
 
 case $host_os in
   cygwin*)
diff --git a/gdb/configure.ac b/gdb/configure.ac
index 585f147..4b931bf 100644
--- a/gdb/configure.ac
+++ b/gdb/configure.ac
@@ -597,7 +597,7 @@  fi
 
 # Since GDB uses Readline, we need termcap functionality.  In many
 # cases this will be provided by the curses library, but some systems
-# have a seperate termcap library, or no curses library at all.
+# have a separate termcap library, or no curses library at all.
 
 case $host_os in
   cygwin*)
diff --git a/gold/configure b/gold/configure
index a3ed5c9..cb020be 100755
--- a/gold/configure
+++ b/gold/configure
@@ -6774,7 +6774,7 @@  fi
 rm -f conftest*
 
 
-# Verify CC_FOR_BUILD to be compatible with waring flags
+# Verify CC_FOR_BUILD to be compatible with warning flags
 
 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
diff --git a/gprof/configure b/gprof/configure
index 97363ee..0d5f8a2 100755
--- a/gprof/configure
+++ b/gprof/configure
@@ -12152,7 +12152,7 @@  fi
 rm -f conftest*
 
 
-# Verify CC_FOR_BUILD to be compatible with waring flags
+# Verify CC_FOR_BUILD to be compatible with warning flags
 
 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
diff --git a/ld/configure b/ld/configure
index 3f82f35..e6bed08 100755
--- a/ld/configure
+++ b/ld/configure
@@ -15609,7 +15609,7 @@  fi
 rm -f conftest*
 
 
-# Verify CC_FOR_BUILD to be compatible with waring flags
+# Verify CC_FOR_BUILD to be compatible with warning flags
 
 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
diff --git a/libiberty/configure b/libiberty/configure
index 5c4dda5..9227d66 100755
--- a/libiberty/configure
+++ b/libiberty/configure
@@ -5440,7 +5440,7 @@  _ACEOF
 
 
 
-# Check for presense of long long
+# Check for presence of long long
 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
 if test "x$ac_cv_type_long_long" = x""yes; then :
 
@@ -5943,8 +5943,8 @@  _ACEOF
       esac
     done
 
-    # newlib doesnt provide any of the variables in $vars, so we
-    # dont have to check them here.
+    # newlib doesn't provide any of the variables in $vars, so we
+    # don't have to check them here.
 
     # Of the functions in $checkfuncs, newlib only has strerror.
     $as_echo "#define HAVE_STRERROR 1" >>confdefs.h
@@ -6106,8 +6106,8 @@  _ACEOF
       esac
     done
 
-    # Mingw doesnt provide any of the variables in $vars, so we
-    # dont have to check them here.
+    # Mingw doesn't provide any of the variables in $vars, so we
+    # don't have to check them here.
 
     # Of the functions in $checkfuncs, Mingw only has strerror.
     $as_echo "#define HAVE_STRERROR 1" >>confdefs.h
diff --git a/libiberty/configure.ac b/libiberty/configure.ac
index 1aa0c7c..0d2dccd 100644
--- a/libiberty/configure.ac
+++ b/libiberty/configure.ac
@@ -279,7 +279,7 @@  AC_CHECK_SIZEOF([int])
 AC_CHECK_SIZEOF([long])
 AC_CHECK_SIZEOF([size_t])
 
-# Check for presense of long long
+# Check for presence of long long
 AC_CHECK_TYPE([long long],
   [AC_DEFINE(HAVE_LONG_LONG, 1, [Define if you have the `long long' type.]) AC_CHECK_SIZEOF([long long])],
   [])
@@ -457,8 +457,8 @@  if test -n "${with_target_subdir}"; then
       esac
     done
 
-    # newlib doesnt provide any of the variables in $vars, so we
-    # dont have to check them here.
+    # newlib doesn't provide any of the variables in $vars, so we
+    # don't have to check them here.
 
     # Of the functions in $checkfuncs, newlib only has strerror.
     AC_DEFINE(HAVE_STRERROR)
@@ -506,8 +506,8 @@  if test -n "${with_target_subdir}"; then
       esac
     done
 
-    # Mingw doesnt provide any of the variables in $vars, so we
-    # dont have to check them here.
+    # Mingw doesn't provide any of the variables in $vars, so we
+    # don't have to check them here.
 
     # Of the functions in $checkfuncs, Mingw only has strerror.
     AC_DEFINE(HAVE_STRERROR)
diff --git a/opcodes/configure b/opcodes/configure
index 6ef3844..0e1dd18 100755
--- a/opcodes/configure
+++ b/opcodes/configure
@@ -11559,7 +11559,7 @@  fi
 rm -f conftest*
 
 
-# Verify CC_FOR_BUILD to be compatible with waring flags
+# Verify CC_FOR_BUILD to be compatible with warning flags
 
 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
diff --git a/sim/mips/configure b/sim/mips/configure
index 94e75a5..3a86322 100755
--- a/sim/mips/configure
+++ b/sim/mips/configure
@@ -14076,7 +14076,7 @@  __EOF__
   for fc in ${sim_multi_configs}; do
 
     # Split up the entry.  ${c} contains the first three elements.
-    # Note: outer sqaure brackets are m4 quotes.
+    # Note: outer square brackets are m4 quotes.
     c=`echo ${fc} | sed 's/:[^:]*$//'`
     bfdmachs=`echo ${fc} | sed 's/.*://'`
     name=`echo ${c} | sed 's/:.*//'`
@@ -14188,7 +14188,7 @@  __EOF__
   for fc in ${sim_multi_configs}; do
 
     # Split up the entry.  ${c} contains the first three elements.
-    # Note: outer sqaure brackets are m4 quotes.
+    # Note: outer square brackets are m4 quotes.
     c=`echo ${fc} | sed 's/:[^:]*$//'`
     bfdmachs=`echo ${fc} | sed 's/.*://'`
 
diff --git a/sim/mips/configure.ac b/sim/mips/configure.ac
index 823a00c..67a6f25 100644
--- a/sim/mips/configure.ac
+++ b/sim/mips/configure.ac
@@ -272,7 +272,7 @@  __EOF__
   for fc in ${sim_multi_configs}; do
 
     # Split up the entry.  ${c} contains the first three elements.
-    # Note: outer sqaure brackets are m4 quotes.
+    # Note: outer square brackets are m4 quotes.
     c=`echo ${fc} | sed ['s/:[^:]*$//']`
     bfdmachs=`echo ${fc} | sed 's/.*://'`
     name=`echo ${c} | sed 's/:.*//'`
@@ -384,7 +384,7 @@  __EOF__
   for fc in ${sim_multi_configs}; do
 
     # Split up the entry.  ${c} contains the first three elements.
-    # Note: outer sqaure brackets are m4 quotes.
+    # Note: outer square brackets are m4 quotes.
     c=`echo ${fc} | sed ['s/:[^:]*$//']`
     bfdmachs=`echo ${fc} | sed 's/.*://'`