[02/20] Fix spelling mistakes in comments in configure scripts
Commit Message
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
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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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*)
@@ -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*)
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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)
@@ -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
@@ -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/.*://'`
@@ -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/.*://'`