This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch] Fix configure crash (typos)
- From: Tristan Gingold <gingold at adacore dot com>
- To: Matthias Klose <doko at ubuntu dot com>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 14 Sep 2010 10:53:50 +0200
- Subject: Re: [Patch] Fix configure crash (typos)
- References: <7810EB69-02C1-4D54-B5F2-7BBFC986D863@adacore.com>
Matthias,
this looks to be a fallout of your previous patch
( [rfc, patch] PR bootstrap/43847 - fix --enable-plugin for cross builds)
Tristan.
On Sep 14, 2010, at 10:29 AM, Tristan Gingold wrote:
> Hi,
>
> there are some (obvious ?) typos that make gcc/configure crashes when configuring for a cross-compiler.
>
> Ok to commit ?
>
> Tristan.
>
> 2010-09-14 Tristan Gingold <gingold@adacore.com>
>
> * configure.ac (plugins): Fix typos.
> * configure: Regenerate.
>
> diff --git a/gcc/configure.ac b/gcc/configure.ac
> index e02dac9..278cc4f 100644
> --- a/gcc/configure.ac
> +++ b/gcc/configure.ac
> @@ -4644,7 +4644,7 @@ case "${host}" in
> *-*-darwin*)
> if test x$build = x$host; then
> export_sym_check="nm${exeext} -g"
> - elif x$host = x$target; then
> + elif test x$host = x$target; then
> export_sym_check="$gcc_cv_nm -g"
> else
> export_sym_check=
> @@ -4653,7 +4653,7 @@ case "${host}" in
> *)
> if test x$build = x$host; then
> export_sym_check="objdump${exeext} -T"
> - elif x$host = x$target; then
> + elif test x$host = x$target; then
> export_sym_check="$gcc_cv_objdump -T"
> else
> export_sym_check=
>