This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch] Fix configure crash (typos)


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=
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]